AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeThingTypeResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoT
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; }
46 
50  inline void SetThingTypeName(const Aws::String& value) { m_thingTypeName = value; }
51 
55  inline void SetThingTypeName(Aws::String&& value) { m_thingTypeName = std::move(value); }
56 
60  inline void SetThingTypeName(const char* value) { m_thingTypeName.assign(value); }
61 
65  inline DescribeThingTypeResult& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;}
66 
70  inline DescribeThingTypeResult& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;}
71 
75  inline DescribeThingTypeResult& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;}
76 
77 
81  inline const Aws::String& GetThingTypeId() const{ return m_thingTypeId; }
82 
86  inline void SetThingTypeId(const Aws::String& value) { m_thingTypeId = value; }
87 
91  inline void SetThingTypeId(Aws::String&& value) { m_thingTypeId = std::move(value); }
92 
96  inline void SetThingTypeId(const char* value) { m_thingTypeId.assign(value); }
97 
101  inline DescribeThingTypeResult& WithThingTypeId(const Aws::String& value) { SetThingTypeId(value); return *this;}
102 
106  inline DescribeThingTypeResult& WithThingTypeId(Aws::String&& value) { SetThingTypeId(std::move(value)); return *this;}
107 
111  inline DescribeThingTypeResult& WithThingTypeId(const char* value) { SetThingTypeId(value); return *this;}
112 
113 
117  inline const Aws::String& GetThingTypeArn() const{ return m_thingTypeArn; }
118 
122  inline void SetThingTypeArn(const Aws::String& value) { m_thingTypeArn = value; }
123 
127  inline void SetThingTypeArn(Aws::String&& value) { m_thingTypeArn = std::move(value); }
128 
132  inline void SetThingTypeArn(const char* value) { m_thingTypeArn.assign(value); }
133 
137  inline DescribeThingTypeResult& WithThingTypeArn(const Aws::String& value) { SetThingTypeArn(value); return *this;}
138 
142  inline DescribeThingTypeResult& WithThingTypeArn(Aws::String&& value) { SetThingTypeArn(std::move(value)); return *this;}
143 
147  inline DescribeThingTypeResult& WithThingTypeArn(const char* value) { SetThingTypeArn(value); return *this;}
148 
149 
154  inline const ThingTypeProperties& GetThingTypeProperties() const{ return m_thingTypeProperties; }
155 
160  inline void SetThingTypeProperties(const ThingTypeProperties& value) { m_thingTypeProperties = value; }
161 
166  inline void SetThingTypeProperties(ThingTypeProperties&& value) { m_thingTypeProperties = std::move(value); }
167 
172  inline DescribeThingTypeResult& WithThingTypeProperties(const ThingTypeProperties& value) { SetThingTypeProperties(value); return *this;}
173 
178  inline DescribeThingTypeResult& WithThingTypeProperties(ThingTypeProperties&& value) { SetThingTypeProperties(std::move(value)); return *this;}
179 
180 
186  inline const ThingTypeMetadata& GetThingTypeMetadata() const{ return m_thingTypeMetadata; }
187 
193  inline void SetThingTypeMetadata(const ThingTypeMetadata& value) { m_thingTypeMetadata = value; }
194 
200  inline void SetThingTypeMetadata(ThingTypeMetadata&& value) { m_thingTypeMetadata = std::move(value); }
201 
207  inline DescribeThingTypeResult& WithThingTypeMetadata(const ThingTypeMetadata& value) { SetThingTypeMetadata(value); return *this;}
208 
214  inline DescribeThingTypeResult& WithThingTypeMetadata(ThingTypeMetadata&& value) { SetThingTypeMetadata(std::move(value)); return *this;}
215 
216  private:
217 
218  Aws::String m_thingTypeName;
219 
220  Aws::String m_thingTypeId;
221 
222  Aws::String m_thingTypeArn;
223 
224  ThingTypeProperties m_thingTypeProperties;
225 
226  ThingTypeMetadata m_thingTypeMetadata;
227  };
228 
229 } // namespace Model
230 } // namespace IoT
231 } // namespace Aws
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeArn
void SetThingTypeArn(const Aws::String &value)
Definition: DescribeThingTypeResult.h:122
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeArn
DescribeThingTypeResult & WithThingTypeArn(const Aws::String &value)
Definition: DescribeThingTypeResult.h:137
Aws::IoT::Model::DescribeThingTypeResult::GetThingTypeMetadata
const ThingTypeMetadata & GetThingTypeMetadata() const
Definition: DescribeThingTypeResult.h:186
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::DescribeThingTypeResult::GetThingTypeProperties
const ThingTypeProperties & GetThingTypeProperties() const
Definition: DescribeThingTypeResult.h:154
Aws::IoT::Model::DescribeThingTypeResult::GetThingTypeName
const Aws::String & GetThingTypeName() const
Definition: DescribeThingTypeResult.h:45
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeArn
void SetThingTypeArn(Aws::String &&value)
Definition: DescribeThingTypeResult.h:127
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeProperties
void SetThingTypeProperties(const ThingTypeProperties &value)
Definition: DescribeThingTypeResult.h:160
Aws::IoT::Model::DescribeThingTypeResult
Definition: DescribeThingTypeResult.h:35
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeName
DescribeThingTypeResult & WithThingTypeName(const char *value)
Definition: DescribeThingTypeResult.h:75
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeMetadata
void SetThingTypeMetadata(const ThingTypeMetadata &value)
Definition: DescribeThingTypeResult.h:193
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeName
DescribeThingTypeResult & WithThingTypeName(const Aws::String &value)
Definition: DescribeThingTypeResult.h:65
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeMetadata
void SetThingTypeMetadata(ThingTypeMetadata &&value)
Definition: DescribeThingTypeResult.h:200
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeArn
DescribeThingTypeResult & WithThingTypeArn(const char *value)
Definition: DescribeThingTypeResult.h:147
Aws::IoT::Model::ThingTypeProperties
Definition: ThingTypeProperties.h:35
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeName
DescribeThingTypeResult & WithThingTypeName(Aws::String &&value)
Definition: DescribeThingTypeResult.h:70
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeId
DescribeThingTypeResult & WithThingTypeId(const char *value)
Definition: DescribeThingTypeResult.h:111
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeName
void SetThingTypeName(const char *value)
Definition: DescribeThingTypeResult.h:60
ThingTypeMetadata.h
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeProperties
DescribeThingTypeResult & WithThingTypeProperties(ThingTypeProperties &&value)
Definition: DescribeThingTypeResult.h:178
Aws::IoT::Model::DescribeThingTypeResult::GetThingTypeId
const Aws::String & GetThingTypeId() const
Definition: DescribeThingTypeResult.h:81
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeId
void SetThingTypeId(const Aws::String &value)
Definition: DescribeThingTypeResult.h:86
Aws::IoT::Model::DescribeThingTypeResult::operator=
DescribeThingTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ThingTypeMetadata
Definition: ThingTypeMetadata.h:35
AWSString.h
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeProperties
void SetThingTypeProperties(ThingTypeProperties &&value)
Definition: DescribeThingTypeResult.h:166
ThingTypeProperties.h
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeName
void SetThingTypeName(const Aws::String &value)
Definition: DescribeThingTypeResult.h:50
Aws::IoT::Model::DescribeThingTypeResult::GetThingTypeArn
const Aws::String & GetThingTypeArn() const
Definition: DescribeThingTypeResult.h:117
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeId
DescribeThingTypeResult & WithThingTypeId(const Aws::String &value)
Definition: DescribeThingTypeResult.h:101
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeName
void SetThingTypeName(Aws::String &&value)
Definition: DescribeThingTypeResult.h:55
Aws::IoT::Model::DescribeThingTypeResult::DescribeThingTypeResult
DescribeThingTypeResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
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::DescribeThingTypeResult::WithThingTypeMetadata
DescribeThingTypeResult & WithThingTypeMetadata(ThingTypeMetadata &&value)
Definition: DescribeThingTypeResult.h:214
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeProperties
DescribeThingTypeResult & WithThingTypeProperties(const ThingTypeProperties &value)
Definition: DescribeThingTypeResult.h:172
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeId
void SetThingTypeId(Aws::String &&value)
Definition: DescribeThingTypeResult.h:91
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeArn
DescribeThingTypeResult & WithThingTypeArn(Aws::String &&value)
Definition: DescribeThingTypeResult.h:142
Aws::IoT::Model::DescribeThingTypeResult::DescribeThingTypeResult
DescribeThingTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeId
void SetThingTypeId(const char *value)
Definition: DescribeThingTypeResult.h:96
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeId
DescribeThingTypeResult & WithThingTypeId(Aws::String &&value)
Definition: DescribeThingTypeResult.h:106
Aws::IoT::Model::DescribeThingTypeResult::WithThingTypeMetadata
DescribeThingTypeResult & WithThingTypeMetadata(const ThingTypeMetadata &value)
Definition: DescribeThingTypeResult.h:207
Aws::IoT::Model::DescribeThingTypeResult::SetThingTypeArn
void SetThingTypeArn(const char *value)
Definition: DescribeThingTypeResult.h:132
IoT_EXPORTS.h