AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetDimensionKeyDetailsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/pi/PIRequest.h>
10#include <aws/pi/PI_EXPORTS.h>
11#include <aws/pi/model/ServiceType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace PI {
17namespace Model {
18
22 public:
23 AWS_PI_API GetDimensionKeyDetailsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "GetDimensionKeyDetails"; }
30
31 AWS_PI_API Aws::String SerializePayload() const override;
32
34
36
40 inline ServiceType GetServiceType() const { return m_serviceType; }
41 inline bool ServiceTypeHasBeenSet() const { return m_serviceTypeHasBeenSet; }
42 inline void SetServiceType(ServiceType value) {
43 m_serviceTypeHasBeenSet = true;
44 m_serviceType = value;
45 }
47 SetServiceType(value);
48 return *this;
49 }
51
53
59 inline const Aws::String& GetIdentifier() const { return m_identifier; }
60 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
61 template <typename IdentifierT = Aws::String>
62 void SetIdentifier(IdentifierT&& value) {
63 m_identifierHasBeenSet = true;
64 m_identifier = std::forward<IdentifierT>(value);
65 }
66 template <typename IdentifierT = Aws::String>
68 SetIdentifier(std::forward<IdentifierT>(value));
69 return *this;
70 }
72
74
82 inline const Aws::String& GetGroup() const { return m_group; }
83 inline bool GroupHasBeenSet() const { return m_groupHasBeenSet; }
84 template <typename GroupT = Aws::String>
85 void SetGroup(GroupT&& value) {
86 m_groupHasBeenSet = true;
87 m_group = std::forward<GroupT>(value);
88 }
89 template <typename GroupT = Aws::String>
91 SetGroup(std::forward<GroupT>(value));
92 return *this;
93 }
95
97
111 inline const Aws::String& GetGroupIdentifier() const { return m_groupIdentifier; }
112 inline bool GroupIdentifierHasBeenSet() const { return m_groupIdentifierHasBeenSet; }
113 template <typename GroupIdentifierT = Aws::String>
114 void SetGroupIdentifier(GroupIdentifierT&& value) {
115 m_groupIdentifierHasBeenSet = true;
116 m_groupIdentifier = std::forward<GroupIdentifierT>(value);
117 }
118 template <typename GroupIdentifierT = Aws::String>
120 SetGroupIdentifier(std::forward<GroupIdentifierT>(value));
121 return *this;
122 }
124
126
143 inline const Aws::Vector<Aws::String>& GetRequestedDimensions() const { return m_requestedDimensions; }
144 inline bool RequestedDimensionsHasBeenSet() const { return m_requestedDimensionsHasBeenSet; }
145 template <typename RequestedDimensionsT = Aws::Vector<Aws::String>>
146 void SetRequestedDimensions(RequestedDimensionsT&& value) {
147 m_requestedDimensionsHasBeenSet = true;
148 m_requestedDimensions = std::forward<RequestedDimensionsT>(value);
149 }
150 template <typename RequestedDimensionsT = Aws::Vector<Aws::String>>
152 SetRequestedDimensions(std::forward<RequestedDimensionsT>(value));
153 return *this;
154 }
155 template <typename RequestedDimensionsT = Aws::String>
157 m_requestedDimensionsHasBeenSet = true;
158 m_requestedDimensions.emplace_back(std::forward<RequestedDimensionsT>(value));
159 return *this;
160 }
162 private:
163 ServiceType m_serviceType{ServiceType::NOT_SET};
164
165 Aws::String m_identifier;
166
167 Aws::String m_group;
168
169 Aws::String m_groupIdentifier;
170
171 Aws::Vector<Aws::String> m_requestedDimensions;
172 bool m_serviceTypeHasBeenSet = false;
173 bool m_identifierHasBeenSet = false;
174 bool m_groupHasBeenSet = false;
175 bool m_groupIdentifierHasBeenSet = false;
176 bool m_requestedDimensionsHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace PI
181} // namespace Aws
GetDimensionKeyDetailsRequest & AddRequestedDimensions(RequestedDimensionsT &&value)
virtual const char * GetServiceRequestName() const override
GetDimensionKeyDetailsRequest & WithGroupIdentifier(GroupIdentifierT &&value)
AWS_PI_API Aws::String SerializePayload() const override
GetDimensionKeyDetailsRequest & WithRequestedDimensions(RequestedDimensionsT &&value)
GetDimensionKeyDetailsRequest & WithGroup(GroupT &&value)
GetDimensionKeyDetailsRequest & WithIdentifier(IdentifierT &&value)
AWS_PI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetRequestedDimensions() const
GetDimensionKeyDetailsRequest & WithServiceType(ServiceType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector