AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetAttributeValuesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pricing/PricingRequest.h>
9#include <aws/pricing/Pricing_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Pricing {
15namespace Model {
16
20 public:
21 AWS_PRICING_API GetAttributeValuesRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetAttributeValues"; }
28
29 AWS_PRICING_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetServiceCode() const { return m_serviceCode; }
40 inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
41 template <typename ServiceCodeT = Aws::String>
42 void SetServiceCode(ServiceCodeT&& value) {
43 m_serviceCodeHasBeenSet = true;
44 m_serviceCode = std::forward<ServiceCodeT>(value);
45 }
46 template <typename ServiceCodeT = Aws::String>
48 SetServiceCode(std::forward<ServiceCodeT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetAttributeName() const { return m_attributeName; }
59 inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; }
60 template <typename AttributeNameT = Aws::String>
61 void SetAttributeName(AttributeNameT&& value) {
62 m_attributeNameHasBeenSet = true;
63 m_attributeName = std::forward<AttributeNameT>(value);
64 }
65 template <typename AttributeNameT = Aws::String>
67 SetAttributeName(std::forward<AttributeNameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 template <typename NextTokenT = Aws::String>
80 void SetNextToken(NextTokenT&& value) {
81 m_nextTokenHasBeenSet = true;
82 m_nextToken = std::forward<NextTokenT>(value);
83 }
84 template <typename NextTokenT = Aws::String>
86 SetNextToken(std::forward<NextTokenT>(value));
87 return *this;
88 }
90
92
95 inline int GetMaxResults() const { return m_maxResults; }
96 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
97 inline void SetMaxResults(int value) {
98 m_maxResultsHasBeenSet = true;
99 m_maxResults = value;
100 }
102 SetMaxResults(value);
103 return *this;
104 }
106 private:
107 Aws::String m_serviceCode;
108
109 Aws::String m_attributeName;
110
111 Aws::String m_nextToken;
112
113 int m_maxResults{0};
114 bool m_serviceCodeHasBeenSet = false;
115 bool m_attributeNameHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_maxResultsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Pricing
122} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_PRICING_API Aws::String SerializePayload() const override
AWS_PRICING_API GetAttributeValuesRequest()=default
GetAttributeValuesRequest & WithNextToken(NextTokenT &&value)
GetAttributeValuesRequest & WithMaxResults(int value)
GetAttributeValuesRequest & WithAttributeName(AttributeNameT &&value)
GetAttributeValuesRequest & WithServiceCode(ServiceCodeT &&value)
AWS_PRICING_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String