AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GroupIdentifier.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ResourceGroups {
20namespace Model {
21
28 public:
29 AWS_RESOURCEGROUPS_API GroupIdentifier() = default;
30 AWS_RESOURCEGROUPS_API GroupIdentifier(Aws::Utils::Json::JsonView jsonValue);
31 AWS_RESOURCEGROUPS_API GroupIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetGroupName() const { return m_groupName; }
39 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
40 template <typename GroupNameT = Aws::String>
41 void SetGroupName(GroupNameT&& value) {
42 m_groupNameHasBeenSet = true;
43 m_groupName = std::forward<GroupNameT>(value);
44 }
45 template <typename GroupNameT = Aws::String>
46 GroupIdentifier& WithGroupName(GroupNameT&& value) {
47 SetGroupName(std::forward<GroupNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetGroupArn() const { return m_groupArn; }
57 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
58 template <typename GroupArnT = Aws::String>
59 void SetGroupArn(GroupArnT&& value) {
60 m_groupArnHasBeenSet = true;
61 m_groupArn = std::forward<GroupArnT>(value);
62 }
63 template <typename GroupArnT = Aws::String>
64 GroupIdentifier& WithGroupArn(GroupArnT&& value) {
65 SetGroupArn(std::forward<GroupArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 GroupIdentifier& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
93 inline int GetCriticality() const { return m_criticality; }
94 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
95 inline void SetCriticality(int value) {
96 m_criticalityHasBeenSet = true;
97 m_criticality = value;
98 }
99 inline GroupIdentifier& WithCriticality(int value) {
100 SetCriticality(value);
101 return *this;
102 }
104
106
110 inline const Aws::String& GetOwner() const { return m_owner; }
111 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
112 template <typename OwnerT = Aws::String>
113 void SetOwner(OwnerT&& value) {
114 m_ownerHasBeenSet = true;
115 m_owner = std::forward<OwnerT>(value);
116 }
117 template <typename OwnerT = Aws::String>
118 GroupIdentifier& WithOwner(OwnerT&& value) {
119 SetOwner(std::forward<OwnerT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetDisplayName() const { return m_displayName; }
129 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
130 template <typename DisplayNameT = Aws::String>
131 void SetDisplayName(DisplayNameT&& value) {
132 m_displayNameHasBeenSet = true;
133 m_displayName = std::forward<DisplayNameT>(value);
134 }
135 template <typename DisplayNameT = Aws::String>
136 GroupIdentifier& WithDisplayName(DisplayNameT&& value) {
137 SetDisplayName(std::forward<DisplayNameT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_groupName;
143
144 Aws::String m_groupArn;
145
146 Aws::String m_description;
147
148 int m_criticality{0};
149
150 Aws::String m_owner;
151
152 Aws::String m_displayName;
153 bool m_groupNameHasBeenSet = false;
154 bool m_groupArnHasBeenSet = false;
155 bool m_descriptionHasBeenSet = false;
156 bool m_criticalityHasBeenSet = false;
157 bool m_ownerHasBeenSet = false;
158 bool m_displayNameHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace ResourceGroups
163} // namespace Aws
AWS_RESOURCEGROUPS_API GroupIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupIdentifier & WithGroupArn(GroupArnT &&value)
AWS_RESOURCEGROUPS_API GroupIdentifier()=default
GroupIdentifier & WithGroupName(GroupNameT &&value)
GroupIdentifier & WithOwner(OwnerT &&value)
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupIdentifier & WithCriticality(int value)
const Aws::String & GetDescription() const
AWS_RESOURCEGROUPS_API GroupIdentifier(Aws::Utils::Json::JsonView jsonValue)
GroupIdentifier & WithDisplayName(DisplayNameT &&value)
GroupIdentifier & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue