AWS SDK for C++  1.9.107
AWS SDK for C++
Group.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iam/IAM_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace IAM
23 {
24 namespace Model
25 {
26 
36  {
37  public:
38  Group();
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
51  inline const Aws::String& GetPath() const{ return m_path; }
52 
58  inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
59 
65  inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
66 
72  inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
73 
79  inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
80 
86  inline Group& WithPath(const Aws::String& value) { SetPath(value); return *this;}
87 
93  inline Group& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
94 
100  inline Group& WithPath(const char* value) { SetPath(value); return *this;}
101 
102 
106  inline const Aws::String& GetGroupName() const{ return m_groupName; }
107 
111  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
112 
116  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
117 
121  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
122 
126  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
127 
131  inline Group& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
132 
136  inline Group& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
137 
141  inline Group& WithGroupName(const char* value) { SetGroupName(value); return *this;}
142 
143 
150  inline const Aws::String& GetGroupId() const{ return m_groupId; }
151 
158  inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
159 
166  inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; }
167 
174  inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); }
175 
182  inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); }
183 
190  inline Group& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;}
191 
198  inline Group& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;}
199 
206  inline Group& WithGroupId(const char* value) { SetGroupId(value); return *this;}
207 
208 
215  inline const Aws::String& GetArn() const{ return m_arn; }
216 
223  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
224 
231  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
232 
239  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
240 
247  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
248 
255  inline Group& WithArn(const Aws::String& value) { SetArn(value); return *this;}
256 
263  inline Group& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
264 
271  inline Group& WithArn(const char* value) { SetArn(value); return *this;}
272 
273 
278  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
279 
284  inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
285 
290  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
291 
296  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
297 
302  inline Group& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
303 
308  inline Group& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
309 
310  private:
311 
312  Aws::String m_path;
313  bool m_pathHasBeenSet;
314 
315  Aws::String m_groupName;
316  bool m_groupNameHasBeenSet;
317 
318  Aws::String m_groupId;
319  bool m_groupIdHasBeenSet;
320 
321  Aws::String m_arn;
322  bool m_arnHasBeenSet;
323 
324  Aws::Utils::DateTime m_createDate;
325  bool m_createDateHasBeenSet;
326  };
327 
328 } // namespace Model
329 } // namespace IAM
330 } // namespace Aws
Aws::IAM::Model::Group::GetGroupId
const Aws::String & GetGroupId() const
Definition: Group.h:150
Aws::IAM::Model::Group::SetGroupId
void SetGroupId(const char *value)
Definition: Group.h:182
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IAM::Model::Group::WithGroupName
Group & WithGroupName(const Aws::String &value)
Definition: Group.h:131
Aws::IAM::Model::Group::GetPath
const Aws::String & GetPath() const
Definition: Group.h:51
Aws::IAM::Model::Group::GroupIdHasBeenSet
bool GroupIdHasBeenSet() const
Definition: Group.h:158
Aws::IAM::Model::Group::SetGroupId
void SetGroupId(Aws::String &&value)
Definition: Group.h:174
Aws::IAM::Model::Group::WithCreateDate
Group & WithCreateDate(const Aws::Utils::DateTime &value)
Definition: Group.h:302
Aws::IAM::Model::Group::WithPath
Group & WithPath(Aws::String &&value)
Definition: Group.h:93
Aws::IAM::Model::Group::WithGroupId
Group & WithGroupId(const Aws::String &value)
Definition: Group.h:190
Aws::IAM::Model::Group::Group
Group()
Aws::IAM::Model::Group::WithArn
Group & WithArn(const Aws::String &value)
Definition: Group.h:255
DateTime.h
Aws::IAM::Model::Group::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Group.h:223
Aws::EMR::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::IAM::Model::Group::CreateDateHasBeenSet
bool CreateDateHasBeenSet() const
Definition: Group.h:284
Aws::IAM::Model::Group::SetGroupName
void SetGroupName(const char *value)
Definition: Group.h:126
AWSStreamFwd.h
Aws::IAM::Model::Group::WithGroupId
Group & WithGroupId(const char *value)
Definition: Group.h:206
Aws::IAM::Model::Group::SetGroupId
void SetGroupId(const Aws::String &value)
Definition: Group.h:166
Aws::IAM::Model::Group::WithPath
Group & WithPath(const char *value)
Definition: Group.h:100
Aws::IAM::Model::Group::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::IAM::Model::Group::Group
Group(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::IAM::Model::Group::PathHasBeenSet
bool PathHasBeenSet() const
Definition: Group.h:58
Aws::IAM::Model::Group::WithPath
Group & WithPath(const Aws::String &value)
Definition: Group.h:86
Aws::IAM::Model::Group::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: Group.h:111
Aws::IAM::Model::Group::WithGroupName
Group & WithGroupName(Aws::String &&value)
Definition: Group.h:136
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
AWS_IAM_API
#define AWS_IAM_API
Definition: IAM_EXPORTS.h:28
Aws::IAM::Model::Group::SetArn
void SetArn(const char *value)
Definition: Group.h:247
Aws::IAM::Model::Group::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: Group.h:121
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::IAM::Model::Group
Definition: Group.h:36
Aws::IAM::Model::Group::GetArn
const Aws::String & GetArn() const
Definition: Group.h:215
AWSString.h
Aws::IAM::Model::Group::WithArn
Group & WithArn(Aws::String &&value)
Definition: Group.h:263
Aws::IAM::Model::Group::SetArn
void SetArn(const Aws::String &value)
Definition: Group.h:231
Aws::IAM::Model::Group::WithGroupId
Group & WithGroupId(Aws::String &&value)
Definition: Group.h:198
Aws::IAM::Model::Group::SetPath
void SetPath(const char *value)
Definition: Group.h:79
Aws::IAM::Model::Group::WithGroupName
Group & WithGroupName(const char *value)
Definition: Group.h:141
IAM_EXPORTS.h
Aws::IAM::Model::Group::WithCreateDate
Group & WithCreateDate(Aws::Utils::DateTime &&value)
Definition: Group.h:308
Aws::IAM::Model::Group::SetArn
void SetArn(Aws::String &&value)
Definition: Group.h:239
Aws
Definition: AccessManagementClient.h:15
Aws::IAM::Model::Group::WithArn
Group & WithArn(const char *value)
Definition: Group.h:271
Aws::IAM::Model::Group::SetCreateDate
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition: Group.h:296
Aws::IAM::Model::Group::GetCreateDate
const Aws::Utils::DateTime & GetCreateDate() const
Definition: Group.h:278
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IAM::Model::Group::GetGroupName
const Aws::String & GetGroupName() const
Definition: Group.h:106
Aws::IAM::Model::Group::SetCreateDate
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition: Group.h:290
index
int index
Definition: cJSON.h:181
Aws::IAM::Model::Group::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: Group.h:116
Aws::IAM::Model::Group::operator=
Group & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::IAM::Model::Group::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::IAM::Model::Group::SetPath
void SetPath(Aws::String &&value)
Definition: Group.h:72
Aws::IAM::Model::Group::SetPath
void SetPath(const Aws::String &value)
Definition: Group.h:65