AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PropertyGroupResponse.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 PropertyGroupResponse() = default;
37 AWS_IOTTWINMAKER_API PropertyGroupResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline GroupType GetGroupType() const { return m_groupType; }
47 inline bool GroupTypeHasBeenSet() const { return m_groupTypeHasBeenSet; }
48 inline void SetGroupType(GroupType value) { m_groupTypeHasBeenSet = true; m_groupType = value; }
49 inline PropertyGroupResponse& WithGroupType(GroupType value) { SetGroupType(value); return *this;}
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) { m_propertyNamesHasBeenSet = true; m_propertyNames = std::forward<PropertyNamesT>(value); }
60 template<typename PropertyNamesT = Aws::Vector<Aws::String>>
61 PropertyGroupResponse& WithPropertyNames(PropertyNamesT&& value) { SetPropertyNames(std::forward<PropertyNamesT>(value)); return *this;}
62 template<typename PropertyNamesT = Aws::String>
63 PropertyGroupResponse& AddPropertyNames(PropertyNamesT&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.emplace_back(std::forward<PropertyNamesT>(value)); return *this; }
65
67
71 inline bool GetIsInherited() const { return m_isInherited; }
72 inline bool IsInheritedHasBeenSet() const { return m_isInheritedHasBeenSet; }
73 inline void SetIsInherited(bool value) { m_isInheritedHasBeenSet = true; m_isInherited = value; }
74 inline PropertyGroupResponse& WithIsInherited(bool value) { SetIsInherited(value); return *this;}
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
84 bool m_isInherited{false};
85 bool m_isInheritedHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace IoTTwinMaker
90} // 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