AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeDimensionKeysResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pi/PI_EXPORTS.h>
11#include <aws/pi/model/DimensionKeyDescription.h>
12#include <aws/pi/model/ResponsePartitionKey.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PI {
26namespace Model {
28 public:
29 AWS_PI_API DescribeDimensionKeysResult() = default;
32
34
40 inline const Aws::Utils::DateTime& GetAlignedStartTime() const { return m_alignedStartTime; }
41 template <typename AlignedStartTimeT = Aws::Utils::DateTime>
42 void SetAlignedStartTime(AlignedStartTimeT&& value) {
43 m_alignedStartTimeHasBeenSet = true;
44 m_alignedStartTime = std::forward<AlignedStartTimeT>(value);
45 }
46 template <typename AlignedStartTimeT = Aws::Utils::DateTime>
48 SetAlignedStartTime(std::forward<AlignedStartTimeT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::Utils::DateTime& GetAlignedEndTime() const { return m_alignedEndTime; }
61 template <typename AlignedEndTimeT = Aws::Utils::DateTime>
62 void SetAlignedEndTime(AlignedEndTimeT&& value) {
63 m_alignedEndTimeHasBeenSet = true;
64 m_alignedEndTime = std::forward<AlignedEndTimeT>(value);
65 }
66 template <typename AlignedEndTimeT = Aws::Utils::DateTime>
68 SetAlignedEndTime(std::forward<AlignedEndTimeT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::Vector<ResponsePartitionKey>& GetPartitionKeys() const { return m_partitionKeys; }
80 template <typename PartitionKeysT = Aws::Vector<ResponsePartitionKey>>
81 void SetPartitionKeys(PartitionKeysT&& value) {
82 m_partitionKeysHasBeenSet = true;
83 m_partitionKeys = std::forward<PartitionKeysT>(value);
84 }
85 template <typename PartitionKeysT = Aws::Vector<ResponsePartitionKey>>
87 SetPartitionKeys(std::forward<PartitionKeysT>(value));
88 return *this;
89 }
90 template <typename PartitionKeysT = ResponsePartitionKey>
92 m_partitionKeysHasBeenSet = true;
93 m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::Vector<DimensionKeyDescription>& GetKeys() const { return m_keys; }
103 template <typename KeysT = Aws::Vector<DimensionKeyDescription>>
104 void SetKeys(KeysT&& value) {
105 m_keysHasBeenSet = true;
106 m_keys = std::forward<KeysT>(value);
107 }
108 template <typename KeysT = Aws::Vector<DimensionKeyDescription>>
110 SetKeys(std::forward<KeysT>(value));
111 return *this;
112 }
113 template <typename KeysT = DimensionKeyDescription>
115 m_keysHasBeenSet = true;
116 m_keys.emplace_back(std::forward<KeysT>(value));
117 return *this;
118 }
120
122
128 inline const Aws::String& GetNextToken() const { return m_nextToken; }
129 template <typename NextTokenT = Aws::String>
130 void SetNextToken(NextTokenT&& value) {
131 m_nextTokenHasBeenSet = true;
132 m_nextToken = std::forward<NextTokenT>(value);
133 }
134 template <typename NextTokenT = Aws::String>
136 SetNextToken(std::forward<NextTokenT>(value));
137 return *this;
138 }
140
142
143 inline const Aws::String& GetRequestId() const { return m_requestId; }
144 template <typename RequestIdT = Aws::String>
145 void SetRequestId(RequestIdT&& value) {
146 m_requestIdHasBeenSet = true;
147 m_requestId = std::forward<RequestIdT>(value);
148 }
149 template <typename RequestIdT = Aws::String>
151 SetRequestId(std::forward<RequestIdT>(value));
152 return *this;
153 }
155 private:
156 Aws::Utils::DateTime m_alignedStartTime{};
157
158 Aws::Utils::DateTime m_alignedEndTime{};
159
160 Aws::Vector<ResponsePartitionKey> m_partitionKeys;
161
163
164 Aws::String m_nextToken;
165
166 Aws::String m_requestId;
167 bool m_alignedStartTimeHasBeenSet = false;
168 bool m_alignedEndTimeHasBeenSet = false;
169 bool m_partitionKeysHasBeenSet = false;
170 bool m_keysHasBeenSet = false;
171 bool m_nextTokenHasBeenSet = false;
172 bool m_requestIdHasBeenSet = false;
173};
174
175} // namespace Model
176} // namespace PI
177} // namespace Aws
const Aws::Utils::DateTime & GetAlignedStartTime() const
DescribeDimensionKeysResult & WithPartitionKeys(PartitionKeysT &&value)
DescribeDimensionKeysResult & WithAlignedStartTime(AlignedStartTimeT &&value)
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