AWS SDK for C++  1.9.132
AWS SDK for C++
ThingTypeDefinition.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 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetThingTypeName() const{ return m_thingTypeName; }
47 
51  inline bool ThingTypeNameHasBeenSet() const { return m_thingTypeNameHasBeenSet; }
52 
56  inline void SetThingTypeName(const Aws::String& value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName = value; }
57 
61  inline void SetThingTypeName(Aws::String&& value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName = std::move(value); }
62 
66  inline void SetThingTypeName(const char* value) { m_thingTypeNameHasBeenSet = true; m_thingTypeName.assign(value); }
67 
71  inline ThingTypeDefinition& WithThingTypeName(const Aws::String& value) { SetThingTypeName(value); return *this;}
72 
76  inline ThingTypeDefinition& WithThingTypeName(Aws::String&& value) { SetThingTypeName(std::move(value)); return *this;}
77 
81  inline ThingTypeDefinition& WithThingTypeName(const char* value) { SetThingTypeName(value); return *this;}
82 
83 
87  inline const Aws::String& GetThingTypeArn() const{ return m_thingTypeArn; }
88 
92  inline bool ThingTypeArnHasBeenSet() const { return m_thingTypeArnHasBeenSet; }
93 
97  inline void SetThingTypeArn(const Aws::String& value) { m_thingTypeArnHasBeenSet = true; m_thingTypeArn = value; }
98 
102  inline void SetThingTypeArn(Aws::String&& value) { m_thingTypeArnHasBeenSet = true; m_thingTypeArn = std::move(value); }
103 
107  inline void SetThingTypeArn(const char* value) { m_thingTypeArnHasBeenSet = true; m_thingTypeArn.assign(value); }
108 
112  inline ThingTypeDefinition& WithThingTypeArn(const Aws::String& value) { SetThingTypeArn(value); return *this;}
113 
117  inline ThingTypeDefinition& WithThingTypeArn(Aws::String&& value) { SetThingTypeArn(std::move(value)); return *this;}
118 
122  inline ThingTypeDefinition& WithThingTypeArn(const char* value) { SetThingTypeArn(value); return *this;}
123 
124 
128  inline const ThingTypeProperties& GetThingTypeProperties() const{ return m_thingTypeProperties; }
129 
133  inline bool ThingTypePropertiesHasBeenSet() const { return m_thingTypePropertiesHasBeenSet; }
134 
138  inline void SetThingTypeProperties(const ThingTypeProperties& value) { m_thingTypePropertiesHasBeenSet = true; m_thingTypeProperties = value; }
139 
143  inline void SetThingTypeProperties(ThingTypeProperties&& value) { m_thingTypePropertiesHasBeenSet = true; m_thingTypeProperties = std::move(value); }
144 
148  inline ThingTypeDefinition& WithThingTypeProperties(const ThingTypeProperties& value) { SetThingTypeProperties(value); return *this;}
149 
153  inline ThingTypeDefinition& WithThingTypeProperties(ThingTypeProperties&& value) { SetThingTypeProperties(std::move(value)); return *this;}
154 
155 
161  inline const ThingTypeMetadata& GetThingTypeMetadata() const{ return m_thingTypeMetadata; }
162 
168  inline bool ThingTypeMetadataHasBeenSet() const { return m_thingTypeMetadataHasBeenSet; }
169 
175  inline void SetThingTypeMetadata(const ThingTypeMetadata& value) { m_thingTypeMetadataHasBeenSet = true; m_thingTypeMetadata = value; }
176 
182  inline void SetThingTypeMetadata(ThingTypeMetadata&& value) { m_thingTypeMetadataHasBeenSet = true; m_thingTypeMetadata = std::move(value); }
183 
189  inline ThingTypeDefinition& WithThingTypeMetadata(const ThingTypeMetadata& value) { SetThingTypeMetadata(value); return *this;}
190 
196  inline ThingTypeDefinition& WithThingTypeMetadata(ThingTypeMetadata&& value) { SetThingTypeMetadata(std::move(value)); return *this;}
197 
198  private:
199 
200  Aws::String m_thingTypeName;
201  bool m_thingTypeNameHasBeenSet;
202 
203  Aws::String m_thingTypeArn;
204  bool m_thingTypeArnHasBeenSet;
205 
206  ThingTypeProperties m_thingTypeProperties;
207  bool m_thingTypePropertiesHasBeenSet;
208 
209  ThingTypeMetadata m_thingTypeMetadata;
210  bool m_thingTypeMetadataHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace IoT
215 } // namespace Aws
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeMetadata
ThingTypeDefinition & WithThingTypeMetadata(ThingTypeMetadata &&value)
Definition: ThingTypeDefinition.h:196
Aws::IoT::Model::ThingTypeDefinition::GetThingTypeMetadata
const ThingTypeMetadata & GetThingTypeMetadata() const
Definition: ThingTypeDefinition.h:161
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeProperties
ThingTypeDefinition & WithThingTypeProperties(ThingTypeProperties &&value)
Definition: ThingTypeDefinition.h:153
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeName
ThingTypeDefinition & WithThingTypeName(const Aws::String &value)
Definition: ThingTypeDefinition.h:71
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeArn
void SetThingTypeArn(const Aws::String &value)
Definition: ThingTypeDefinition.h:97
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeArn
void SetThingTypeArn(Aws::String &&value)
Definition: ThingTypeDefinition.h:102
Aws::IoT::Model::ThingTypeDefinition::ThingTypePropertiesHasBeenSet
bool ThingTypePropertiesHasBeenSet() const
Definition: ThingTypeDefinition.h:133
Aws::IoT::Model::ThingTypeDefinition::ThingTypeMetadataHasBeenSet
bool ThingTypeMetadataHasBeenSet() const
Definition: ThingTypeDefinition.h:168
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeArn
void SetThingTypeArn(const char *value)
Definition: ThingTypeDefinition.h:107
Aws::IoT::Model::ThingTypeDefinition::ThingTypeDefinition
ThingTypeDefinition()
Aws::IoT::Model::ThingTypeDefinition::operator=
ThingTypeDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeMetadata
ThingTypeDefinition & WithThingTypeMetadata(const ThingTypeMetadata &value)
Definition: ThingTypeDefinition.h:189
Aws::IoT::Model::ThingTypeProperties
Definition: ThingTypeProperties.h:35
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeProperties
void SetThingTypeProperties(const ThingTypeProperties &value)
Definition: ThingTypeDefinition.h:138
ThingTypeMetadata.h
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeMetadata
void SetThingTypeMetadata(ThingTypeMetadata &&value)
Definition: ThingTypeDefinition.h:182
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeArn
ThingTypeDefinition & WithThingTypeArn(const Aws::String &value)
Definition: ThingTypeDefinition.h:112
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeArn
ThingTypeDefinition & WithThingTypeArn(const char *value)
Definition: ThingTypeDefinition.h:122
Aws::IoT::Model::ThingTypeDefinition
Definition: ThingTypeDefinition.h:35
Aws::IoT::Model::ThingTypeMetadata
Definition: ThingTypeMetadata.h:35
Aws::IoT::Model::ThingTypeDefinition::GetThingTypeProperties
const ThingTypeProperties & GetThingTypeProperties() const
Definition: ThingTypeDefinition.h:128
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeName
void SetThingTypeName(Aws::String &&value)
Definition: ThingTypeDefinition.h:61
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeProperties
void SetThingTypeProperties(ThingTypeProperties &&value)
Definition: ThingTypeDefinition.h:143
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ThingTypeDefinition::GetThingTypeArn
const Aws::String & GetThingTypeArn() const
Definition: ThingTypeDefinition.h:87
Aws::IoT::Model::ThingTypeDefinition::ThingTypeNameHasBeenSet
bool ThingTypeNameHasBeenSet() const
Definition: ThingTypeDefinition.h:51
Aws::IoT::Model::ThingTypeDefinition::ThingTypeDefinition
ThingTypeDefinition(Aws::Utils::Json::JsonView jsonValue)
ThingTypeProperties.h
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeName
ThingTypeDefinition & WithThingTypeName(Aws::String &&value)
Definition: ThingTypeDefinition.h:76
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeName
void SetThingTypeName(const char *value)
Definition: ThingTypeDefinition.h:66
Aws::IoT::Model::ThingTypeDefinition::GetThingTypeName
const Aws::String & GetThingTypeName() const
Definition: ThingTypeDefinition.h:46
Aws::IoT::Model::ThingTypeDefinition::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeName
ThingTypeDefinition & WithThingTypeName(const char *value)
Definition: ThingTypeDefinition.h:81
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::ThingTypeDefinition::WithThingTypeProperties
ThingTypeDefinition & WithThingTypeProperties(const ThingTypeProperties &value)
Definition: ThingTypeDefinition.h:148
Aws::IoT::Model::ThingTypeDefinition::WithThingTypeArn
ThingTypeDefinition & WithThingTypeArn(Aws::String &&value)
Definition: ThingTypeDefinition.h:117
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeName
void SetThingTypeName(const Aws::String &value)
Definition: ThingTypeDefinition.h:56
Aws::IoT::Model::ThingTypeDefinition::SetThingTypeMetadata
void SetThingTypeMetadata(const ThingTypeMetadata &value)
Definition: ThingTypeDefinition.h:175
Aws::IoT::Model::ThingTypeDefinition::ThingTypeArnHasBeenSet
bool ThingTypeArnHasBeenSet() const
Definition: ThingTypeDefinition.h:92
IoT_EXPORTS.h