AWS SDK for C++  1.9.40
AWS SDK for C++
CreateGroupMembershipRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace QuickSight
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "CreateGroupMembership"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetMemberName() const{ return m_memberName; }
39 
43  inline bool MemberNameHasBeenSet() const { return m_memberNameHasBeenSet; }
44 
48  inline void SetMemberName(const Aws::String& value) { m_memberNameHasBeenSet = true; m_memberName = value; }
49 
53  inline void SetMemberName(Aws::String&& value) { m_memberNameHasBeenSet = true; m_memberName = std::move(value); }
54 
58  inline void SetMemberName(const char* value) { m_memberNameHasBeenSet = true; m_memberName.assign(value); }
59 
63  inline CreateGroupMembershipRequest& WithMemberName(const Aws::String& value) { SetMemberName(value); return *this;}
64 
68  inline CreateGroupMembershipRequest& WithMemberName(Aws::String&& value) { SetMemberName(std::move(value)); return *this;}
69 
73  inline CreateGroupMembershipRequest& WithMemberName(const char* value) { SetMemberName(value); return *this;}
74 
75 
79  inline const Aws::String& GetGroupName() const{ return m_groupName; }
80 
84  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
85 
89  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
90 
94  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
95 
99  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
100 
104  inline CreateGroupMembershipRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
105 
109  inline CreateGroupMembershipRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
110 
114  inline CreateGroupMembershipRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
115 
116 
121  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
122 
127  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
128 
133  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
134 
139  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
140 
145  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
146 
151  inline CreateGroupMembershipRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
152 
157  inline CreateGroupMembershipRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
158 
163  inline CreateGroupMembershipRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
164 
165 
169  inline const Aws::String& GetNamespace() const{ return m_namespace; }
170 
174  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
175 
179  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
180 
184  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
185 
189  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
190 
194  inline CreateGroupMembershipRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
195 
199  inline CreateGroupMembershipRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
200 
204  inline CreateGroupMembershipRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
205 
206  private:
207 
208  Aws::String m_memberName;
209  bool m_memberNameHasBeenSet;
210 
211  Aws::String m_groupName;
212  bool m_groupNameHasBeenSet;
213 
214  Aws::String m_awsAccountId;
215  bool m_awsAccountIdHasBeenSet;
216 
217  Aws::String m_namespace;
218  bool m_namespaceHasBeenSet;
219  };
220 
221 } // namespace Model
222 } // namespace QuickSight
223 } // namespace Aws
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithNamespace
CreateGroupMembershipRequest & WithNamespace(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:199
Aws::QuickSight::Model::CreateGroupMembershipRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateGroupMembershipRequest.h:121
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:94
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithAwsAccountId
CreateGroupMembershipRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:151
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithNamespace
CreateGroupMembershipRequest & WithNamespace(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:194
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateGroupMembershipRequest.h:145
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithAwsAccountId
CreateGroupMembershipRequest & WithAwsAccountId(const char *value)
Definition: CreateGroupMembershipRequest.h:163
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithGroupName
CreateGroupMembershipRequest & WithGroupName(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:104
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:89
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithGroupName
CreateGroupMembershipRequest & WithGroupName(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:109
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:139
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithNamespace
CreateGroupMembershipRequest & WithNamespace(const char *value)
Definition: CreateGroupMembershipRequest.h:204
QuickSightRequest.h
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithGroupName
CreateGroupMembershipRequest & WithGroupName(const char *value)
Definition: CreateGroupMembershipRequest.h:114
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithAwsAccountId
CreateGroupMembershipRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:157
Aws::QuickSight::Model::CreateGroupMembershipRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: CreateGroupMembershipRequest.h:169
Aws::QuickSight::Model::CreateGroupMembershipRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: CreateGroupMembershipRequest.h:174
AWSString.h
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetMemberName
void SetMemberName(const char *value)
Definition: CreateGroupMembershipRequest.h:58
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:179
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:133
Aws::QuickSight::Model::CreateGroupMembershipRequest::MemberNameHasBeenSet
bool MemberNameHasBeenSet() const
Definition: CreateGroupMembershipRequest.h:43
Aws::QuickSight::Model::CreateGroupMembershipRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateGroupMembershipRequest.h:30
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetMemberName
void SetMemberName(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:48
Aws::QuickSight::Model::CreateGroupMembershipRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateGroupMembershipRequest.h:127
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetGroupName
void SetGroupName(const char *value)
Definition: CreateGroupMembershipRequest.h:99
Aws::QuickSight::Model::CreateGroupMembershipRequest::CreateGroupMembershipRequest
CreateGroupMembershipRequest()
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetNamespace
void SetNamespace(const char *value)
Definition: CreateGroupMembershipRequest.h:189
Aws::QuickSight::Model::CreateGroupMembershipRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: CreateGroupMembershipRequest.h:79
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithMemberName
CreateGroupMembershipRequest & WithMemberName(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateGroupMembershipRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: CreateGroupMembershipRequest.h:84
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetMemberName
void SetMemberName(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:53
Aws::QuickSight::Model::CreateGroupMembershipRequest::GetMemberName
const Aws::String & GetMemberName() const
Definition: CreateGroupMembershipRequest.h:38
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithMemberName
CreateGroupMembershipRequest & WithMemberName(const char *value)
Definition: CreateGroupMembershipRequest.h:73
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateGroupMembershipRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateGroupMembershipRequest
Definition: CreateGroupMembershipRequest.h:22
Aws::QuickSight::Model::CreateGroupMembershipRequest::WithMemberName
CreateGroupMembershipRequest & WithMemberName(const Aws::String &value)
Definition: CreateGroupMembershipRequest.h:63
Aws::QuickSight::Model::CreateGroupMembershipRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: CreateGroupMembershipRequest.h:184