AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDimensionKeysResult.h
1
6#pragma once
7#include <aws/pi/PI_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/pi/model/ResponsePartitionKey.h>
12#include <aws/pi/model/DimensionKeyDescription.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace PI
28{
29namespace Model
30{
32 {
33 public:
34 AWS_PI_API DescribeDimensionKeysResult() = default;
37
38
40
46 inline const Aws::Utils::DateTime& GetAlignedStartTime() const { return m_alignedStartTime; }
47 template<typename AlignedStartTimeT = Aws::Utils::DateTime>
48 void SetAlignedStartTime(AlignedStartTimeT&& value) { m_alignedStartTimeHasBeenSet = true; m_alignedStartTime = std::forward<AlignedStartTimeT>(value); }
49 template<typename AlignedStartTimeT = Aws::Utils::DateTime>
50 DescribeDimensionKeysResult& WithAlignedStartTime(AlignedStartTimeT&& value) { SetAlignedStartTime(std::forward<AlignedStartTimeT>(value)); return *this;}
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) { m_alignedEndTimeHasBeenSet = true; m_alignedEndTime = std::forward<AlignedEndTimeT>(value); }
63 template<typename AlignedEndTimeT = Aws::Utils::DateTime>
64 DescribeDimensionKeysResult& WithAlignedEndTime(AlignedEndTimeT&& value) { SetAlignedEndTime(std::forward<AlignedEndTimeT>(value)); return *this;}
66
68
73 inline const Aws::Vector<ResponsePartitionKey>& GetPartitionKeys() const { return m_partitionKeys; }
74 template<typename PartitionKeysT = Aws::Vector<ResponsePartitionKey>>
75 void SetPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys = std::forward<PartitionKeysT>(value); }
76 template<typename PartitionKeysT = Aws::Vector<ResponsePartitionKey>>
77 DescribeDimensionKeysResult& WithPartitionKeys(PartitionKeysT&& value) { SetPartitionKeys(std::forward<PartitionKeysT>(value)); return *this;}
78 template<typename PartitionKeysT = ResponsePartitionKey>
79 DescribeDimensionKeysResult& AddPartitionKeys(PartitionKeysT&& value) { m_partitionKeysHasBeenSet = true; m_partitionKeys.emplace_back(std::forward<PartitionKeysT>(value)); return *this; }
81
83
86 inline const Aws::Vector<DimensionKeyDescription>& GetKeys() const { return m_keys; }
87 template<typename KeysT = Aws::Vector<DimensionKeyDescription>>
88 void SetKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys = std::forward<KeysT>(value); }
89 template<typename KeysT = Aws::Vector<DimensionKeyDescription>>
90 DescribeDimensionKeysResult& WithKeys(KeysT&& value) { SetKeys(std::forward<KeysT>(value)); return *this;}
91 template<typename KeysT = DimensionKeyDescription>
92 DescribeDimensionKeysResult& AddKeys(KeysT&& value) { m_keysHasBeenSet = true; m_keys.emplace_back(std::forward<KeysT>(value)); return *this; }
94
96
102 inline const Aws::String& GetNextToken() const { return m_nextToken; }
103 template<typename NextTokenT = Aws::String>
104 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
105 template<typename NextTokenT = Aws::String>
106 DescribeDimensionKeysResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
112 template<typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
114 template<typename RequestIdT = Aws::String>
115 DescribeDimensionKeysResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
117 private:
118
119 Aws::Utils::DateTime m_alignedStartTime{};
120 bool m_alignedStartTimeHasBeenSet = false;
121
122 Aws::Utils::DateTime m_alignedEndTime{};
123 bool m_alignedEndTimeHasBeenSet = false;
124
125 Aws::Vector<ResponsePartitionKey> m_partitionKeys;
126 bool m_partitionKeysHasBeenSet = false;
127
129 bool m_keysHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133
134 Aws::String m_requestId;
135 bool m_requestIdHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace PI
140} // 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