This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-pricing/include/aws/pricing/model/GetAttributeValuesRequest.h

230 lines
8.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/pricing/Pricing_EXPORTS.h>
#include <aws/pricing/PricingRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Pricing
{
namespace Model
{
/**
*/
class AWS_PRICING_API GetAttributeValuesRequest : public PricingRequest
{
public:
GetAttributeValuesRequest();
// 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 "GetAttributeValues"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline GetAttributeValuesRequest& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline GetAttributeValuesRequest& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
/**
* <p>The service code for the service whose attributes you want to retrieve. For
* example, if you want the retrieve an EC2 attribute, use
* <code>AmazonEC2</code>.</p>
*/
inline GetAttributeValuesRequest& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline const Aws::String& GetAttributeName() const{ return m_attributeName; }
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; }
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); }
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); }
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline GetAttributeValuesRequest& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;}
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline GetAttributeValuesRequest& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;}
/**
* <p>The name of the attribute that you want to retrieve the values for, such as
* <code>volumeType</code>.</p>
*/
inline GetAttributeValuesRequest& WithAttributeName(const char* value) { SetAttributeName(value); return *this;}
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline GetAttributeValuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline GetAttributeValuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The pagination token that indicates the next set of results that you want to
* retrieve.</p>
*/
inline GetAttributeValuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return in response.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return in response.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return in response.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return in response.</p>
*/
inline GetAttributeValuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::String m_serviceCode;
bool m_serviceCodeHasBeenSet;
Aws::String m_attributeName;
bool m_attributeNameHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
};
} // namespace Model
} // namespace Pricing
} // namespace Aws