AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
DescribeDimensionResult.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/iot/IoT_EXPORTS.h>
12#include <aws/iot/model/DimensionType.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 IoT {
26namespace Model {
28 public:
29 AWS_IOT_API DescribeDimensionResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
71 inline DimensionType GetType() const { return m_type; }
72 inline void SetType(DimensionType value) {
73 m_typeHasBeenSet = true;
74 m_type = value;
75 }
77 SetType(value);
78 return *this;
79 }
81
83
87 inline const Aws::Vector<Aws::String>& GetStringValues() const { return m_stringValues; }
88 template <typename StringValuesT = Aws::Vector<Aws::String>>
89 void SetStringValues(StringValuesT&& value) {
90 m_stringValuesHasBeenSet = true;
91 m_stringValues = std::forward<StringValuesT>(value);
92 }
93 template <typename StringValuesT = Aws::Vector<Aws::String>>
94 DescribeDimensionResult& WithStringValues(StringValuesT&& value) {
95 SetStringValues(std::forward<StringValuesT>(value));
96 return *this;
97 }
98 template <typename StringValuesT = Aws::String>
99 DescribeDimensionResult& AddStringValues(StringValuesT&& value) {
100 m_stringValuesHasBeenSet = true;
101 m_stringValues.emplace_back(std::forward<StringValuesT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
111 template <typename CreationDateT = Aws::Utils::DateTime>
112 void SetCreationDate(CreationDateT&& value) {
113 m_creationDateHasBeenSet = true;
114 m_creationDate = std::forward<CreationDateT>(value);
115 }
116 template <typename CreationDateT = Aws::Utils::DateTime>
118 SetCreationDate(std::forward<CreationDateT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
128 template <typename LastModifiedDateT = Aws::Utils::DateTime>
129 void SetLastModifiedDate(LastModifiedDateT&& value) {
130 m_lastModifiedDateHasBeenSet = true;
131 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
132 }
133 template <typename LastModifiedDateT = Aws::Utils::DateTime>
134 DescribeDimensionResult& WithLastModifiedDate(LastModifiedDateT&& value) {
135 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
136 return *this;
137 }
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template <typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) {
145 m_requestIdHasBeenSet = true;
146 m_requestId = std::forward<RequestIdT>(value);
147 }
148 template <typename RequestIdT = Aws::String>
150 SetRequestId(std::forward<RequestIdT>(value));
151 return *this;
152 }
154 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
155
156 private:
157 Aws::String m_name;
158
159 Aws::String m_arn;
160
162
163 Aws::Vector<Aws::String> m_stringValues;
164
165 Aws::Utils::DateTime m_creationDate{};
166
167 Aws::Utils::DateTime m_lastModifiedDate{};
168
169 Aws::String m_requestId;
170 Aws::Http::HttpResponseCode m_HttpResponseCode;
171 bool m_nameHasBeenSet = false;
172 bool m_arnHasBeenSet = false;
173 bool m_typeHasBeenSet = false;
174 bool m_stringValuesHasBeenSet = false;
175 bool m_creationDateHasBeenSet = false;
176 bool m_lastModifiedDateHasBeenSet = false;
177 bool m_requestIdHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace IoT
182} // namespace Aws
DescribeDimensionResult & AddStringValues(StringValuesT &&value)
DescribeDimensionResult & WithLastModifiedDate(LastModifiedDateT &&value)
const Aws::Vector< Aws::String > & GetStringValues() const
AWS_IOT_API DescribeDimensionResult()=default
DescribeDimensionResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeDimensionResult & WithType(DimensionType value)
DescribeDimensionResult & WithName(NameT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
DescribeDimensionResult & WithArn(ArnT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API DescribeDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeDimensionResult & WithStringValues(StringValuesT &&value)
DescribeDimensionResult & WithCreationDate(CreationDateT &&value)
AWS_IOT_API DescribeDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue