AWS SDK for C++  1.9.132
AWS SDK for C++
DescribeThingResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
50  inline const Aws::String& GetDefaultClientId() const{ return m_defaultClientId; }
51 
61  inline void SetDefaultClientId(const Aws::String& value) { m_defaultClientId = value; }
62 
72  inline void SetDefaultClientId(Aws::String&& value) { m_defaultClientId = std::move(value); }
73 
83  inline void SetDefaultClientId(const char* value) { m_defaultClientId.assign(value); }
84 
94  inline DescribeThingResult& WithDefaultClientId(const Aws::String& value) { SetDefaultClientId(value); return *this;}
95 
105  inline DescribeThingResult& WithDefaultClientId(Aws::String&& value) { SetDefaultClientId(std::move(value)); return *this;}
106 
116  inline DescribeThingResult& WithDefaultClientId(const char* value) { SetDefaultClientId(value); return *this;}
117 
118 
122  inline const Aws::String& GetThingName() const{ return m_thingName; }
123 
127  inline void SetThingName(const Aws::String& value) { m_thingName = value; }
128 
132  inline void SetThingName(Aws::String&& value) { m_thingName = std::move(value); }
133 
137  inline void SetThingName(const char* value) { m_thingName.assign(value); }
138 
142  inline DescribeThingResult& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
143 
147  inline DescribeThingResult& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
148 
152  inline DescribeThingResult& WithThingName(const char* value) { SetThingName(value); return *this;}
153 
154 
158  inline const Aws::String& GetThingId() const{ return m_thingId; }
159 
163  inline void SetThingId(const Aws::String& value) { m_thingId = value; }
164 
168  inline void SetThingId(Aws::String&& value) { m_thingId = std::move(value); }
169 
173  inline void SetThingId(const char* value) { m_thingId.assign(value); }
174 
178  inline DescribeThingResult& WithThingId(const Aws::String& value) { SetThingId(value); return *this;}
179 
183  inline DescribeThingResult& WithThingId(Aws::String&& value) { SetThingId(std::move(value)); return *this;}
184 
188  inline DescribeThingResult& WithThingId(const char* value) { SetThingId(value); return *this;}
189 
190 
194  inline const Aws::String& GetThingArn() const{ return m_thingArn; }
195 
199  inline void SetThingArn(const Aws::String& value) { m_thingArn = value; }
200 
204  inline void SetThingArn(Aws::String&& value) { m_thingArn = std::move(value); }
205 
209  inline void SetThingArn(const char* value) { m_thingArn.assign(value); }
210 
214  inline DescribeThingResult& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
215 
219  inline DescribeThingResult& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
220 
224  inline DescribeThingResult& WithThingArn(const char* value) { SetThingArn(value); return *this;}
225 
226 
230  inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; }
231 
235  inline void SetThingTypeName(const Aws::String& value) { m_thingTypeName = value; }
236 
240  inline void SetThingTypeName(Aws::String&& value) { m_thingTypeName = std::move(value); }
241 
245  inline void SetThingTypeName(const char* value) { m_thingTypeName.assign(value); }
246 
250  inline DescribeThingResult& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;}
251 
255  inline DescribeThingResult& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;}
256 
260  inline DescribeThingResult& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;}
261 
262 
266  inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
267 
271  inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
272 
276  inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
277 
281  inline DescribeThingResult& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
282 
286  inline DescribeThingResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
287 
291  inline DescribeThingResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
292 
296  inline DescribeThingResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
297 
301  inline DescribeThingResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
302 
306  inline DescribeThingResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
307 
311  inline DescribeThingResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
312 
316  inline DescribeThingResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
317 
321  inline DescribeThingResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
322 
323 
330  inline long long GetVersion() const{ return m_version; }
331 
338  inline void SetVersion(long long value) { m_version = value; }
339 
346  inline DescribeThingResult& WithVersion(long long value) { SetVersion(value); return *this;}
347 
348 
352  inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
353 
357  inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupName = value; }
358 
362  inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupName = std::move(value); }
363 
367  inline void SetBillingGroupName(const char* value) { m_billingGroupName.assign(value); }
368 
372  inline DescribeThingResult& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;}
373 
377  inline DescribeThingResult& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
378 
382  inline DescribeThingResult& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
383 
384  private:
385 
386  Aws::String m_defaultClientId;
387 
388  Aws::String m_thingName;
389 
390  Aws::String m_thingId;
391 
392  Aws::String m_thingArn;
393 
394  Aws::String m_thingTypeName;
395 
397 
398  long long m_version;
399 
400  Aws::String m_billingGroupName;
401  };
402 
403 } // namespace Model
404 } // namespace IoT
405 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeThingResult::SetThingId
void SetThingId(const char *value)
Definition: DescribeThingResult.h:173
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(Aws::String &&key, Aws::String &&value)
Definition: DescribeThingResult.h:306
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(const char *key, Aws::String &&value)
Definition: DescribeThingResult.h:311
Aws::IoT::Model::DescribeThingResult::SetThingName
void SetThingName(const char *value)
Definition: DescribeThingResult.h:137
Aws::IoT::Model::DescribeThingResult::SetDefaultClientId
void SetDefaultClientId(Aws::String &&value)
Definition: DescribeThingResult.h:72
Aws::IoT::Model::DescribeThingResult::SetBillingGroupName
void SetBillingGroupName(const char *value)
Definition: DescribeThingResult.h:367
Aws::IoT::Model::DescribeThingResult::WithThingTypeName
DescribeThingResult & WithThingTypeName(const Aws::String &value)
Definition: DescribeThingResult.h:250
Aws::IoT::Model::DescribeThingResult::WithThingArn
DescribeThingResult & WithThingArn(const char *value)
Definition: DescribeThingResult.h:224
Aws::IoT::Model::DescribeThingResult::SetThingTypeName
void SetThingTypeName(const char *value)
Definition: DescribeThingResult.h:245
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(const char *key, const char *value)
Definition: DescribeThingResult.h:321
Aws::IoT::Model::DescribeThingResult::GetVersion
long long GetVersion() const
Definition: DescribeThingResult.h:330
Aws::IoT::Model::DescribeThingResult
Definition: DescribeThingResult.h:34
Aws::IoT::Model::DescribeThingResult::SetThingArn
void SetThingArn(const char *value)
Definition: DescribeThingResult.h:209
Aws::IoT::Model::DescribeThingResult::SetThingName
void SetThingName(const Aws::String &value)
Definition: DescribeThingResult.h:127
Aws::IoT::Model::DescribeThingResult::SetAttributes
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeThingResult.h:276
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(Aws::String &&key, const char *value)
Definition: DescribeThingResult.h:316
Aws::IoT::Model::DescribeThingResult::WithThingId
DescribeThingResult & WithThingId(const char *value)
Definition: DescribeThingResult.h:188
Aws::IoT::Model::DescribeThingResult::WithThingArn
DescribeThingResult & WithThingArn(Aws::String &&value)
Definition: DescribeThingResult.h:219
Aws::IoT::Model::DescribeThingResult::GetAttributes
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
Definition: DescribeThingResult.h:266
Aws::IoT::Model::DescribeThingResult::WithThingName
DescribeThingResult & WithThingName(Aws::String &&value)
Definition: DescribeThingResult.h:147
Aws::IoT::Model::DescribeThingResult::SetDefaultClientId
void SetDefaultClientId(const char *value)
Definition: DescribeThingResult.h:83
Aws::IoT::Model::DescribeThingResult::GetThingId
const Aws::String & GetThingId() const
Definition: DescribeThingResult.h:158
Aws::IoT::Model::DescribeThingResult::WithVersion
DescribeThingResult & WithVersion(long long value)
Definition: DescribeThingResult.h:346
Aws::IoT::Model::DescribeThingResult::WithDefaultClientId
DescribeThingResult & WithDefaultClientId(const char *value)
Definition: DescribeThingResult.h:116
Aws::IoT::Model::DescribeThingResult::SetThingId
void SetThingId(const Aws::String &value)
Definition: DescribeThingResult.h:163
Aws::IoT::Model::DescribeThingResult::WithBillingGroupName
DescribeThingResult & WithBillingGroupName(const char *value)
Definition: DescribeThingResult.h:382
Aws::IoT::Model::DescribeThingResult::SetDefaultClientId
void SetDefaultClientId(const Aws::String &value)
Definition: DescribeThingResult.h:61
Aws::IoT::Model::DescribeThingResult::SetThingArn
void SetThingArn(Aws::String &&value)
Definition: DescribeThingResult.h:204
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(const Aws::String &key, Aws::String &&value)
Definition: DescribeThingResult.h:301
Aws::IoT::Model::DescribeThingResult::GetThingName
const Aws::String & GetThingName() const
Definition: DescribeThingResult.h:122
Aws::IoT::Model::DescribeThingResult::WithAttributes
DescribeThingResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeThingResult.h:281
Aws::IoT::Model::DescribeThingResult::WithThingId
DescribeThingResult & WithThingId(const Aws::String &value)
Definition: DescribeThingResult.h:178
AWSString.h
Aws::IoT::Model::DescribeThingResult::WithDefaultClientId
DescribeThingResult & WithDefaultClientId(const Aws::String &value)
Definition: DescribeThingResult.h:94
Aws::IoT::Model::DescribeThingResult::WithThingName
DescribeThingResult & WithThingName(const char *value)
Definition: DescribeThingResult.h:152
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(Aws::String &&key, const Aws::String &value)
Definition: DescribeThingResult.h:296
Aws::IoT::Model::DescribeThingResult::SetThingId
void SetThingId(Aws::String &&value)
Definition: DescribeThingResult.h:168
Aws::IoT::Model::DescribeThingResult::WithThingArn
DescribeThingResult & WithThingArn(const Aws::String &value)
Definition: DescribeThingResult.h:214
Aws::IoT::Model::DescribeThingResult::SetThingArn
void SetThingArn(const Aws::String &value)
Definition: DescribeThingResult.h:199
Aws::IoT::Model::DescribeThingResult::WithThingName
DescribeThingResult & WithThingName(const Aws::String &value)
Definition: DescribeThingResult.h:142
Aws::IoT::Model::DescribeThingResult::GetBillingGroupName
const Aws::String & GetBillingGroupName() const
Definition: DescribeThingResult.h:352
Aws::IoT::Model::DescribeThingResult::operator=
DescribeThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeThingResult::WithDefaultClientId
DescribeThingResult & WithDefaultClientId(Aws::String &&value)
Definition: DescribeThingResult.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeThingResult::DescribeThingResult
DescribeThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeThingResult::WithThingTypeName
DescribeThingResult & WithThingTypeName(const char *value)
Definition: DescribeThingResult.h:260
Aws::IoT::Model::DescribeThingResult::GetDefaultClientId
const Aws::String & GetDefaultClientId() const
Definition: DescribeThingResult.h:50
Aws::IoT::Model::DescribeThingResult::WithBillingGroupName
DescribeThingResult & WithBillingGroupName(const Aws::String &value)
Definition: DescribeThingResult.h:372
Aws::IoT::Model::DescribeThingResult::WithThingId
DescribeThingResult & WithThingId(Aws::String &&value)
Definition: DescribeThingResult.h:183
Aws::IoT::Model::DescribeThingResult::WithThingTypeName
DescribeThingResult & WithThingTypeName(Aws::String &&value)
Definition: DescribeThingResult.h:255
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DescribeThingResult::DescribeThingResult
DescribeThingResult()
Aws::IoT::Model::DescribeThingResult::WithAttributes
DescribeThingResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeThingResult.h:286
Aws::IoT::Model::DescribeThingResult::SetBillingGroupName
void SetBillingGroupName(Aws::String &&value)
Definition: DescribeThingResult.h:362
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::DescribeThingResult::SetBillingGroupName
void SetBillingGroupName(const Aws::String &value)
Definition: DescribeThingResult.h:357
Aws::IoT::Model::DescribeThingResult::GetThingArn
const Aws::String & GetThingArn() const
Definition: DescribeThingResult.h:194
Aws::IoT::Model::DescribeThingResult::SetVersion
void SetVersion(long long value)
Definition: DescribeThingResult.h:338
Aws::IoT::Model::DescribeThingResult::SetAttributes
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeThingResult.h:271
Aws::IoT::Model::DescribeThingResult::GetThingTypeName
const Aws::String & GetThingTypeName() const
Definition: DescribeThingResult.h:230
Aws::IoT::Model::DescribeThingResult::SetThingTypeName
void SetThingTypeName(const Aws::String &value)
Definition: DescribeThingResult.h:235
AWSMap.h
Aws::IoT::Model::DescribeThingResult::SetThingName
void SetThingName(Aws::String &&value)
Definition: DescribeThingResult.h:132
Aws::IoT::Model::DescribeThingResult::SetThingTypeName
void SetThingTypeName(Aws::String &&value)
Definition: DescribeThingResult.h:240
Aws::IoT::Model::DescribeThingResult::WithBillingGroupName
DescribeThingResult & WithBillingGroupName(Aws::String &&value)
Definition: DescribeThingResult.h:377
Aws::IoT::Model::DescribeThingResult::AddAttributes
DescribeThingResult & AddAttributes(const Aws::String &key, const Aws::String &value)
Definition: DescribeThingResult.h:291
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h