AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GroupIdentifier.h
1
6#pragma once
7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ResourceGroups
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_RESOURCEGROUPS_API GroupIdentifier() = default;
35 AWS_RESOURCEGROUPS_API GroupIdentifier(Aws::Utils::Json::JsonView jsonValue);
36 AWS_RESOURCEGROUPS_API GroupIdentifier& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetGroupName() const { return m_groupName; }
45 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
46 template<typename GroupNameT = Aws::String>
47 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
48 template<typename GroupNameT = Aws::String>
49 GroupIdentifier& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
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) { m_groupArnHasBeenSet = true; m_groupArn = std::forward<GroupArnT>(value); }
60 template<typename GroupArnT = Aws::String>
61 GroupIdentifier& WithGroupArn(GroupArnT&& value) { SetGroupArn(std::forward<GroupArnT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 GroupIdentifier& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
81 inline int GetCriticality() const { return m_criticality; }
82 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
83 inline void SetCriticality(int value) { m_criticalityHasBeenSet = true; m_criticality = value; }
84 inline GroupIdentifier& WithCriticality(int value) { SetCriticality(value); return *this;}
86
88
92 inline const Aws::String& GetOwner() const { return m_owner; }
93 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
94 template<typename OwnerT = Aws::String>
95 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet = true; m_owner = std::forward<OwnerT>(value); }
96 template<typename OwnerT = Aws::String>
97 GroupIdentifier& WithOwner(OwnerT&& value) { SetOwner(std::forward<OwnerT>(value)); return *this;}
99
101
104 inline const Aws::String& GetDisplayName() const { return m_displayName; }
105 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
106 template<typename DisplayNameT = Aws::String>
107 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
108 template<typename DisplayNameT = Aws::String>
109 GroupIdentifier& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
111 private:
112
113 Aws::String m_groupName;
114 bool m_groupNameHasBeenSet = false;
115
116 Aws::String m_groupArn;
117 bool m_groupArnHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 int m_criticality{0};
123 bool m_criticalityHasBeenSet = false;
124
125 Aws::String m_owner;
126 bool m_ownerHasBeenSet = false;
127
128 Aws::String m_displayName;
129 bool m_displayNameHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ResourceGroups
134} // 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