AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
PropertyGroupResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10#include <aws/iottwinmaker/model/GroupType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTTwinMaker {
22namespace Model {
23
30 public:
31 AWS_IOTTWINMAKER_API PropertyGroupResponse() = default;
32 AWS_IOTTWINMAKER_API PropertyGroupResponse(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline GroupType GetGroupType() const { return m_groupType; }
41 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
42 inline void SetGroupType(GroupType value) {
43 m_groupTypeHasBeenSet = true;
44 m_groupType = value;
45 }
47 SetGroupType(value);
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Aws::String>& GetPropertyNames() const { return m_propertyNames; }
57 inline bool PropertyNamesHasBeenSet() const { return m_propertyNamesHasBeenSet; }
58 template <typename PropertyNamesT = Aws::Vector<Aws::String>>
59 void SetPropertyNames(PropertyNamesT&& value) {
60 m_propertyNamesHasBeenSet = true;
61 m_propertyNames = std::forward<PropertyNamesT>(value);
62 }
63 template <typename PropertyNamesT = Aws::Vector<Aws::String>>
64 PropertyGroupResponse& WithPropertyNames(PropertyNamesT&& value) {
65 SetPropertyNames(std::forward<PropertyNamesT>(value));
66 return *this;
67 }
68 template <typename PropertyNamesT = Aws::String>
69 PropertyGroupResponse& AddPropertyNames(PropertyNamesT&& value) {
70 m_propertyNamesHasBeenSet = true;
71 m_propertyNames.emplace_back(std::forward<PropertyNamesT>(value));
72 return *this;
73 }
75
77
81 inline bool GetIsInherited() const { return m_isInherited; }
82 inline bool IsInheritedHasBeenSet() const { return m_isInheritedHasBeenSet; }
83 inline void SetIsInherited(bool value) {
84 m_isInheritedHasBeenSet = true;
85 m_isInherited = value;
86 }
88 SetIsInherited(value);
89 return *this;
90 }
92 private:
93 GroupType m_groupType{GroupType::NOT_SET};
94
95 Aws::Vector<Aws::String> m_propertyNames;
96
97 bool m_isInherited{false};
98 bool m_groupTypeHasBeenSet = false;
99 bool m_propertyNamesHasBeenSet = false;
100 bool m_isInheritedHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace IoTTwinMaker
105} // namespace Aws
PropertyGroupResponse & WithIsInherited(bool value)
PropertyGroupResponse & WithPropertyNames(PropertyNamesT &&value)
AWS_IOTTWINMAKER_API PropertyGroupResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetPropertyNames() const
PropertyGroupResponse & WithGroupType(GroupType value)
PropertyGroupResponse & AddPropertyNames(PropertyNamesT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API PropertyGroupResponse()=default
AWS_IOTTWINMAKER_API PropertyGroupResponse(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue