AWS SDK for C++  1.9.132
AWS SDK for C++
UpdateDimensionResult.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 UpdateDimensionResult& WithName(const Aws::String& value) { SetName(value); return *this;}
62 
66  inline UpdateDimensionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 
71  inline UpdateDimensionResult& 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 UpdateDimensionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
98 
102  inline UpdateDimensionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
103 
107  inline UpdateDimensionResult& 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 UpdateDimensionResult& WithType(const DimensionType& value) { SetType(value); return *this;}
129 
133  inline UpdateDimensionResult& 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 UpdateDimensionResult& WithStringValues(const Aws::Vector<Aws::String>& value) { SetStringValues(value); return *this;}
159 
164  inline UpdateDimensionResult& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
165 
170  inline UpdateDimensionResult& AddStringValues(const Aws::String& value) { m_stringValues.push_back(value); return *this; }
171 
176  inline UpdateDimensionResult& AddStringValues(Aws::String&& value) { m_stringValues.push_back(std::move(value)); return *this; }
177 
182  inline UpdateDimensionResult& AddStringValues(const char* value) { m_stringValues.push_back(value); return *this; }
183 
184 
189  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
190 
195  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
196 
201  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
202 
207  inline UpdateDimensionResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
208 
213  inline UpdateDimensionResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
214 
215 
220  inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
221 
226  inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
227 
232  inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
233 
238  inline UpdateDimensionResult& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
239 
244  inline UpdateDimensionResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
245 
246  private:
247 
248  Aws::String m_name;
249 
250  Aws::String m_arn;
251 
252  DimensionType m_type;
253 
254  Aws::Vector<Aws::String> m_stringValues;
255 
256  Aws::Utils::DateTime m_creationDate;
257 
258  Aws::Utils::DateTime m_lastModifiedDate;
259  };
260 
261 } // namespace Model
262 } // namespace IoT
263 } // namespace Aws
Aws::IoT::Model::UpdateDimensionResult::WithName
UpdateDimensionResult & WithName(const Aws::String &value)
Definition: UpdateDimensionResult.h:61
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::UpdateDimensionResult::GetLastModifiedDate
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition: UpdateDimensionResult.h:220
Aws::IoT::Model::UpdateDimensionResult::UpdateDimensionResult
UpdateDimensionResult()
Aws::IoT::Model::UpdateDimensionResult::GetName
const Aws::String & GetName() const
Definition: UpdateDimensionResult.h:41
Aws::IoT::Model::UpdateDimensionResult::WithName
UpdateDimensionResult & WithName(const char *value)
Definition: UpdateDimensionResult.h:71
DateTime.h
Aws::IoT::Model::UpdateDimensionResult::SetLastModifiedDate
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: UpdateDimensionResult.h:232
Aws::IoT::Model::UpdateDimensionResult::WithType
UpdateDimensionResult & WithType(DimensionType &&value)
Definition: UpdateDimensionResult.h:133
Aws::IoT::Model::UpdateDimensionResult::WithArn
UpdateDimensionResult & WithArn(const Aws::String &value)
Definition: UpdateDimensionResult.h:97
Aws::IoT::Model::UpdateDimensionResult::SetArn
void SetArn(const Aws::String &value)
Definition: UpdateDimensionResult.h:82
Aws::IoT::Model::UpdateDimensionResult
Definition: UpdateDimensionResult.h:31
Aws::IoT::Model::UpdateDimensionResult::SetName
void SetName(const char *value)
Definition: UpdateDimensionResult.h:56
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::UpdateDimensionResult::GetStringValues
const Aws::Vector< Aws::String > & GetStringValues() const
Definition: UpdateDimensionResult.h:140
Aws::IoT::Model::UpdateDimensionResult::operator=
UpdateDimensionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::UpdateDimensionResult::SetName
void SetName(Aws::String &&value)
Definition: UpdateDimensionResult.h:51
Aws::IoT::Model::UpdateDimensionResult::AddStringValues
UpdateDimensionResult & AddStringValues(const char *value)
Definition: UpdateDimensionResult.h:182
AWSVector.h
Aws::IoT::Model::UpdateDimensionResult::SetType
void SetType(const DimensionType &value)
Definition: UpdateDimensionResult.h:118
DimensionType.h
Aws::IoT::Model::UpdateDimensionResult::WithArn
UpdateDimensionResult & WithArn(const char *value)
Definition: UpdateDimensionResult.h:107
Aws::IoT::Model::UpdateDimensionResult::AddStringValues
UpdateDimensionResult & AddStringValues(Aws::String &&value)
Definition: UpdateDimensionResult.h:176
Aws::IoT::Model::UpdateDimensionResult::WithName
UpdateDimensionResult & WithName(Aws::String &&value)
Definition: UpdateDimensionResult.h:66
Aws::IoT::Model::UpdateDimensionResult::SetType
void SetType(DimensionType &&value)
Definition: UpdateDimensionResult.h:123
Aws::IoT::Model::UpdateDimensionResult::SetArn
void SetArn(const char *value)
Definition: UpdateDimensionResult.h:92
Aws::IoT::Model::UpdateDimensionResult::WithStringValues
UpdateDimensionResult & WithStringValues(Aws::Vector< Aws::String > &&value)
Definition: UpdateDimensionResult.h:164
Aws::IoT::Model::UpdateDimensionResult::SetLastModifiedDate
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: UpdateDimensionResult.h:226
Aws::IoT::Model::UpdateDimensionResult::UpdateDimensionResult
UpdateDimensionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::UpdateDimensionResult::SetArn
void SetArn(Aws::String &&value)
Definition: UpdateDimensionResult.h:87
Aws::IoT::Model::DimensionType
DimensionType
Definition: DimensionType.h:17
AWSString.h
Aws::IoT::Model::UpdateDimensionResult::AddStringValues
UpdateDimensionResult & AddStringValues(const Aws::String &value)
Definition: UpdateDimensionResult.h:170
Aws::IoT::Model::UpdateDimensionResult::GetArn
const Aws::String & GetArn() const
Definition: UpdateDimensionResult.h:77
Aws::IoT::Model::UpdateDimensionResult::SetStringValues
void SetStringValues(const Aws::Vector< Aws::String > &value)
Definition: UpdateDimensionResult.h:146
Aws::IoT::Model::UpdateDimensionResult::SetStringValues
void SetStringValues(Aws::Vector< Aws::String > &&value)
Definition: UpdateDimensionResult.h:152
Aws::IoT::Model::UpdateDimensionResult::WithArn
UpdateDimensionResult & WithArn(Aws::String &&value)
Definition: UpdateDimensionResult.h:102
Aws::IoT::Model::UpdateDimensionResult::WithType
UpdateDimensionResult & WithType(const DimensionType &value)
Definition: UpdateDimensionResult.h:128
Aws::IoT::Model::UpdateDimensionResult::WithCreationDate
UpdateDimensionResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: UpdateDimensionResult.h:213
Aws::IoT::Model::UpdateDimensionResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: UpdateDimensionResult.h:189
Aws::IoT::Model::UpdateDimensionResult::WithLastModifiedDate
UpdateDimensionResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition: UpdateDimensionResult.h:244
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateDimensionResult::WithStringValues
UpdateDimensionResult & WithStringValues(const Aws::Vector< Aws::String > &value)
Definition: UpdateDimensionResult.h:158
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateDimensionResult::GetType
const DimensionType & GetType() const
Definition: UpdateDimensionResult.h:113
Aws::IoT::Model::UpdateDimensionResult::SetName
void SetName(const Aws::String &value)
Definition: UpdateDimensionResult.h:46
Aws::IoT::Model::UpdateDimensionResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: UpdateDimensionResult.h:195
Aws::IoT::Model::UpdateDimensionResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: UpdateDimensionResult.h:201
Aws::IoT::Model::UpdateDimensionResult::WithLastModifiedDate
UpdateDimensionResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition: UpdateDimensionResult.h:238
Aws::IoT::Model::UpdateDimensionResult::WithCreationDate
UpdateDimensionResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: UpdateDimensionResult.h:207
IoT_EXPORTS.h