AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ThingGroupProperties.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/AttributePayload.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoT
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOT_API ThingGroupProperties();
39
40
42
45 inline const Aws::String& GetThingGroupDescription() const{ return m_thingGroupDescription; }
46 inline bool ThingGroupDescriptionHasBeenSet() const { return m_thingGroupDescriptionHasBeenSet; }
47 inline void SetThingGroupDescription(const Aws::String& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = value; }
48 inline void SetThingGroupDescription(Aws::String&& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = std::move(value); }
49 inline void SetThingGroupDescription(const char* value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription.assign(value); }
51 inline ThingGroupProperties& WithThingGroupDescription(Aws::String&& value) { SetThingGroupDescription(std::move(value)); return *this;}
52 inline ThingGroupProperties& WithThingGroupDescription(const char* value) { SetThingGroupDescription(value); return *this;}
54
56
59 inline const AttributePayload& GetAttributePayload() const{ return m_attributePayload; }
60 inline bool AttributePayloadHasBeenSet() const { return m_attributePayloadHasBeenSet; }
61 inline void SetAttributePayload(const AttributePayload& value) { m_attributePayloadHasBeenSet = true; m_attributePayload = value; }
62 inline void SetAttributePayload(AttributePayload&& value) { m_attributePayloadHasBeenSet = true; m_attributePayload = std::move(value); }
64 inline ThingGroupProperties& WithAttributePayload(AttributePayload&& value) { SetAttributePayload(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_thingGroupDescription;
69 bool m_thingGroupDescriptionHasBeenSet = false;
70
71 AttributePayload m_attributePayload;
72 bool m_attributePayloadHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
ThingGroupProperties & WithAttributePayload(AttributePayload &&value)
ThingGroupProperties & WithThingGroupDescription(const Aws::String &value)
ThingGroupProperties & WithThingGroupDescription(const char *value)
void SetThingGroupDescription(const Aws::String &value)
const AttributePayload & GetAttributePayload() const
void SetThingGroupDescription(Aws::String &&value)
AWS_IOT_API ThingGroupProperties(Aws::Utils::Json::JsonView jsonValue)
ThingGroupProperties & WithAttributePayload(const AttributePayload &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ThingGroupProperties & WithThingGroupDescription(Aws::String &&value)
void SetThingGroupDescription(const char *value)
void SetAttributePayload(const AttributePayload &value)
const Aws::String & GetThingGroupDescription() const
void SetAttributePayload(AttributePayload &&value)
AWS_IOT_API ThingGroupProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue