AWS SDK for C++  1.9.44
AWS SDK for C++
CreateGroupRequest.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 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateGroup"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetGroupName() const{ return m_groupName; }
42 
46  inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
47 
51  inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
52 
56  inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
57 
61  inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
62 
66  inline CreateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
67 
71  inline CreateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
72 
76  inline CreateGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
77 
78 
82  inline const Aws::String& GetDescription() const{ return m_description; }
83 
87  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 
92  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 
97  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 
102  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
103 
107  inline CreateGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 
112  inline CreateGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 
117  inline CreateGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
118 
119 
124  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
125 
130  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
131 
136  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
137 
142  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
143 
148  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
149 
154  inline CreateGroupRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
155 
160  inline CreateGroupRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
161 
166  inline CreateGroupRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
167 
168 
172  inline const Aws::String& GetNamespace() const{ return m_namespace; }
173 
177  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
178 
182  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
183 
187  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
188 
192  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
193 
197  inline CreateGroupRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
198 
202  inline CreateGroupRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
203 
207  inline CreateGroupRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
208 
209  private:
210 
211  Aws::String m_groupName;
212  bool m_groupNameHasBeenSet;
213 
214  Aws::String m_description;
215  bool m_descriptionHasBeenSet;
216 
217  Aws::String m_awsAccountId;
218  bool m_awsAccountIdHasBeenSet;
219 
220  Aws::String m_namespace;
221  bool m_namespaceHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace QuickSight
226 } // namespace Aws
Aws::QuickSight::Model::CreateGroupRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateGroupRequest.h:124
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateGroupRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: CreateGroupRequest.h:177
Aws::QuickSight::Model::CreateGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateGroupRequest.h:82
Aws::QuickSight::Model::CreateGroupRequest::WithDescription
CreateGroupRequest & WithDescription(const Aws::String &value)
Definition: CreateGroupRequest.h:107
Aws::QuickSight::Model::CreateGroupRequest::WithGroupName
CreateGroupRequest & WithGroupName(Aws::String &&value)
Definition: CreateGroupRequest.h:71
Aws::QuickSight::Model::CreateGroupRequest::GetNamespace
const Aws::String & GetNamespace() const
Definition: CreateGroupRequest.h:172
Aws::QuickSight::Model::CreateGroupRequest::CreateGroupRequest
CreateGroupRequest()
Aws::QuickSight::Model::CreateGroupRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateGroupRequest.h:136
Aws::QuickSight::Model::CreateGroupRequest::SetNamespace
void SetNamespace(const char *value)
Definition: CreateGroupRequest.h:192
Aws::QuickSight::Model::CreateGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateGroupRequest::WithNamespace
CreateGroupRequest & WithNamespace(const char *value)
Definition: CreateGroupRequest.h:207
QuickSightRequest.h
Aws::QuickSight::Model::CreateGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateGroupRequest.h:102
Aws::QuickSight::Model::CreateGroupRequest::WithNamespace
CreateGroupRequest & WithNamespace(const Aws::String &value)
Definition: CreateGroupRequest.h:197
Aws::QuickSight::Model::CreateGroupRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: CreateGroupRequest.h:187
Aws::QuickSight::Model::CreateGroupRequest::WithNamespace
CreateGroupRequest & WithNamespace(Aws::String &&value)
Definition: CreateGroupRequest.h:202
Aws::QuickSight::Model::CreateGroupRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: CreateGroupRequest.h:182
Aws::QuickSight::Model::CreateGroupRequest::GetGroupName
const Aws::String & GetGroupName() const
Definition: CreateGroupRequest.h:41
AWSString.h
Aws::QuickSight::Model::CreateGroupRequest::WithGroupName
CreateGroupRequest & WithGroupName(const char *value)
Definition: CreateGroupRequest.h:76
Aws::QuickSight::Model::CreateGroupRequest::WithAwsAccountId
CreateGroupRequest & WithAwsAccountId(const Aws::String &value)
Definition: CreateGroupRequest.h:154
Aws::QuickSight::Model::CreateGroupRequest::SetGroupName
void SetGroupName(const Aws::String &value)
Definition: CreateGroupRequest.h:51
Aws::QuickSight::Model::CreateGroupRequest::SetAwsAccountId
void SetAwsAccountId(const char *value)
Definition: CreateGroupRequest.h:148
Aws::QuickSight::Model::CreateGroupRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateGroupRequest.h:142
Aws::QuickSight::Model::CreateGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateGroupRequest.h:97
Aws::QuickSight::Model::CreateGroupRequest::GroupNameHasBeenSet
bool GroupNameHasBeenSet() const
Definition: CreateGroupRequest.h:46
Aws::QuickSight::Model::CreateGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateGroupRequest.h:87
Aws::QuickSight::Model::CreateGroupRequest::AwsAccountIdHasBeenSet
bool AwsAccountIdHasBeenSet() const
Definition: CreateGroupRequest.h:130
Aws::QuickSight::Model::CreateGroupRequest::WithGroupName
CreateGroupRequest & WithGroupName(const Aws::String &value)
Definition: CreateGroupRequest.h:66
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::CreateGroupRequest::SetGroupName
void SetGroupName(Aws::String &&value)
Definition: CreateGroupRequest.h:56
Aws::QuickSight::Model::CreateGroupRequest::WithAwsAccountId
CreateGroupRequest & WithAwsAccountId(const char *value)
Definition: CreateGroupRequest.h:166
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::CreateGroupRequest
Definition: CreateGroupRequest.h:25
Aws::QuickSight::Model::CreateGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateGroupRequest.h:92
Aws::QuickSight::Model::CreateGroupRequest::SetGroupName
void SetGroupName(const char *value)
Definition: CreateGroupRequest.h:61
Aws::QuickSight::Model::CreateGroupRequest::WithDescription
CreateGroupRequest & WithDescription(const char *value)
Definition: CreateGroupRequest.h:117
Aws::QuickSight::Model::CreateGroupRequest::WithAwsAccountId
CreateGroupRequest & WithAwsAccountId(Aws::String &&value)
Definition: CreateGroupRequest.h:160
Aws::QuickSight::QuickSightRequest
Definition: QuickSightRequest.h:17
Aws::QuickSight::Model::CreateGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateGroupRequest.h:33
Aws::QuickSight::Model::CreateGroupRequest::WithDescription
CreateGroupRequest & WithDescription(Aws::String &&value)
Definition: CreateGroupRequest.h:112