/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for request parameters to ListDomainsForPackage
*
operation. See Also:
AWS
* API Reference
The package for which to list domains.
*/ inline const Aws::String& GetPackageID() const{ return m_packageID; } /** *The package for which to list domains.
*/ inline bool PackageIDHasBeenSet() const { return m_packageIDHasBeenSet; } /** *The package for which to list domains.
*/ inline void SetPackageID(const Aws::String& value) { m_packageIDHasBeenSet = true; m_packageID = value; } /** *The package for which to list domains.
*/ inline void SetPackageID(Aws::String&& value) { m_packageIDHasBeenSet = true; m_packageID = std::move(value); } /** *The package for which to list domains.
*/ inline void SetPackageID(const char* value) { m_packageIDHasBeenSet = true; m_packageID.assign(value); } /** *The package for which to list domains.
*/ inline ListDomainsForPackageRequest& WithPackageID(const Aws::String& value) { SetPackageID(value); return *this;} /** *The package for which to list domains.
*/ inline ListDomainsForPackageRequest& WithPackageID(Aws::String&& value) { SetPackageID(std::move(value)); return *this;} /** *The package for which to list domains.
*/ inline ListDomainsForPackageRequest& WithPackageID(const char* value) { SetPackageID(value); return *this;} /** *Limits results to a maximum number of domains.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *Limits results to a maximum number of domains.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *Limits results to a maximum number of domains.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *Limits results to a maximum number of domains.
*/ inline ListDomainsForPackageRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline ListDomainsForPackageRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline ListDomainsForPackageRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *Used for pagination. Only necessary if a previous API call includes a * non-null NextToken value. If provided, returns results for the next page.
*/ inline ListDomainsForPackageRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_packageID; bool m_packageIDHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws