AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
39
40
42
45 inline const Aws::String& GetThingGroupDescription() const { return m_thingGroupDescription; }
46 inline bool ThingGroupDescriptionHasBeenSet() const { return m_thingGroupDescriptionHasBeenSet; }
47 template<typename ThingGroupDescriptionT = Aws::String>
48 void SetThingGroupDescription(ThingGroupDescriptionT&& value) { m_thingGroupDescriptionHasBeenSet = true; m_thingGroupDescription = std::forward<ThingGroupDescriptionT>(value); }
49 template<typename ThingGroupDescriptionT = Aws::String>
50 ThingGroupProperties& WithThingGroupDescription(ThingGroupDescriptionT&& value) { SetThingGroupDescription(std::forward<ThingGroupDescriptionT>(value)); return *this;}
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) { m_attributePayloadHasBeenSet = true; m_attributePayload = std::forward<AttributePayloadT>(value); }
61 template<typename AttributePayloadT = AttributePayload>
62 ThingGroupProperties& WithAttributePayload(AttributePayloadT&& value) { SetAttributePayload(std::forward<AttributePayloadT>(value)); return *this;}
64 private:
65
66 Aws::String m_thingGroupDescription;
67 bool m_thingGroupDescriptionHasBeenSet = false;
68
69 AttributePayload m_attributePayload;
70 bool m_attributePayloadHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoT
75} // 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