AWS SDK for C++  1.9.47
AWS SDK for C++
ThingTypeProperties.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 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetThingTypeDescription() const{ return m_thingTypeDescription; }
47 
51  inline bool ThingTypeDescriptionHasBeenSet() const { return m_thingTypeDescriptionHasBeenSet; }
52 
56  inline void SetThingTypeDescription(const Aws::String& value) { m_thingTypeDescriptionHasBeenSet = true; m_thingTypeDescription = value; }
57 
61  inline void SetThingTypeDescription(Aws::String&& value) { m_thingTypeDescriptionHasBeenSet = true; m_thingTypeDescription = std::move(value); }
62 
66  inline void SetThingTypeDescription(const char* value) { m_thingTypeDescriptionHasBeenSet = true; m_thingTypeDescription.assign(value); }
67 
71  inline ThingTypeProperties& WithThingTypeDescription(const Aws::String& value) { SetThingTypeDescription(value); return *this;}
72 
76  inline ThingTypeProperties& WithThingTypeDescription(Aws::String&& value) { SetThingTypeDescription(std::move(value)); return *this;}
77 
81  inline ThingTypeProperties& WithThingTypeDescription(const char* value) { SetThingTypeDescription(value); return *this;}
82 
83 
87  inline const Aws::Vector<Aws::String>& GetSearchableAttributes() const{ return m_searchableAttributes; }
88 
92  inline bool SearchableAttributesHasBeenSet() const { return m_searchableAttributesHasBeenSet; }
93 
97  inline void SetSearchableAttributes(const Aws::Vector<Aws::String>& value) { m_searchableAttributesHasBeenSet = true; m_searchableAttributes = value; }
98 
102  inline void SetSearchableAttributes(Aws::Vector<Aws::String>&& value) { m_searchableAttributesHasBeenSet = true; m_searchableAttributes = std::move(value); }
103 
107  inline ThingTypeProperties& WithSearchableAttributes(const Aws::Vector<Aws::String>& value) { SetSearchableAttributes(value); return *this;}
108 
112  inline ThingTypeProperties& WithSearchableAttributes(Aws::Vector<Aws::String>&& value) { SetSearchableAttributes(std::move(value)); return *this;}
113 
117  inline ThingTypeProperties& AddSearchableAttributes(const Aws::String& value) { m_searchableAttributesHasBeenSet = true; m_searchableAttributes.push_back(value); return *this; }
118 
122  inline ThingTypeProperties& AddSearchableAttributes(Aws::String&& value) { m_searchableAttributesHasBeenSet = true; m_searchableAttributes.push_back(std::move(value)); return *this; }
123 
127  inline ThingTypeProperties& AddSearchableAttributes(const char* value) { m_searchableAttributesHasBeenSet = true; m_searchableAttributes.push_back(value); return *this; }
128 
129  private:
130 
131  Aws::String m_thingTypeDescription;
132  bool m_thingTypeDescriptionHasBeenSet;
133 
134  Aws::Vector<Aws::String> m_searchableAttributes;
135  bool m_searchableAttributesHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace IoT
140 } // namespace Aws
Aws::IoT::Model::ThingTypeProperties::AddSearchableAttributes
ThingTypeProperties & AddSearchableAttributes(const char *value)
Definition: ThingTypeProperties.h:127
Aws::IoT::Model::ThingTypeProperties::GetThingTypeDescription
const Aws::String & GetThingTypeDescription() const
Definition: ThingTypeProperties.h:46
Aws::IoT::Model::ThingTypeProperties::GetSearchableAttributes
const Aws::Vector< Aws::String > & GetSearchableAttributes() const
Definition: ThingTypeProperties.h:87
Aws::IoT::Model::ThingTypeProperties::SetThingTypeDescription
void SetThingTypeDescription(const char *value)
Definition: ThingTypeProperties.h:66
Aws::IoT::Model::ThingTypeProperties::WithSearchableAttributes
ThingTypeProperties & WithSearchableAttributes(Aws::Vector< Aws::String > &&value)
Definition: ThingTypeProperties.h:112
Aws::IoT::Model::ThingTypeProperties::SetSearchableAttributes
void SetSearchableAttributes(Aws::Vector< Aws::String > &&value)
Definition: ThingTypeProperties.h:102
Aws::IoT::Model::ThingTypeProperties::AddSearchableAttributes
ThingTypeProperties & AddSearchableAttributes(const Aws::String &value)
Definition: ThingTypeProperties.h:117
Aws::IoT::Model::ThingTypeProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::ThingTypeProperties::AddSearchableAttributes
ThingTypeProperties & AddSearchableAttributes(Aws::String &&value)
Definition: ThingTypeProperties.h:122
Aws::IoT::Model::ThingTypeProperties
Definition: ThingTypeProperties.h:35
Aws::IoT::Model::ThingTypeProperties::ThingTypeProperties
ThingTypeProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::ThingTypeProperties::SearchableAttributesHasBeenSet
bool SearchableAttributesHasBeenSet() const
Definition: ThingTypeProperties.h:92
Aws::IoT::Model::ThingTypeProperties::SetThingTypeDescription
void SetThingTypeDescription(Aws::String &&value)
Definition: ThingTypeProperties.h:61
Aws::IoT::Model::ThingTypeProperties::WithThingTypeDescription
ThingTypeProperties & WithThingTypeDescription(const char *value)
Definition: ThingTypeProperties.h:81
Aws::IoT::Model::ThingTypeProperties::SetSearchableAttributes
void SetSearchableAttributes(const Aws::Vector< Aws::String > &value)
Definition: ThingTypeProperties.h:97
Aws::IoT::Model::ThingTypeProperties::ThingTypeDescriptionHasBeenSet
bool ThingTypeDescriptionHasBeenSet() const
Definition: ThingTypeProperties.h:51
Aws::IoT::Model::ThingTypeProperties::SetThingTypeDescription
void SetThingTypeDescription(const Aws::String &value)
Definition: ThingTypeProperties.h:56
Aws::IoT::Model::ThingTypeProperties::WithSearchableAttributes
ThingTypeProperties & WithSearchableAttributes(const Aws::Vector< Aws::String > &value)
Definition: ThingTypeProperties.h:107
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoT::Model::ThingTypeProperties::WithThingTypeDescription
ThingTypeProperties & WithThingTypeDescription(const Aws::String &value)
Definition: ThingTypeProperties.h:71
Aws::IoT::Model::ThingTypeProperties::operator=
ThingTypeProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
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::ThingTypeProperties::ThingTypeProperties
ThingTypeProperties()
Aws::IoT::Model::ThingTypeProperties::WithThingTypeDescription
ThingTypeProperties & WithThingTypeDescription(Aws::String &&value)
Definition: ThingTypeProperties.h:76
IoT_EXPORTS.h