/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The GetEntitlementsRequest contains parameters for the GetEntitlements
* operation.See Also:
AWS
* API Reference
Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline const Aws::String& GetProductCode() const{ return m_productCode; } /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline bool ProductCodeHasBeenSet() const { return m_productCodeHasBeenSet; } /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline void SetProductCode(const Aws::String& value) { m_productCodeHasBeenSet = true; m_productCode = value; } /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline void SetProductCode(Aws::String&& value) { m_productCodeHasBeenSet = true; m_productCode = std::move(value); } /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline void SetProductCode(const char* value) { m_productCodeHasBeenSet = true; m_productCode.assign(value); } /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline GetEntitlementsRequest& WithProductCode(const Aws::String& value) { SetProductCode(value); return *this;} /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline GetEntitlementsRequest& WithProductCode(Aws::String&& value) { SetProductCode(std::move(value)); return *this;} /** *Product code is used to uniquely identify a product in AWS Marketplace. The * product code will be provided by AWS Marketplace when the product listing is * created.
*/ inline GetEntitlementsRequest& WithProductCode(const char* value) { SetProductCode(value); return *this;} /** *Filter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline const Aws::MapFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *Filter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline void SetFilter(const Aws::MapFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline void SetFilter(Aws::MapFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline GetEntitlementsRequest& WithFilter(const Aws::MapFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline GetEntitlementsRequest& WithFilter(Aws::MapFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline GetEntitlementsRequest& AddFilter(const GetEntitlementFilterName& key, const Aws::VectorFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline GetEntitlementsRequest& AddFilter(GetEntitlementFilterName&& key, const Aws::VectorFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline GetEntitlementsRequest& AddFilter(const GetEntitlementFilterName& key, Aws::VectorFilter is used to return entitlements for a specific customer or for a * specific dimension. Filters are described as keys mapped to a lists of values. * Filtered requests are unioned for each value in the value list, and then * intersected for each filter key.
*/ inline GetEntitlementsRequest& AddFilter(GetEntitlementFilterName&& key, Aws::VectorFor paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline GetEntitlementsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline GetEntitlementsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *For paginated calls to GetEntitlements, pass the NextToken from the previous * GetEntitlementsResult.
*/ inline GetEntitlementsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of items to retrieve from the GetEntitlements operation. * For pagination, use the NextToken field in subsequent calls to * GetEntitlements.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of items to retrieve from the GetEntitlements operation. * For pagination, use the NextToken field in subsequent calls to * GetEntitlements.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of items to retrieve from the GetEntitlements operation. * For pagination, use the NextToken field in subsequent calls to * GetEntitlements.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of items to retrieve from the GetEntitlements operation. * For pagination, use the NextToken field in subsequent calls to * GetEntitlements.
*/ inline GetEntitlementsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_productCode; bool m_productCodeHasBeenSet = false; Aws::Map