AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ComponentPropertyGroupRequest.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#include <aws/iottwinmaker/model/PropertyGroupUpdateType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTTwinMaker {
23namespace Model {
24
31 public:
32 AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest() = default;
35 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline GroupType GetGroupType() const { return m_groupType; }
42 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
43 inline void SetGroupType(GroupType value) {
44 m_groupTypeHasBeenSet = true;
45 m_groupType = value;
46 }
48 SetGroupType(value);
49 return *this;
50 }
52
54
57 inline const Aws::Vector<Aws::String>& GetPropertyNames() const { return m_propertyNames; }
58 inline bool PropertyNamesHasBeenSet() const { return m_propertyNamesHasBeenSet; }
59 template <typename PropertyNamesT = Aws::Vector<Aws::String>>
60 void SetPropertyNames(PropertyNamesT&& value) {
61 m_propertyNamesHasBeenSet = true;
62 m_propertyNames = std::forward<PropertyNamesT>(value);
63 }
64 template <typename PropertyNamesT = Aws::Vector<Aws::String>>
66 SetPropertyNames(std::forward<PropertyNamesT>(value));
67 return *this;
68 }
69 template <typename PropertyNamesT = Aws::String>
71 m_propertyNamesHasBeenSet = true;
72 m_propertyNames.emplace_back(std::forward<PropertyNamesT>(value));
73 return *this;
74 }
76
78
81 inline PropertyGroupUpdateType GetUpdateType() const { return m_updateType; }
82 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
84 m_updateTypeHasBeenSet = true;
85 m_updateType = value;
86 }
88 SetUpdateType(value);
89 return *this;
90 }
92 private:
93 GroupType m_groupType{GroupType::NOT_SET};
94
95 Aws::Vector<Aws::String> m_propertyNames;
96
98 bool m_groupTypeHasBeenSet = false;
99 bool m_propertyNamesHasBeenSet = false;
100 bool m_updateTypeHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace IoTTwinMaker
105} // namespace Aws
AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentPropertyGroupRequest & AddPropertyNames(PropertyNamesT &&value)
AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest()=default
ComponentPropertyGroupRequest & WithGroupType(GroupType value)
ComponentPropertyGroupRequest & WithUpdateType(PropertyGroupUpdateType value)
AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentPropertyGroupRequest & WithPropertyNames(PropertyNamesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue