AWS SDK for C++  1.9.104
AWS SDK for C++
CreateThingTypeResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; }
44 
48  inline void SetThingTypeName(const Aws::String& value) { m_thingTypeName = value; }
49 
53  inline void SetThingTypeName(Aws::String&& value) { m_thingTypeName = std::move(value); }
54 
58  inline void SetThingTypeName(const char* value) { m_thingTypeName.assign(value); }
59 
63  inline CreateThingTypeResult& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;}
64 
68  inline CreateThingTypeResult& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;}
69 
73  inline CreateThingTypeResult& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;}
74 
75 
79  inline const Aws::String& GetThingTypeArn() const{ return m_thingTypeArn; }
80 
84  inline void SetThingTypeArn(const Aws::String& value) { m_thingTypeArn = value; }
85 
89  inline void SetThingTypeArn(Aws::String&& value) { m_thingTypeArn = std::move(value); }
90 
94  inline void SetThingTypeArn(const char* value) { m_thingTypeArn.assign(value); }
95 
99  inline CreateThingTypeResult& WithThingTypeArn(const Aws::String& value) { SetThingTypeArn(value); return *this;}
100 
104  inline CreateThingTypeResult& WithThingTypeArn(Aws::String&& value) { SetThingTypeArn(std::move(value)); return *this;}
105 
109  inline CreateThingTypeResult& WithThingTypeArn(const char* value) { SetThingTypeArn(value); return *this;}
110 
111 
115  inline const Aws::String& GetThingTypeId() const{ return m_thingTypeId; }
116 
120  inline void SetThingTypeId(const Aws::String& value) { m_thingTypeId = value; }
121 
125  inline void SetThingTypeId(Aws::String&& value) { m_thingTypeId = std::move(value); }
126 
130  inline void SetThingTypeId(const char* value) { m_thingTypeId.assign(value); }
131 
135  inline CreateThingTypeResult& WithThingTypeId(const Aws::String& value) { SetThingTypeId(value); return *this;}
136 
140  inline CreateThingTypeResult& WithThingTypeId(Aws::String&& value) { SetThingTypeId(std::move(value)); return *this;}
141 
145  inline CreateThingTypeResult& WithThingTypeId(const char* value) { SetThingTypeId(value); return *this;}
146 
147  private:
148 
149  Aws::String m_thingTypeName;
150 
151  Aws::String m_thingTypeArn;
152 
153  Aws::String m_thingTypeId;
154  };
155 
156 } // namespace Model
157 } // namespace IoT
158 } // namespace Aws
Aws::IoT::Model::CreateThingTypeResult::CreateThingTypeResult
CreateThingTypeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeId
void SetThingTypeId(const char *value)
Definition: CreateThingTypeResult.h:130
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeArn
CreateThingTypeResult & WithThingTypeArn(Aws::String &&value)
Definition: CreateThingTypeResult.h:104
Aws::IoT::Model::CreateThingTypeResult::GetThingTypeArn
const Aws::String & GetThingTypeArn() const
Definition: CreateThingTypeResult.h:79
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeId
CreateThingTypeResult & WithThingTypeId(const Aws::String &value)
Definition: CreateThingTypeResult.h:135
Aws::IoT::Model::CreateThingTypeResult::CreateThingTypeResult
CreateThingTypeResult()
Aws::IoT::Model::CreateThingTypeResult::GetThingTypeId
const Aws::String & GetThingTypeId() const
Definition: CreateThingTypeResult.h:115
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeId
void SetThingTypeId(Aws::String &&value)
Definition: CreateThingTypeResult.h:125
Aws::IoT::Model::CreateThingTypeResult
Definition: CreateThingTypeResult.h:33
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeName
void SetThingTypeName(const Aws::String &value)
Definition: CreateThingTypeResult.h:48
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeName
void SetThingTypeName(Aws::String &&value)
Definition: CreateThingTypeResult.h:53
Aws::IoT::Model::CreateThingTypeResult::GetThingTypeName
const Aws::String & GetThingTypeName() const
Definition: CreateThingTypeResult.h:43
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeArn
CreateThingTypeResult & WithThingTypeArn(const Aws::String &value)
Definition: CreateThingTypeResult.h:99
AWSString.h
Aws::IoT::Model::CreateThingTypeResult::operator=
CreateThingTypeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeArn
CreateThingTypeResult & WithThingTypeArn(const char *value)
Definition: CreateThingTypeResult.h:109
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeId
CreateThingTypeResult & WithThingTypeId(const char *value)
Definition: CreateThingTypeResult.h:145
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeName
void SetThingTypeName(const char *value)
Definition: CreateThingTypeResult.h:58
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeId
CreateThingTypeResult & WithThingTypeId(Aws::String &&value)
Definition: CreateThingTypeResult.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeName
CreateThingTypeResult & WithThingTypeName(const char *value)
Definition: CreateThingTypeResult.h:73
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeName
CreateThingTypeResult & WithThingTypeName(Aws::String &&value)
Definition: CreateThingTypeResult.h:68
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeId
void SetThingTypeId(const Aws::String &value)
Definition: CreateThingTypeResult.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeArn
void SetThingTypeArn(Aws::String &&value)
Definition: CreateThingTypeResult.h:89
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeArn
void SetThingTypeArn(const Aws::String &value)
Definition: CreateThingTypeResult.h:84
Aws::IoT::Model::CreateThingTypeResult::WithThingTypeName
CreateThingTypeResult & WithThingTypeName(const Aws::String &value)
Definition: CreateThingTypeResult.h:63
Aws::IoT::Model::CreateThingTypeResult::SetThingTypeArn
void SetThingTypeArn(const char *value)
Definition: CreateThingTypeResult.h:94
IoT_EXPORTS.h