AWS SDK for C++  1.9.44
AWS SDK for C++
UpdateGroupRequest.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 "UpdateGroup"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetGroupName() const{ return m_groupName; }
39 
43  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
44 
48  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
49 
53  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
54 
58  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
59 
63  inline UpdateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
64 
68  inline UpdateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
69 
73  inline UpdateGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
74 
75 
79  inline const Aws::String& GetDescription() const{ return m_description; }
80 
84  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 
89  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 
94  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
95 
99  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
100 
104  inline UpdateGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
105 
109  inline UpdateGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
110 
114  inline UpdateGroupRequest& WithDescription(const char* value) { SetDescription(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 UpdateGroupRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
152 
157  inline UpdateGroupRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
158 
163  inline UpdateGroupRequest& 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 UpdateGroupRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
195 
199  inline UpdateGroupRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
200 
204  inline UpdateGroupRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
205 
206  private:
207 
208  Aws::String m_groupName;
209  bool m_groupNameHasBeenSet;
210 
211  Aws::String m_description;
212  bool m_descriptionHasBeenSet;
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
Aws::QuickSight::Model::UpdateGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::UpdateGroupRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: UpdateGroupRequest.h:184
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateGroupRequest.h:84
Aws::QuickSight::Model::UpdateGroupRequest::WithGroupName
UpdateGroupRequest & WithGroupName(const Aws::String &value)
Definition: UpdateGroupRequest.h:63
Aws::QuickSight::Model::UpdateGroupRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: UpdateGroupRequest.h:133
Aws::QuickSight::Model::UpdateGroupRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: UpdateGroupRequest.h:139
Aws::QuickSight::Model::UpdateGroupRequest::WithDescription
UpdateGroupRequest & WithDescription(Aws::String &&value)
Definition: UpdateGroupRequest.h:109
Aws::QuickSight::Model::UpdateGroupRequest::WithDescription
UpdateGroupRequest & WithDescription(const Aws::String &value)
Definition: UpdateGroupRequest.h:104
Aws::QuickSight::Model::UpdateGroupRequest::WithNamespace
UpdateGroupRequest & WithNamespace(const char *value)
Definition: UpdateGroupRequest.h:204
Aws::QuickSight::Model::UpdateGroupRequest
Definition: UpdateGroupRequest.h:22
Aws::QuickSight::Model::UpdateGroupRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: UpdateGroupRequest.h:174
Aws::QuickSight::Model::UpdateGroupRequest::SetNamespace
void SetNamespace(const char *value)
Definition: UpdateGroupRequest.h:189
Aws::QuickSight::Model::UpdateGroupRequest::UpdateGroupRequest
UpdateGroupRequest()
Aws::QuickSight::Model::UpdateGroupRequest::WithGroupName
UpdateGroupRequest & WithGroupName(Aws::String &&value)
Definition: UpdateGroupRequest.h:68
Aws::QuickSight::Model::UpdateGroupRequest::WithGroupName
UpdateGroupRequest & WithGroupName(const char *value)
Definition: UpdateGroupRequest.h:73
Aws::QuickSight::Model::UpdateGroupRequest::SetGroupName
void SetGroupName(const char *value)
Definition: UpdateGroupRequest.h:58
Aws::QuickSight::Model::UpdateGroupRequest::WithAwsAccountId
UpdateGroupRequest & WithAwsAccountId(const char *value)
Definition: UpdateGroupRequest.h:163
Aws::QuickSight::Model::UpdateGroupRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: UpdateGroupRequest.h:127
Aws::QuickSight::Model::UpdateGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateGroupRequest.h:89
QuickSightRequest.h
AWSString.h
Aws::QuickSight::Model::UpdateGroupRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: UpdateGroupRequest.h:43
Aws::QuickSight::Model::UpdateGroupRequest::WithNamespace
UpdateGroupRequest & WithNamespace(Aws::String &&value)
Definition: UpdateGroupRequest.h:199
Aws::QuickSight::Model::UpdateGroupRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: UpdateGroupRequest.h:121
Aws::QuickSight::Model::UpdateGroupRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: UpdateGroupRequest.h:53
Aws::QuickSight::Model::UpdateGroupRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: UpdateGroupRequest.h:48
Aws::QuickSight::Model::UpdateGroupRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: UpdateGroupRequest.h:38
Aws::QuickSight::Model::UpdateGroupRequest::WithDescription
UpdateGroupRequest & WithDescription(const char *value)
Definition: UpdateGroupRequest.h:114
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::UpdateGroupRequest::WithNamespace
UpdateGroupRequest & WithNamespace(const Aws::String &value)
Definition: UpdateGroupRequest.h:194
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateGroupRequest.h:30
Aws::QuickSight::Model::UpdateGroupRequest::WithAwsAccountId
UpdateGroupRequest & WithAwsAccountId(const Aws::String &value)
Definition: UpdateGroupRequest.h:151
Aws::QuickSight::Model::UpdateGroupRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: UpdateGroupRequest.h:179
Aws::QuickSight::Model::UpdateGroupRequest::WithAwsAccountId
UpdateGroupRequest & WithAwsAccountId(Aws::String &&value)
Definition: UpdateGroupRequest.h:157
Aws::QuickSight::Model::UpdateGroupRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: UpdateGroupRequest.h:169
Aws::QuickSight::Model::UpdateGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateGroupRequest.h:79
Aws::QuickSight::Model::UpdateGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateGroupRequest.h:94
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::UpdateGroupRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: UpdateGroupRequest.h:145
Aws::QuickSight::Model::UpdateGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateGroupRequest.h:99