AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentPropertyGroupResponse.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/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOTTWINMAKER_API ComponentPropertyGroupResponse();
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const GroupType& GetGroupType() const{ return m_groupType; }
47 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
48 inline void SetGroupType(const GroupType& value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
49 inline void SetGroupType(GroupType&& value) { m_groupTypeHasBeenSet = true; m_groupType = std::move(value); }
50 inline ComponentPropertyGroupResponse& WithGroupType(const GroupType& value) { SetGroupType(value); return *this;}
51 inline ComponentPropertyGroupResponse& WithGroupType(GroupType&& value) { SetGroupType(std::move(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetPropertyNames() const{ return m_propertyNames; }
59 inline bool PropertyNamesHasBeenSet() const { return m_propertyNamesHasBeenSet; }
60 inline void SetPropertyNames(const Aws::Vector<Aws::String>& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = value; }
61 inline void SetPropertyNames(Aws::Vector<Aws::String>&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames = std::move(value); }
64 inline ComponentPropertyGroupResponse& AddPropertyNames(const Aws::String& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
65 inline ComponentPropertyGroupResponse& AddPropertyNames(Aws::String&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(std::move(value)); return *this; }
66 inline ComponentPropertyGroupResponse& AddPropertyNames(const char* value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
68
70
74 inline bool GetIsInherited() const{ return m_isInherited; }
75 inline bool IsInheritedHasBeenSet() const { return m_isInheritedHasBeenSet; }
76 inline void SetIsInherited(bool value) { m_isInheritedHasBeenSet = true; m_isInherited = value; }
77 inline ComponentPropertyGroupResponse& WithIsInherited(bool value) { SetIsInherited(value); return *this;}
79 private:
80
81 GroupType m_groupType;
82 bool m_groupTypeHasBeenSet = false;
83
84 Aws::Vector<Aws::String> m_propertyNames;
85 bool m_propertyNamesHasBeenSet = false;
86
87 bool m_isInherited;
88 bool m_isInheritedHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoTTwinMaker
93} // namespace Aws
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API ComponentPropertyGroupResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API ComponentPropertyGroupResponse(Aws::Utils::Json::JsonView jsonValue)
ComponentPropertyGroupResponse & WithGroupType(GroupType &&value)
ComponentPropertyGroupResponse & AddPropertyNames(Aws::String &&value)
ComponentPropertyGroupResponse & AddPropertyNames(const Aws::String &value)
ComponentPropertyGroupResponse & WithPropertyNames(const Aws::Vector< Aws::String > &value)
ComponentPropertyGroupResponse & WithPropertyNames(Aws::Vector< Aws::String > &&value)
ComponentPropertyGroupResponse & WithGroupType(const GroupType &value)
ComponentPropertyGroupResponse & AddPropertyNames(const char *value)
void SetPropertyNames(const Aws::Vector< 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