AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
37
38
40
46 inline const Aws::Utils::DateTime& GetAlignedStartTime() const{ return m_alignedStartTime; }
47 inline void SetAlignedStartTime(const Aws::Utils::DateTime& value) { m_alignedStartTime = value; }
48 inline void SetAlignedStartTime(Aws::Utils::DateTime&& value) { m_alignedStartTime = std::move(value); }
52
54
60 inline const Aws::Utils::DateTime& GetAlignedEndTime() const{ return m_alignedEndTime; }
61 inline void SetAlignedEndTime(const Aws::Utils::DateTime& value) { m_alignedEndTime = value; }
62 inline void SetAlignedEndTime(Aws::Utils::DateTime&& value) { m_alignedEndTime = std::move(value); }
64 inline DescribeDimensionKeysResult& WithAlignedEndTime(Aws::Utils::DateTime&& value) { SetAlignedEndTime(std::move(value)); return *this;}
66
68
73 inline const Aws::Vector<ResponsePartitionKey>& GetPartitionKeys() const{ return m_partitionKeys; }
74 inline void SetPartitionKeys(const Aws::Vector<ResponsePartitionKey>& value) { m_partitionKeys = value; }
75 inline void SetPartitionKeys(Aws::Vector<ResponsePartitionKey>&& value) { m_partitionKeys = std::move(value); }
78 inline DescribeDimensionKeysResult& AddPartitionKeys(const ResponsePartitionKey& value) { m_partitionKeys.push_back(value); return *this; }
79 inline DescribeDimensionKeysResult& AddPartitionKeys(ResponsePartitionKey&& value) { m_partitionKeys.push_back(std::move(value)); return *this; }
81
83
86 inline const Aws::Vector<DimensionKeyDescription>& GetKeys() const{ return m_keys; }
87 inline void SetKeys(const Aws::Vector<DimensionKeyDescription>& value) { m_keys = value; }
88 inline void SetKeys(Aws::Vector<DimensionKeyDescription>&& value) { m_keys = std::move(value); }
90 inline DescribeDimensionKeysResult& WithKeys(Aws::Vector<DimensionKeyDescription>&& value) { SetKeys(std::move(value)); return *this;}
91 inline DescribeDimensionKeysResult& AddKeys(const DimensionKeyDescription& value) { m_keys.push_back(value); return *this; }
92 inline DescribeDimensionKeysResult& AddKeys(DimensionKeyDescription&& value) { m_keys.push_back(std::move(value)); return *this; }
94
96
102 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
103 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
104 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
105 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
106 inline DescribeDimensionKeysResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 inline DescribeDimensionKeysResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 inline DescribeDimensionKeysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const{ return m_requestId; }
114 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
115 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
116 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
117 inline DescribeDimensionKeysResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
118 inline DescribeDimensionKeysResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
119 inline DescribeDimensionKeysResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
121 private:
122
123 Aws::Utils::DateTime m_alignedStartTime;
124
125 Aws::Utils::DateTime m_alignedEndTime;
126
127 Aws::Vector<ResponsePartitionKey> m_partitionKeys;
128
130
131 Aws::String m_nextToken;
132
133 Aws::String m_requestId;
134 };
135
136} // namespace Model
137} // namespace PI
138} // namespace Aws
DescribeDimensionKeysResult & WithAlignedEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetAlignedStartTime() const
DescribeDimensionKeysResult & WithNextToken(const char *value)
void SetKeys(const Aws::Vector< DimensionKeyDescription > &value)
DescribeDimensionKeysResult & AddPartitionKeys(ResponsePartitionKey &&value)
DescribeDimensionKeysResult & WithAlignedStartTime(Aws::Utils::DateTime &&value)
DescribeDimensionKeysResult & WithRequestId(const Aws::String &value)
DescribeDimensionKeysResult & WithRequestId(const char *value)
const Aws::Vector< DimensionKeyDescription > & GetKeys() const
DescribeDimensionKeysResult & WithKeys(Aws::Vector< DimensionKeyDescription > &&value)
DescribeDimensionKeysResult & AddKeys(const DimensionKeyDescription &value)
DescribeDimensionKeysResult & WithNextToken(const Aws::String &value)
DescribeDimensionKeysResult & WithNextToken(Aws::String &&value)
AWS_PI_API DescribeDimensionKeysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetKeys(Aws::Vector< DimensionKeyDescription > &&value)
DescribeDimensionKeysResult & WithPartitionKeys(const Aws::Vector< ResponsePartitionKey > &value)
AWS_PI_API DescribeDimensionKeysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDimensionKeysResult & WithPartitionKeys(Aws::Vector< ResponsePartitionKey > &&value)
const Aws::Utils::DateTime & GetAlignedEndTime() const
void SetPartitionKeys(Aws::Vector< ResponsePartitionKey > &&value)
DescribeDimensionKeysResult & WithAlignedStartTime(const Aws::Utils::DateTime &value)
void SetAlignedEndTime(Aws::Utils::DateTime &&value)
DescribeDimensionKeysResult & AddPartitionKeys(const ResponsePartitionKey &value)
DescribeDimensionKeysResult & WithAlignedEndTime(Aws::Utils::DateTime &&value)
DescribeDimensionKeysResult & WithKeys(const Aws::Vector< DimensionKeyDescription > &value)
void SetAlignedStartTime(const Aws::Utils::DateTime &value)
DescribeDimensionKeysResult & AddKeys(DimensionKeyDescription &&value)
void SetAlignedStartTime(Aws::Utils::DateTime &&value)
void SetAlignedEndTime(const Aws::Utils::DateTime &value)
DescribeDimensionKeysResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ResponsePartitionKey > & GetPartitionKeys() const
void SetPartitionKeys(const Aws::Vector< ResponsePartitionKey > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue