AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const GroupType& GetGroupType() const{ return m_groupType; }
48 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
49 inline void SetGroupType(const GroupType& value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
50 inline void SetGroupType(GroupType&& value) { m_groupTypeHasBeenSet = true; m_groupType = std::move(value); }
51 inline ComponentPropertyGroupRequest& WithGroupType(const GroupType& value) { SetGroupType(value); return *this;}
52 inline ComponentPropertyGroupRequest& WithGroupType(GroupType&& value) { SetGroupType(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetPropertyNames() const{ return m_propertyNames; }
60 inline bool PropertyNamesHasBeenSet() const { return m_propertyNamesHasBeenSet; }
61 inline void SetPropertyNames(const Aws::Vector<Aws::String>& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = value; }
62 inline void SetPropertyNames(Aws::Vector<Aws::String>&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = std::move(value); }
65 inline ComponentPropertyGroupRequest& AddPropertyNames(const Aws::String& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
66 inline ComponentPropertyGroupRequest& AddPropertyNames(Aws::String&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(std::move(value)); return *this; }
67 inline ComponentPropertyGroupRequest& AddPropertyNames(const char* value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
69
71
74 inline const PropertyGroupUpdateType& GetUpdateType() const{ return m_updateType; }
75 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
76 inline void SetUpdateType(const PropertyGroupUpdateType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
77 inline void SetUpdateType(PropertyGroupUpdateType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); }
79 inline ComponentPropertyGroupRequest& WithUpdateType(PropertyGroupUpdateType&& value) { SetUpdateType(std::move(value)); return *this;}
81 private:
82
83 GroupType m_groupType;
84 bool m_groupTypeHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_propertyNames;
87 bool m_propertyNamesHasBeenSet = false;
88
89 PropertyGroupUpdateType m_updateType;
90 bool m_updateTypeHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTTwinMaker
95} // namespace Aws
AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentPropertyGroupRequest & WithUpdateType(PropertyGroupUpdateType &&value)
ComponentPropertyGroupRequest & AddPropertyNames(const Aws::String &value)
ComponentPropertyGroupRequest & AddPropertyNames(const char *value)
void SetPropertyNames(const Aws::Vector< Aws::String > &value)
ComponentPropertyGroupRequest & WithUpdateType(const PropertyGroupUpdateType &value)
ComponentPropertyGroupRequest & WithPropertyNames(const Aws::Vector< Aws::String > &value)
ComponentPropertyGroupRequest & WithGroupType(GroupType &&value)
AWS_IOTTWINMAKER_API ComponentPropertyGroupRequest(Aws::Utils::Json::JsonView jsonValue)
ComponentPropertyGroupRequest & WithPropertyNames(Aws::Vector< Aws::String > &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentPropertyGroupRequest & WithGroupType(const GroupType &value)
ComponentPropertyGroupRequest & AddPropertyNames(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue