/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Route53 { namespace Model { /** */ class ListCidrBlocksRequest : public Route53Request { public: AWS_ROUTE53_API ListCidrBlocksRequest(); // 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 "ListCidrBlocks"; } AWS_ROUTE53_API Aws::String SerializePayload() const override; AWS_ROUTE53_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The UUID of the CIDR collection.

*/ inline const Aws::String& GetCollectionId() const{ return m_collectionId; } /** *

The UUID of the CIDR collection.

*/ inline bool CollectionIdHasBeenSet() const { return m_collectionIdHasBeenSet; } /** *

The UUID of the CIDR collection.

*/ inline void SetCollectionId(const Aws::String& value) { m_collectionIdHasBeenSet = true; m_collectionId = value; } /** *

The UUID of the CIDR collection.

*/ inline void SetCollectionId(Aws::String&& value) { m_collectionIdHasBeenSet = true; m_collectionId = std::move(value); } /** *

The UUID of the CIDR collection.

*/ inline void SetCollectionId(const char* value) { m_collectionIdHasBeenSet = true; m_collectionId.assign(value); } /** *

The UUID of the CIDR collection.

*/ inline ListCidrBlocksRequest& WithCollectionId(const Aws::String& value) { SetCollectionId(value); return *this;} /** *

The UUID of the CIDR collection.

*/ inline ListCidrBlocksRequest& WithCollectionId(Aws::String&& value) { SetCollectionId(std::move(value)); return *this;} /** *

The UUID of the CIDR collection.

*/ inline ListCidrBlocksRequest& WithCollectionId(const char* value) { SetCollectionId(value); return *this;} /** *

The name of the CIDR collection location.

*/ inline const Aws::String& GetLocationName() const{ return m_locationName; } /** *

The name of the CIDR collection location.

*/ inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; } /** *

The name of the CIDR collection location.

*/ inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; } /** *

The name of the CIDR collection location.

*/ inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); } /** *

The name of the CIDR collection location.

*/ inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); } /** *

The name of the CIDR collection location.

*/ inline ListCidrBlocksRequest& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;} /** *

The name of the CIDR collection location.

*/ inline ListCidrBlocksRequest& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;} /** *

The name of the CIDR collection location.

*/ inline ListCidrBlocksRequest& WithLocationName(const char* value) { SetLocationName(value); return *this;} /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

An opaque pagination token to indicate where the service is to begin * enumerating results.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

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

An opaque pagination token to indicate where the service is to begin * enumerating results.

*/ inline ListCidrBlocksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Maximum number of results you want returned.

*/ inline const Aws::String& GetMaxResults() const{ return m_maxResults; } /** *

Maximum number of results you want returned.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Maximum number of results you want returned.

*/ inline void SetMaxResults(const Aws::String& value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Maximum number of results you want returned.

*/ inline void SetMaxResults(Aws::String&& value) { m_maxResultsHasBeenSet = true; m_maxResults = std::move(value); } /** *

Maximum number of results you want returned.

*/ inline void SetMaxResults(const char* value) { m_maxResultsHasBeenSet = true; m_maxResults.assign(value); } /** *

Maximum number of results you want returned.

*/ inline ListCidrBlocksRequest& WithMaxResults(const Aws::String& value) { SetMaxResults(value); return *this;} /** *

Maximum number of results you want returned.

*/ inline ListCidrBlocksRequest& WithMaxResults(Aws::String&& value) { SetMaxResults(std::move(value)); return *this;} /** *

Maximum number of results you want returned.

*/ inline ListCidrBlocksRequest& WithMaxResults(const char* value) { SetMaxResults(value); return *this;} private: Aws::String m_collectionId; bool m_collectionIdHasBeenSet = false; Aws::String m_locationName; bool m_locationNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws