AWS SDK for C++  1.9.124
AWS SDK for C++
DescribeDimensionResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoT
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetName() const{ return m_name; }
42 
46  inline void SetName(const Aws::String& value) { m_name = value; }
47 
51  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
52 
56  inline void SetName(const char* value) { m_name.assign(value); }
57 
61  inline DescribeDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 
66  inline DescribeDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 
71  inline DescribeDimensionResult& WithName(const char* value) { SetName(value); return *this;}
72 
73 
77  inline const Aws::String& GetArn() const{ return m_arn; }
78 
82  inline void SetArn(const Aws::String& value) { m_arn = value; }
83 
87  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
88 
92  inline void SetArn(const char* value) { m_arn.assign(value); }
93 
97  inline DescribeDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
98 
102  inline DescribeDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
103 
107  inline DescribeDimensionResult& WithArn(const char* value) { SetArn(value); return *this;}
108 
109 
113  inline const DimensionType& GetType() const{ return m_type; }
114 
118  inline void SetType(const DimensionType& value) { m_type = value; }
119 
123  inline void SetType(DimensionType&& value) { m_type = std::move(value); }
124 
128  inline DescribeDimensionResult& WithType(const DimensionType& value) { SetType(value); return *this;}
129 
133  inline DescribeDimensionResult& WithType(DimensionType&& value) { SetType(std::move(value)); return *this;}
134 
135 
140  inline const Aws::Vector<Aws::String>& GetStringValues() const{ return m_stringValues; }
141 
146  inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValues = value; }
147 
152  inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValues = std::move(value); }
153 
158  inline DescribeDimensionResult& WithStringValues(const Aws::Vector<Aws::String>& value) { SetStringValues(value); return *this;}
159 
164  inline DescribeDimensionResult& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
165 
170  inline DescribeDimensionResult& AddStringValues(const Aws::String& value) { m_stringValues.push_back(value); return *this; }
171 
176  inline DescribeDimensionResult& AddStringValues(Aws::String&& value) { m_stringValues.push_back(std::move(value)); return *this; }
177 
182  inline DescribeDimensionResult& AddStringValues(const char* value) { m_stringValues.push_back(value); return *this; }
183 
184 
188  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
189 
193  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
194 
198  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
199 
203  inline DescribeDimensionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
204 
208  inline DescribeDimensionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
209 
210 
214  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
215 
219  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
220 
224  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
225 
229  inline DescribeDimensionResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
230 
234  inline DescribeDimensionResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
235 
236  private:
237 
238  Aws::String m_name;
239 
240  Aws::String m_arn;
241 
242  DimensionType m_type;
243 
244  Aws::Vector<Aws::String> m_stringValues;
245 
246  Aws::Utils::DateTime m_creationDate;
247 
248  Aws::Utils::DateTime m_lastModifiedDate;
249  };
250 
251 } // namespace Model
252 } // namespace IoT
253 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::DescribeDimensionResult::WithArn
DescribeDimensionResult & WithArn(Aws::String &&value)
Definition: DescribeDimensionResult.h:102
Aws::IoT::Model::DescribeDimensionResult::WithName
DescribeDimensionResult & WithName(const char *value)
Definition: DescribeDimensionResult.h:71
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeDimensionResult::DescribeDimensionResult
DescribeDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeDimensionResult::SetStringValues
void SetStringValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeDimensionResult.h:152
Aws::IoT::Model::DescribeDimensionResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: DescribeDimensionResult.h:188
Aws::IoT::Model::DescribeDimensionResult::GetName
const Aws::String & GetName() const
Definition: DescribeDimensionResult.h:41
Aws::IoT::Model::DescribeDimensionResult::GetStringValues
const Aws::Vector< Aws::String > & GetStringValues() const
Definition: DescribeDimensionResult.h:140
DateTime.h
Aws::IoT::Model::DescribeDimensionResult::SetArn
void SetArn(const char *value)
Definition: DescribeDimensionResult.h:92
Aws::IoT::Model::DescribeDimensionResult::AddStringValues
DescribeDimensionResult & AddStringValues(const char *value)
Definition: DescribeDimensionResult.h:182
Aws::IoT::Model::DescribeDimensionResult::SetStringValues
void SetStringValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeDimensionResult.h:146
Aws::IoT::Model::DescribeDimensionResult::WithCreationDate
DescribeDimensionResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeDimensionResult.h:203
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::DescribeDimensionResult::WithName
DescribeDimensionResult & WithName(const Aws::String &value)
Definition: DescribeDimensionResult.h:61
AWSVector.h
DimensionType.h
Aws::IoT::Model::DescribeDimensionResult::AddStringValues
DescribeDimensionResult & AddStringValues(Aws::String &&value)
Definition: DescribeDimensionResult.h:176
Aws::IoT::Model::DescribeDimensionResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeDimensionResult.h:77
Aws::IoT::Model::DescribeDimensionResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: DescribeDimensionResult.h:193
Aws::IoT::Model::DescribeDimensionResult::GetType
const DimensionType & GetType() const
Definition: DescribeDimensionResult.h:113
Aws::IoT::Model::DescribeDimensionResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeDimensionResult.h:219
Aws::IoT::Model::DescribeDimensionResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeDimensionResult.h:224
Aws::IoT::Model::DescribeDimensionResult::AddStringValues
DescribeDimensionResult & AddStringValues(const Aws::String &value)
Definition: DescribeDimensionResult.h:170
Aws::IoT::Model::DescribeDimensionResult::SetName
void SetName(Aws::String &&value)
Definition: DescribeDimensionResult.h:51
Aws::IoT::Model::DescribeDimensionResult::WithType
DescribeDimensionResult & WithType(DimensionType &&value)
Definition: DescribeDimensionResult.h:133
Aws::IoT::Model::DescribeDimensionResult::WithLastModifiedDate
DescribeDimensionResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: DescribeDimensionResult.h:229
Aws::IoT::Model::DescribeDimensionResult::WithArn
DescribeDimensionResult & WithArn(const char *value)
Definition: DescribeDimensionResult.h:107
Aws::IoT::Model::DescribeDimensionResult::WithStringValues
DescribeDimensionResult & WithStringValues(const Aws::Vector< Aws::String > &value)
Definition: DescribeDimensionResult.h:158
Aws::IoT::Model::DescribeDimensionResult::WithType
DescribeDimensionResult & WithType(const DimensionType &value)
Definition: DescribeDimensionResult.h:128
Aws::IoT::Model::DescribeDimensionResult::WithLastModifiedDate
DescribeDimensionResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: DescribeDimensionResult.h:234
Aws::IoT::Model::DescribeDimensionResult::SetName
void SetName(const char *value)
Definition: DescribeDimensionResult.h:56
Aws::IoT::Model::DimensionType
DimensionType
Definition: DimensionType.h:17
Aws::IoT::Model::DescribeDimensionResult::WithStringValues
DescribeDimensionResult & WithStringValues(Aws::Vector< Aws::String > &&value)
Definition: DescribeDimensionResult.h:164
AWSString.h
Aws::IoT::Model::DescribeDimensionResult::SetType
void SetType(const DimensionType &value)
Definition: DescribeDimensionResult.h:118
Aws::IoT::Model::DescribeDimensionResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: DescribeDimensionResult.h:214
Aws::IoT::Model::DescribeDimensionResult::WithArn
DescribeDimensionResult & WithArn(const Aws::String &value)
Definition: DescribeDimensionResult.h:97
Aws::IoT::Model::DescribeDimensionResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeDimensionResult.h:198
Aws::IoT::Model::DescribeDimensionResult::WithName
DescribeDimensionResult & WithName(Aws::String &&value)
Definition: DescribeDimensionResult.h:66
Aws::IoT::Model::DescribeDimensionResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeDimensionResult.h:87
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeDimensionResult::SetType
void SetType(DimensionType &&value)
Definition: DescribeDimensionResult.h:123
Aws::IoT::Model::DescribeDimensionResult::operator=
DescribeDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeDimensionResult::DescribeDimensionResult
DescribeDimensionResult()
Aws::IoT::Model::DescribeDimensionResult
Definition: DescribeDimensionResult.h:31
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DescribeDimensionResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeDimensionResult.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeDimensionResult::SetName
void SetName(const Aws::String &value)
Definition: DescribeDimensionResult.h:46
Aws::IoT::Model::DescribeDimensionResult::WithCreationDate
DescribeDimensionResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: DescribeDimensionResult.h:208
IoT_EXPORTS.h