AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGroupRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace QuickSight
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_QUICKSIGHT_API CreateGroupRequest();
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_QUICKSIGHT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetGroupName() const{ return m_groupName; }
43 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
44 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
45 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
46 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
47 inline CreateGroupRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
48 inline CreateGroupRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
49 inline CreateGroupRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline CreateGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline CreateGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline CreateGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
72 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
73 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
74 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
75 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
76 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
77 inline CreateGroupRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
78 inline CreateGroupRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
79 inline CreateGroupRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
81
83
86 inline const Aws::String& GetNamespace() const{ return m_namespace; }
87 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
88 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
89 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
90 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
91 inline CreateGroupRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
92 inline CreateGroupRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
93 inline CreateGroupRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
95 private:
96
97 Aws::String m_groupName;
98 bool m_groupNameHasBeenSet = false;
99
100 Aws::String m_description;
101 bool m_descriptionHasBeenSet = false;
102
103 Aws::String m_awsAccountId;
104 bool m_awsAccountIdHasBeenSet = false;
105
106 Aws::String m_namespace;
107 bool m_namespaceHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
CreateGroupRequest & WithGroupName(Aws::String &&value)
CreateGroupRequest & WithDescription(const Aws::String &value)
CreateGroupRequest & WithNamespace(const Aws::String &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetAwsAccountId(const Aws::String &value)
CreateGroupRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateGroupRequest & WithAwsAccountId(const char *value)
void SetNamespace(const Aws::String &value)
void SetGroupName(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateGroupRequest & WithDescription(const char *value)
CreateGroupRequest & WithNamespace(Aws::String &&value)
CreateGroupRequest & WithAwsAccountId(Aws::String &&value)
CreateGroupRequest & WithAwsAccountId(const Aws::String &value)
CreateGroupRequest & WithNamespace(const char *value)
CreateGroupRequest & WithGroupName(const Aws::String &value)
CreateGroupRequest & WithGroupName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String