/** * 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 { namespace ConfigService { namespace Model { /** */ class DescribeConformancePacksRequest : public ConfigServiceRequest { public: AWS_CONFIGSERVICE_API DescribeConformancePacksRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeConformancePacks"; } AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override; AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline const Aws::Vector& GetConformancePackNames() const{ return m_conformancePackNames; } /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline bool ConformancePackNamesHasBeenSet() const { return m_conformancePackNamesHasBeenSet; } /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline void SetConformancePackNames(const Aws::Vector& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames = value; } /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline void SetConformancePackNames(Aws::Vector&& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames = std::move(value); } /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline DescribeConformancePacksRequest& WithConformancePackNames(const Aws::Vector& value) { SetConformancePackNames(value); return *this;} /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline DescribeConformancePacksRequest& WithConformancePackNames(Aws::Vector&& value) { SetConformancePackNames(std::move(value)); return *this;} /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline DescribeConformancePacksRequest& AddConformancePackNames(const Aws::String& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames.push_back(value); return *this; } /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline DescribeConformancePacksRequest& AddConformancePackNames(Aws::String&& value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames.push_back(std::move(value)); return *this; } /** *

Comma-separated list of conformance pack names for which you want details. If * you do not specify any names, Config returns details for all your conformance * packs.

*/ inline DescribeConformancePacksRequest& AddConformancePackNames(const char* value) { m_conformancePackNamesHasBeenSet = true; m_conformancePackNames.push_back(value); return *this; } /** *

The maximum number of conformance packs returned on each page.

*/ inline int GetLimit() const{ return m_limit; } /** *

The maximum number of conformance packs returned on each page.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

The maximum number of conformance packs returned on each page.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

The maximum number of conformance packs returned on each page.

*/ inline DescribeConformancePacksRequest& WithLimit(int value) { SetLimit(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 bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

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_nextTokenHasBeenSet = true; 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_nextTokenHasBeenSet = true; 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_nextTokenHasBeenSet = true; 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 DescribeConformancePacksRequest& 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 DescribeConformancePacksRequest& 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 DescribeConformancePacksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_conformancePackNames; bool m_conformancePackNamesHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws