AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ThingGroupProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/AttributePayload.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
29 public:
30 AWS_IOT_API ThingGroupProperties() = default;
34
36
39 inline const Aws::String& GetThingGroupDescription() const { return m_thingGroupDescription; }
40 inline bool ThingGroupDescriptionHasBeenSet() const { return m_thingGroupDescriptionHasBeenSet; }
41 template <typename ThingGroupDescriptionT = Aws::String>
42 void SetThingGroupDescription(ThingGroupDescriptionT&& value) {
43 m_thingGroupDescriptionHasBeenSet = true;
44 m_thingGroupDescription = std::forward<ThingGroupDescriptionT>(value);
45 }
46 template <typename ThingGroupDescriptionT = Aws::String>
47 ThingGroupProperties& WithThingGroupDescription(ThingGroupDescriptionT&& value) {
48 SetThingGroupDescription(std::forward<ThingGroupDescriptionT>(value));
49 return *this;
50 }
52
54
57 inline const AttributePayload& GetAttributePayload() const { return m_attributePayload; }
58 inline bool AttributePayloadHasBeenSet() const { return m_attributePayloadHasBeenSet; }
59 template <typename AttributePayloadT = AttributePayload>
60 void SetAttributePayload(AttributePayloadT&& value) {
61 m_attributePayloadHasBeenSet = true;
62 m_attributePayload = std::forward<AttributePayloadT>(value);
63 }
64 template <typename AttributePayloadT = AttributePayload>
65 ThingGroupProperties& WithAttributePayload(AttributePayloadT&& value) {
66 SetAttributePayload(std::forward<AttributePayloadT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_thingGroupDescription;
72 bool m_thingGroupDescriptionHasBeenSet = false;
73
74 AttributePayload m_attributePayload;
75 bool m_attributePayloadHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace IoT
80} // namespace Aws
ThingGroupProperties & WithThingGroupDescription(ThingGroupDescriptionT &&value)
const AttributePayload & GetAttributePayload() const
AWS_IOT_API ThingGroupProperties()=default
AWS_IOT_API ThingGroupProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetThingGroupDescription(ThingGroupDescriptionT &&value)
const Aws::String & GetThingGroupDescription() const
ThingGroupProperties & WithAttributePayload(AttributePayloadT &&value)
AWS_IOT_API ThingGroupProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAttributePayload(AttributePayloadT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue