AWS SDK for C++  1.9.155
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 
125  inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
126 
132  inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
133 
139  inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
140 
146  inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
147 
153  inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
154 
160  inline CreateGroupRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
161 
167  inline CreateGroupRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
168 
174  inline CreateGroupRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
175 
176 
180  inline const Aws::String& GetNamespace() const{ return m_namespace; }
181 
185  inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
186 
190  inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
191 
195  inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
196 
200  inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
201 
205  inline CreateGroupRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
206 
210  inline CreateGroupRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
211 
215  inline CreateGroupRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
216 
217  private:
218 
219  Aws::String m_groupName;
220  bool m_groupNameHasBeenSet;
221 
222  Aws::String m_description;
223  bool m_descriptionHasBeenSet;
224 
225  Aws::String m_awsAccountId;
226  bool m_awsAccountIdHasBeenSet;
227 
228  Aws::String m_namespace;
229  bool m_namespaceHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace QuickSight
234 } // namespace Aws
Aws::QuickSight::Model::CreateGroupRequest::GetAwsAccountId
const Aws::String & GetAwsAccountId() const
Definition: CreateGroupRequest.h:125
QuickSight_EXPORTS.h
Aws::QuickSight::Model::CreateGroupRequest::NamespaceHasBeenSet
bool NamespaceHasBeenSet() const
Definition: CreateGroupRequest.h:185
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:180
Aws::QuickSight::Model::CreateGroupRequest::CreateGroupRequest
CreateGroupRequest()
Aws::QuickSight::Model::CreateGroupRequest::SetAwsAccountId
void SetAwsAccountId(const Aws::String &value)
Definition: CreateGroupRequest.h:139
Aws::QuickSight::Model::CreateGroupRequest::SetNamespace
void SetNamespace(const char *value)
Definition: CreateGroupRequest.h:200
Aws::QuickSight::Model::CreateGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::QuickSight::Model::CreateGroupRequest::WithNamespace
CreateGroupRequest & WithNamespace(const char *value)
Definition: CreateGroupRequest.h:215
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:205
Aws::QuickSight::Model::CreateGroupRequest::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: CreateGroupRequest.h:195
Aws::QuickSight::Model::CreateGroupRequest::WithNamespace
CreateGroupRequest & WithNamespace(Aws::String &&value)
Definition: CreateGroupRequest.h:210
Aws::QuickSight::Model::CreateGroupRequest::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: CreateGroupRequest.h:190
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:160
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:153
Aws::QuickSight::Model::CreateGroupRequest::SetAwsAccountId
void SetAwsAccountId(Aws::String &&value)
Definition: CreateGroupRequest.h:146
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:132
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:174
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:167
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