AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentPropertyGroupRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/GroupType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iottwinmaker/model/PropertyGroupUpdateType.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest() = default;
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline GroupType GetGroupType() const { return m_groupType; }
48 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
49 inline void SetGroupType(GroupType value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
50 inline ComponentPropertyGroupRequest& WithGroupType(GroupType value) { SetGroupType(value); return *this;}
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) { m_propertyNamesHasBeenSet = true; m_propertyNames = std::forward<PropertyNamesT>(value); }
61 template<typename PropertyNamesT = Aws::Vector<Aws::String>>
62 ComponentPropertyGroupRequest& WithPropertyNames(PropertyNamesT&& value) { SetPropertyNames(std::forward<PropertyNamesT>(value)); return *this;}
63 template<typename PropertyNamesT = Aws::String>
64 ComponentPropertyGroupRequest& AddPropertyNames(PropertyNamesT&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.emplace_back(std::forward<PropertyNamesT>(value)); return *this; }
66
68
71 inline PropertyGroupUpdateType GetUpdateType() const { return m_updateType; }
72 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
73 inline void SetUpdateType(PropertyGroupUpdateType value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
76 private:
77
78 GroupType m_groupType{GroupType::NOT_SET};
79 bool m_groupTypeHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_propertyNames;
82 bool m_propertyNamesHasBeenSet = false;
83
85 bool m_updateTypeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTTwinMaker
90} // 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