AWS SDK for C++  1.9.108
AWS SDK for C++
GroupIdentifier.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ResourceGroups
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetGroupName() const{ return m_groupName; }
44 
48  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
49 
53  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
54 
58  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
59 
63  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
64 
68  inline GroupIdentifier& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
69 
73  inline GroupIdentifier& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
74 
78  inline GroupIdentifier& WithGroupName(const char* value) { SetGroupName(value); return *this;}
79 
80 
84  inline const Aws::String& GetGroupArn() const{ return m_groupArn; }
85 
89  inline bool GroupArnHasBeenSet() const { return m_groupArnHasBeenSet; }
90 
94  inline void SetGroupArn(const Aws::String& value) { m_groupArnHasBeenSet = true; m_groupArn = value; }
95 
99  inline void SetGroupArn(Aws::String&& value) { m_groupArnHasBeenSet = true; m_groupArn = std::move(value); }
100 
104  inline void SetGroupArn(const char* value) { m_groupArnHasBeenSet = true; m_groupArn.assign(value); }
105 
109  inline GroupIdentifier& WithGroupArn(const Aws::String& value) { SetGroupArn(value); return *this;}
110 
114  inline GroupIdentifier& WithGroupArn(Aws::String&& value) { SetGroupArn(std::move(value)); return *this;}
115 
119  inline GroupIdentifier& WithGroupArn(const char* value) { SetGroupArn(value); return *this;}
120 
121  private:
122 
123  Aws::String m_groupName;
124  bool m_groupNameHasBeenSet;
125 
126  Aws::String m_groupArn;
127  bool m_groupArnHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace ResourceGroups
132 } // namespace Aws
Aws::ResourceGroups::Model::GroupIdentifier::SetGroupName
void SetGroupName(const char *value)
Definition: GroupIdentifier.h:63
Aws::ResourceGroups::Model::GroupIdentifier::WithGroupName
GroupIdentifier & WithGroupName(const char *value)
Definition: GroupIdentifier.h:78
Aws::ResourceGroups::Model::GroupIdentifier::GroupIdentifier
GroupIdentifier()
Aws::ResourceGroups::Model::GroupIdentifier::SetGroupArn
void SetGroupArn(const Aws::String &value)
Definition: GroupIdentifier.h:94
Aws::ResourceGroups::Model::GroupIdentifier
Definition: GroupIdentifier.h:32
Aws::ResourceGroups::Model::GroupIdentifier::GetGroupArn
const Aws::String & GetGroupArn() const
Definition: GroupIdentifier.h:84
AWS_RESOURCEGROUPS_API
#define AWS_RESOURCEGROUPS_API
Definition: ResourceGroups_EXPORTS.h:28
Aws::ResourceGroups::Model::GroupIdentifier::WithGroupName
GroupIdentifier & WithGroupName(Aws::String &&value)
Definition: GroupIdentifier.h:73
Aws::ResourceGroups::Model::GroupIdentifier::GroupArnHasBeenSet
bool GroupArnHasBeenSet() const
Definition: GroupIdentifier.h:89
Aws::ResourceGroups::Model::GroupIdentifier::WithGroupArn
GroupIdentifier & WithGroupArn(Aws::String &&value)
Definition: GroupIdentifier.h:114
Aws::ResourceGroups::Model::GroupIdentifier::GroupIdentifier
GroupIdentifier(Aws::Utils::Json::JsonView jsonValue)
Aws::ResourceGroups::Model::GroupIdentifier::WithGroupName
GroupIdentifier & WithGroupName(const Aws::String &value)
Definition: GroupIdentifier.h:68
Aws::ResourceGroups::Model::GroupIdentifier::WithGroupArn
GroupIdentifier & WithGroupArn(const Aws::String &value)
Definition: GroupIdentifier.h:109
Aws::ResourceGroups::Model::GroupIdentifier::WithGroupArn
GroupIdentifier & WithGroupArn(const char *value)
Definition: GroupIdentifier.h:119
Aws::ResourceGroups::Model::GroupIdentifier::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: GroupIdentifier.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ResourceGroups::Model::GroupIdentifier::operator=
GroupIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ResourceGroups::Model::GroupIdentifier::SetGroupArn
void SetGroupArn(Aws::String &&value)
Definition: GroupIdentifier.h:99
Aws::ResourceGroups::Model::GroupIdentifier::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::ResourceGroups::Model::GroupIdentifier::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: GroupIdentifier.h:53
ResourceGroups_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ResourceGroups::Model::GroupIdentifier::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: GroupIdentifier.h:58
Aws::ResourceGroups::Model::GroupIdentifier::SetGroupArn
void SetGroupArn(const char *value)
Definition: GroupIdentifier.h:104
Aws::ResourceGroups::Model::GroupIdentifier::GetGroupName
const Aws::String & GetGroupName() const
Definition: GroupIdentifier.h:43