/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { class DescribeConformancePackStatusResult { public: AWS_CONFIGSERVICE_API DescribeConformancePackStatusResult(); AWS_CONFIGSERVICE_API DescribeConformancePackStatusResult(const Aws::AmazonWebServiceResult& result); AWS_CONFIGSERVICE_API DescribeConformancePackStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of ConformancePackStatusDetail objects.

*/ inline const Aws::Vector& GetConformancePackStatusDetails() const{ return m_conformancePackStatusDetails; } /** *

A list of ConformancePackStatusDetail objects.

*/ inline void SetConformancePackStatusDetails(const Aws::Vector& value) { m_conformancePackStatusDetails = value; } /** *

A list of ConformancePackStatusDetail objects.

*/ inline void SetConformancePackStatusDetails(Aws::Vector&& value) { m_conformancePackStatusDetails = std::move(value); } /** *

A list of ConformancePackStatusDetail objects.

*/ inline DescribeConformancePackStatusResult& WithConformancePackStatusDetails(const Aws::Vector& value) { SetConformancePackStatusDetails(value); return *this;} /** *

A list of ConformancePackStatusDetail objects.

*/ inline DescribeConformancePackStatusResult& WithConformancePackStatusDetails(Aws::Vector&& value) { SetConformancePackStatusDetails(std::move(value)); return *this;} /** *

A list of ConformancePackStatusDetail objects.

*/ inline DescribeConformancePackStatusResult& AddConformancePackStatusDetails(const ConformancePackStatusDetail& value) { m_conformancePackStatusDetails.push_back(value); return *this; } /** *

A list of ConformancePackStatusDetail objects.

*/ inline DescribeConformancePackStatusResult& AddConformancePackStatusDetails(ConformancePackStatusDetail&& value) { m_conformancePackStatusDetails.push_back(std::move(value)); return *this; } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline DescribeConformancePackStatusResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline DescribeConformancePackStatusResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The nextToken string returned in a previous request that you use * to request the next page of results in a paginated response.

*/ inline DescribeConformancePackStatusResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_conformancePackStatusDetails; Aws::String m_nextToken; }; } // namespace Model } // namespace ConfigService } // namespace Aws