AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 PropertyGroupResponse& WithGroupType(const GroupType& value) { SetGroupType(value); return *this;}
51 inline PropertyGroupResponse& 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); }
63 inline PropertyGroupResponse& WithPropertyNames(Aws::Vector<Aws::String>&& value) { SetPropertyNames(std::move(value)); return *this;}
64 inline PropertyGroupResponse& AddPropertyNames(const Aws::String& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(value); return *this; }
65 inline PropertyGroupResponse& AddPropertyNames(Aws::String&& value) { m_propertyNamesHasBeenSet = true; m_propertyNames.push_back(std::move(value)); return *this; }
66 inline PropertyGroupResponse& 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 PropertyGroupResponse& 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
PropertyGroupResponse & WithIsInherited(bool value)
AWS_IOTTWINMAKER_API PropertyGroupResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyGroupResponse & WithGroupType(const GroupType &value)
const Aws::Vector< Aws::String > & GetPropertyNames() const
PropertyGroupResponse & WithGroupType(GroupType &&value)
PropertyGroupResponse & AddPropertyNames(Aws::String &&value)
PropertyGroupResponse & AddPropertyNames(const Aws::String &value)
void SetPropertyNames(Aws::Vector< Aws::String > &&value)
PropertyGroupResponse & WithPropertyNames(Aws::Vector< Aws::String > &&value)
PropertyGroupResponse & AddPropertyNames(const char *value)
void SetPropertyNames(const Aws::Vector< Aws::String > &value)
PropertyGroupResponse & WithPropertyNames(const Aws::Vector< Aws::String > &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API PropertyGroupResponse(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue