AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
47 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
48 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
49 inline GroupIdentifier& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
50 inline GroupIdentifier& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
51 inline GroupIdentifier& WithGroupName(const char* value) { SetGroupName(value); return *this;}
53
55
58 inline const Aws::String& GetGroupArn() const{ return m_groupArn; }
59 inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
60 inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; }
61 inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); }
62 inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); }
63 inline GroupIdentifier& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;}
64 inline GroupIdentifier& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;}
65 inline GroupIdentifier& WithGroupArn(const char* value) { SetGroupArn(value); return *this;}
67
69
72 inline const Aws::String& GetDescription() const{ return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
75 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
76 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
77 inline GroupIdentifier& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
78 inline GroupIdentifier& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
79 inline GroupIdentifier& WithDescription(const char* value) { SetDescription(value); return *this;}
81
83
87 inline int GetCriticality() const{ return m_criticality; }
88 inline bool CriticalityHasBeenSet() const { return m_criticalityHasBeenSet; }
89 inline void SetCriticality(int value) { m_criticalityHasBeenSet = true; m_criticality = value; }
90 inline GroupIdentifier& WithCriticality(int value) { SetCriticality(value); return *this;}
92
94
98 inline const Aws::String& GetOwner() const{ return m_owner; }
99 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
100 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
101 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
102 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
103 inline GroupIdentifier& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
104 inline GroupIdentifier& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
105 inline GroupIdentifier& WithOwner(const char* value) { SetOwner(value); return *this;}
107
109
112 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
113 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
114 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
115 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
116 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
117 inline GroupIdentifier& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
118 inline GroupIdentifier& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
119 inline GroupIdentifier& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
121 private:
122
123 Aws::String m_groupName;
124 bool m_groupNameHasBeenSet = false;
125
126 Aws::String m_groupArn;
127 bool m_groupArnHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131
132 int m_criticality;
133 bool m_criticalityHasBeenSet = false;
134
135 Aws::String m_owner;
136 bool m_ownerHasBeenSet = false;
137
138 Aws::String m_displayName;
139 bool m_displayNameHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace ResourceGroups
144} // namespace Aws
void SetOwner(const Aws::String &value)
AWS_RESOURCEGROUPS_API GroupIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupIdentifier & WithGroupName(const char *value)
void SetGroupArn(const Aws::String &value)
GroupIdentifier & WithGroupArn(const Aws::String &value)
GroupIdentifier & WithOwner(Aws::String &&value)
void SetDescription(const Aws::String &value)
GroupIdentifier & WithDescription(Aws::String &&value)
GroupIdentifier & WithDescription(const char *value)
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDisplayName(const Aws::String &value)
GroupIdentifier & WithOwner(const char *value)
GroupIdentifier & WithGroupArn(const char *value)
GroupIdentifier & WithDisplayName(const char *value)
GroupIdentifier & WithCriticality(int value)
void SetGroupName(const Aws::String &value)
GroupIdentifier & WithGroupName(Aws::String &&value)
const Aws::String & GetDescription() const
AWS_RESOURCEGROUPS_API GroupIdentifier()
GroupIdentifier & WithGroupName(const Aws::String &value)
GroupIdentifier & WithDisplayName(const Aws::String &value)
AWS_RESOURCEGROUPS_API GroupIdentifier(Aws::Utils::Json::JsonView jsonValue)
GroupIdentifier & WithOwner(const Aws::String &value)
GroupIdentifier & WithDisplayName(Aws::String &&value)
GroupIdentifier & WithDescription(const Aws::String &value)
GroupIdentifier & WithGroupArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue