AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeDimensionKeysResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/pi/PI_EXPORTS.h>
12#include <aws/pi/model/DimensionKeyDescription.h>
13#include <aws/pi/model/ResponsePartitionKey.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace PI {
27namespace Model {
29 public:
30 AWS_PI_API DescribeDimensionKeysResult() = default;
33
35
41 inline const Aws::Utils::DateTime& GetAlignedStartTime() const { return m_alignedStartTime; }
42 template <typename AlignedStartTimeT = Aws::Utils::DateTime>
43 void SetAlignedStartTime(AlignedStartTimeT&& value) {
44 m_alignedStartTimeHasBeenSet = true;
45 m_alignedStartTime = std::forward<AlignedStartTimeT>(value);
46 }
47 template <typename AlignedStartTimeT = Aws::Utils::DateTime>
49 SetAlignedStartTime(std::forward<AlignedStartTimeT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::Utils::DateTime& GetAlignedEndTime() const { return m_alignedEndTime; }
62 template <typename AlignedEndTimeT = Aws::Utils::DateTime>
63 void SetAlignedEndTime(AlignedEndTimeT&& value) {
64 m_alignedEndTimeHasBeenSet = true;
65 m_alignedEndTime = std::forward<AlignedEndTimeT>(value);
66 }
67 template <typename AlignedEndTimeT = Aws::Utils::DateTime>
69 SetAlignedEndTime(std::forward<AlignedEndTimeT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::Vector<ResponsePartitionKey>& GetPartitionKeys() const { return m_partitionKeys; }
81 template <typename PartitionKeysT = Aws::Vector<ResponsePartitionKey>>
82 void SetPartitionKeys(PartitionKeysT&& value) {
83 m_partitionKeysHasBeenSet = true;
84 m_partitionKeys = std::forward<PartitionKeysT>(value);
85 }
86 template <typename PartitionKeysT = Aws::Vector<ResponsePartitionKey>>
88 SetPartitionKeys(std::forward<PartitionKeysT>(value));
89 return *this;
90 }
91 template <typename PartitionKeysT = ResponsePartitionKey>
93 m_partitionKeysHasBeenSet = true;
94 m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::Vector<DimensionKeyDescription>& GetKeys() const { return m_keys; }
104 template <typename KeysT = Aws::Vector<DimensionKeyDescription>>
105 void SetKeys(KeysT&& value) {
106 m_keysHasBeenSet = true;
107 m_keys = std::forward<KeysT>(value);
108 }
109 template <typename KeysT = Aws::Vector<DimensionKeyDescription>>
111 SetKeys(std::forward<KeysT>(value));
112 return *this;
113 }
114 template <typename KeysT = DimensionKeyDescription>
116 m_keysHasBeenSet = true;
117 m_keys.emplace_back(std::forward<KeysT>(value));
118 return *this;
119 }
121
123
129 inline const Aws::String& GetNextToken() const { return m_nextToken; }
130 template <typename NextTokenT = Aws::String>
131 void SetNextToken(NextTokenT&& value) {
132 m_nextTokenHasBeenSet = true;
133 m_nextToken = std::forward<NextTokenT>(value);
134 }
135 template <typename NextTokenT = Aws::String>
137 SetNextToken(std::forward<NextTokenT>(value));
138 return *this;
139 }
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template <typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) {
147 m_requestIdHasBeenSet = true;
148 m_requestId = std::forward<RequestIdT>(value);
149 }
150 template <typename RequestIdT = Aws::String>
152 SetRequestId(std::forward<RequestIdT>(value));
153 return *this;
154 }
156 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
157
158 private:
159 Aws::Utils::DateTime m_alignedStartTime{};
160
161 Aws::Utils::DateTime m_alignedEndTime{};
162
163 Aws::Vector<ResponsePartitionKey> m_partitionKeys;
164
166
167 Aws::String m_nextToken;
168
169 Aws::String m_requestId;
170 Aws::Http::HttpResponseCode m_HttpResponseCode;
171 bool m_alignedStartTimeHasBeenSet = false;
172 bool m_alignedEndTimeHasBeenSet = false;
173 bool m_partitionKeysHasBeenSet = false;
174 bool m_keysHasBeenSet = false;
175 bool m_nextTokenHasBeenSet = false;
176 bool m_requestIdHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace PI
181} // namespace Aws
const Aws::Utils::DateTime & GetAlignedStartTime() const
DescribeDimensionKeysResult & WithPartitionKeys(PartitionKeysT &&value)
DescribeDimensionKeysResult & WithAlignedStartTime(AlignedStartTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeDimensionKeysResult & AddPartitionKeys(PartitionKeysT &&value)
DescribeDimensionKeysResult & WithNextToken(NextTokenT &&value)
const Aws::Vector< DimensionKeyDescription > & GetKeys() const
AWS_PI_API DescribeDimensionKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDimensionKeysResult & WithRequestId(RequestIdT &&value)
AWS_PI_API DescribeDimensionKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDimensionKeysResult & AddKeys(KeysT &&value)
DescribeDimensionKeysResult & WithAlignedEndTime(AlignedEndTimeT &&value)
const Aws::Utils::DateTime & GetAlignedEndTime() const
DescribeDimensionKeysResult & WithKeys(KeysT &&value)
AWS_PI_API DescribeDimensionKeysResult()=default
const Aws::Vector< ResponsePartitionKey > & GetPartitionKeys() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue