AWS SDK for C++  1.9.132
AWS SDK for C++
ThingGroupProperties.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetThingGroupDescription() const{ return m_thingGroupDescription; }
45 
49  inline bool ThingGroupDescriptionHasBeenSet() const { return m_thingGroupDescriptionHasBeenSet; }
50 
54  inline void SetThingGroupDescription(const Aws::String& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = value; }
55 
59  inline void SetThingGroupDescription(Aws::String&& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = std::move(value); }
60 
64  inline void SetThingGroupDescription(const char* value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription.assign(value); }
65 
69  inline ThingGroupProperties& WithThingGroupDescription(const Aws::String& value) { SetThingGroupDescription(value); return *this;}
70 
74  inline ThingGroupProperties& WithThingGroupDescription(Aws::String&& value) { SetThingGroupDescription(std::move(value)); return *this;}
75 
79  inline ThingGroupProperties& WithThingGroupDescription(const char* value) { SetThingGroupDescription(value); return *this;}
80 
81 
85  inline const AttributePayload& GetAttributePayload() const{ return m_attributePayload; }
86 
90  inline bool AttributePayloadHasBeenSet() const { return m_attributePayloadHasBeenSet; }
91 
95  inline void SetAttributePayload(const AttributePayload& value) { m_attributePayloadHasBeenSet = true; m_attributePayload = value; }
96 
100  inline void SetAttributePayload(AttributePayload&& value) { m_attributePayloadHasBeenSet = true; m_attributePayload = std::move(value); }
101 
105  inline ThingGroupProperties& WithAttributePayload(const AttributePayload& value) { SetAttributePayload(value); return *this;}
106 
110  inline ThingGroupProperties& WithAttributePayload(AttributePayload&& value) { SetAttributePayload(std::move(value)); return *this;}
111 
112  private:
113 
114  Aws::String m_thingGroupDescription;
115  bool m_thingGroupDescriptionHasBeenSet;
116 
117  AttributePayload m_attributePayload;
118  bool m_attributePayloadHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace IoT
123 } // namespace Aws
AttributePayload.h
Aws::IoT::Model::ThingGroupProperties::WithThingGroupDescription
ThingGroupProperties & WithThingGroupDescription(const Aws::String &value)
Definition: ThingGroupProperties.h:69
Aws::IoT::Model::ThingGroupProperties::SetThingGroupDescription
void SetThingGroupDescription(Aws::String &&value)
Definition: ThingGroupProperties.h:59
Aws::IoT::Model::ThingGroupProperties::operator=
ThingGroupProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ThingGroupProperties::SetThingGroupDescription
void SetThingGroupDescription(const Aws::String &value)
Definition: ThingGroupProperties.h:54
Aws::IoT::Model::ThingGroupProperties::ThingGroupProperties
ThingGroupProperties()
Aws::IoT::Model::ThingGroupProperties::WithAttributePayload
ThingGroupProperties & WithAttributePayload(AttributePayload &&value)
Definition: ThingGroupProperties.h:110
Aws::IoT::Model::ThingGroupProperties::WithThingGroupDescription
ThingGroupProperties & WithThingGroupDescription(Aws::String &&value)
Definition: ThingGroupProperties.h:74
Aws::IoT::Model::ThingGroupProperties::GetAttributePayload
const AttributePayload & GetAttributePayload() const
Definition: ThingGroupProperties.h:85
Aws::IoT::Model::AttributePayload
Definition: AttributePayload.h:33
Aws::IoT::Model::ThingGroupProperties::ThingGroupProperties
ThingGroupProperties(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::ThingGroupProperties::SetAttributePayload
void SetAttributePayload(AttributePayload &&value)
Definition: ThingGroupProperties.h:100
Aws::IoT::Model::ThingGroupProperties::SetThingGroupDescription
void SetThingGroupDescription(const char *value)
Definition: ThingGroupProperties.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::ThingGroupProperties::AttributePayloadHasBeenSet
bool AttributePayloadHasBeenSet() const
Definition: ThingGroupProperties.h:90
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::ThingGroupProperties::ThingGroupDescriptionHasBeenSet
bool ThingGroupDescriptionHasBeenSet() const
Definition: ThingGroupProperties.h:49
Aws::IoT::Model::ThingGroupProperties
Definition: ThingGroupProperties.h:33
Aws::IoT::Model::ThingGroupProperties::GetThingGroupDescription
const Aws::String & GetThingGroupDescription() const
Definition: ThingGroupProperties.h:44
Aws::IoT::Model::ThingGroupProperties::WithAttributePayload
ThingGroupProperties & WithAttributePayload(const AttributePayload &value)
Definition: ThingGroupProperties.h:105
Aws::IoT::Model::ThingGroupProperties::WithThingGroupDescription
ThingGroupProperties & WithThingGroupDescription(const char *value)
Definition: ThingGroupProperties.h:79
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::ThingGroupProperties::SetAttributePayload
void SetAttributePayload(const AttributePayload &value)
Definition: ThingGroupProperties.h:95
IoT_EXPORTS.h
Aws::IoT::Model::ThingGroupProperties::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const