AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeThingResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
34 {
35 public:
36 AWS_IOT_API DescribeThingResult();
39
40
42
51 inline const Aws::String& GetDefaultClientId() const{ return m_defaultClientId; }
52 inline void SetDefaultClientId(const Aws::String& value) { m_defaultClientId = value; }
53 inline void SetDefaultClientId(Aws::String&& value) { m_defaultClientId = std::move(value); }
54 inline void SetDefaultClientId(const char* value) { m_defaultClientId.assign(value); }
55 inline DescribeThingResult& WithDefaultClientId(const Aws::String& value) { SetDefaultClientId(value); return *this;}
56 inline DescribeThingResult& WithDefaultClientId(Aws::String&& value) { SetDefaultClientId(std::move(value)); return *this;}
57 inline DescribeThingResult& WithDefaultClientId(const char* value) { SetDefaultClientId(value); return *this;}
59
61
64 inline const Aws::String& GetThingName() const{ return m_thingName; }
65 inline void SetThingName(const Aws::String& value) { m_thingName = value; }
66 inline void SetThingName(Aws::String&& value) { m_thingName = std::move(value); }
67 inline void SetThingName(const char* value) { m_thingName.assign(value); }
68 inline DescribeThingResult& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
69 inline DescribeThingResult& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
70 inline DescribeThingResult& WithThingName(const char* value) { SetThingName(value); return *this;}
72
74
77 inline const Aws::String& GetThingId() const{ return m_thingId; }
78 inline void SetThingId(const Aws::String& value) { m_thingId = value; }
79 inline void SetThingId(Aws::String&& value) { m_thingId = std::move(value); }
80 inline void SetThingId(const char* value) { m_thingId.assign(value); }
81 inline DescribeThingResult& WithThingId(const Aws::String& value) { SetThingId(value); return *this;}
82 inline DescribeThingResult& WithThingId(Aws::String&& value) { SetThingId(std::move(value)); return *this;}
83 inline DescribeThingResult& WithThingId(const char* value) { SetThingId(value); return *this;}
85
87
90 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
91 inline void SetThingArn(const Aws::String& value) { m_thingArn = value; }
92 inline void SetThingArn(Aws::String&& value) { m_thingArn = std::move(value); }
93 inline void SetThingArn(const char* value) { m_thingArn.assign(value); }
94 inline DescribeThingResult& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
95 inline DescribeThingResult& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
96 inline DescribeThingResult& WithThingArn(const char* value) { SetThingArn(value); return *this;}
98
100
103 inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; }
104 inline void SetThingTypeName(const Aws::String& value) { m_thingTypeName = value; }
105 inline void SetThingTypeName(Aws::String&& value) { m_thingTypeName = std::move(value); }
106 inline void SetThingTypeName(const char* value) { m_thingTypeName.assign(value); }
107 inline DescribeThingResult& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;}
108 inline DescribeThingResult& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;}
109 inline DescribeThingResult& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;}
111
113
116 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
117 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributes = value; }
118 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributes = std::move(value); }
120 inline DescribeThingResult& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
121 inline DescribeThingResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
122 inline DescribeThingResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
123 inline DescribeThingResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
124 inline DescribeThingResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
125 inline DescribeThingResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
126 inline DescribeThingResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
127 inline DescribeThingResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; }
129
131
137 inline long long GetVersion() const{ return m_version; }
138 inline void SetVersion(long long value) { m_version = value; }
139 inline DescribeThingResult& WithVersion(long long value) { SetVersion(value); return *this;}
141
143
146 inline const Aws::String& GetBillingGroupName() const{ return m_billingGroupName; }
147 inline void SetBillingGroupName(const Aws::String& value) { m_billingGroupName = value; }
148 inline void SetBillingGroupName(Aws::String&& value) { m_billingGroupName = std::move(value); }
149 inline void SetBillingGroupName(const char* value) { m_billingGroupName.assign(value); }
150 inline DescribeThingResult& WithBillingGroupName(const Aws::String& value) { SetBillingGroupName(value); return *this;}
151 inline DescribeThingResult& WithBillingGroupName(Aws::String&& value) { SetBillingGroupName(std::move(value)); return *this;}
152 inline DescribeThingResult& WithBillingGroupName(const char* value) { SetBillingGroupName(value); return *this;}
154
156
157 inline const Aws::String& GetRequestId() const{ return m_requestId; }
158 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
159 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
160 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
161 inline DescribeThingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
162 inline DescribeThingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
163 inline DescribeThingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
165 private:
166
167 Aws::String m_defaultClientId;
168
169 Aws::String m_thingName;
170
171 Aws::String m_thingId;
172
173 Aws::String m_thingArn;
174
175 Aws::String m_thingTypeName;
176
178
179 long long m_version;
180
181 Aws::String m_billingGroupName;
182
183 Aws::String m_requestId;
184 };
185
186} // namespace Model
187} // namespace IoT
188} // namespace Aws
const Aws::String & GetDefaultClientId() const
DescribeThingResult & WithThingId(Aws::String &&value)
DescribeThingResult & WithVersion(long long value)
DescribeThingResult & AddAttributes(Aws::String &&key, const Aws::String &value)
DescribeThingResult & WithThingName(Aws::String &&value)
DescribeThingResult & WithBillingGroupName(Aws::String &&value)
DescribeThingResult & WithThingName(const Aws::String &value)
DescribeThingResult & AddAttributes(Aws::String &&key, Aws::String &&value)
DescribeThingResult & AddAttributes(const char *key, Aws::String &&value)
DescribeThingResult & WithDefaultClientId(const Aws::String &value)
const Aws::String & GetRequestId() const
DescribeThingResult & WithThingId(const char *value)
DescribeThingResult & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetThingArn() const
void SetDefaultClientId(const Aws::String &value)
DescribeThingResult & WithDefaultClientId(Aws::String &&value)
DescribeThingResult & AddAttributes(const char *key, const char *value)
DescribeThingResult & AddAttributes(const Aws::String &key, const Aws::String &value)
DescribeThingResult & WithThingTypeName(const Aws::String &value)
DescribeThingResult & WithThingArn(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
void SetThingTypeName(const Aws::String &value)
DescribeThingResult & WithRequestId(Aws::String &&value)
DescribeThingResult & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
DescribeThingResult & WithRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
DescribeThingResult & WithBillingGroupName(const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
DescribeThingResult & AddAttributes(Aws::String &&key, const char *value)
void SetThingId(const Aws::String &value)
DescribeThingResult & WithThingTypeName(const char *value)
AWS_IOT_API DescribeThingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThingResult & WithThingArn(const Aws::String &value)
const Aws::String & GetThingId() const
void SetDefaultClientId(Aws::String &&value)
void SetBillingGroupName(const Aws::String &value)
DescribeThingResult & WithBillingGroupName(const char *value)
const Aws::String & GetBillingGroupName() const
void SetBillingGroupName(Aws::String &&value)
AWS_IOT_API DescribeThingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetThingArn(const Aws::String &value)
DescribeThingResult & WithThingTypeName(Aws::String &&value)
void SetThingName(const Aws::String &value)
DescribeThingResult & WithThingArn(Aws::String &&value)
DescribeThingResult & WithThingName(const char *value)
const Aws::String & GetThingName() const
DescribeThingResult & WithDefaultClientId(const char *value)
DescribeThingResult & WithThingId(const Aws::String &value)
const Aws::String & GetThingTypeName() const
DescribeThingResult & WithRequestId(const char *value)
DescribeThingResult & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetThingTypeName(Aws::String &&value)
void SetRequestId(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue