AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateGroupRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace QuickSight {
15namespace Model {
16
23 public:
24 AWS_QUICKSIGHT_API CreateGroupRequest() = default;
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 "CreateGroup"; }
31
32 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetGroupName() const { return m_groupName; }
39 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
40 template <typename GroupNameT = Aws::String>
41 void SetGroupName(GroupNameT&& value) {
42 m_groupNameHasBeenSet = true;
43 m_groupName = std::forward<GroupNameT>(value);
44 }
45 template <typename GroupNameT = Aws::String>
46 CreateGroupRequest& WithGroupName(GroupNameT&& value) {
47 SetGroupName(std::forward<GroupNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
64 CreateGroupRequest& WithDescription(DescriptionT&& value) {
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
77 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
78 template <typename AwsAccountIdT = Aws::String>
79 void SetAwsAccountId(AwsAccountIdT&& value) {
80 m_awsAccountIdHasBeenSet = true;
81 m_awsAccountId = std::forward<AwsAccountIdT>(value);
82 }
83 template <typename AwsAccountIdT = Aws::String>
84 CreateGroupRequest& WithAwsAccountId(AwsAccountIdT&& value) {
85 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetNamespace() const { return m_namespace; }
95 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
96 template <typename NamespaceT = Aws::String>
97 void SetNamespace(NamespaceT&& value) {
98 m_namespaceHasBeenSet = true;
99 m_namespace = std::forward<NamespaceT>(value);
100 }
101 template <typename NamespaceT = Aws::String>
102 CreateGroupRequest& WithNamespace(NamespaceT&& value) {
103 SetNamespace(std::forward<NamespaceT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_groupName;
109
110 Aws::String m_description;
111
112 Aws::String m_awsAccountId;
113
114 Aws::String m_namespace;
115 bool m_groupNameHasBeenSet = false;
116 bool m_descriptionHasBeenSet = false;
117 bool m_awsAccountIdHasBeenSet = false;
118 bool m_namespaceHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QuickSight
123} // namespace Aws
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateGroupRequest & WithNamespace(NamespaceT &&value)
CreateGroupRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API CreateGroupRequest()=default
CreateGroupRequest & WithGroupName(GroupNameT &&value)
CreateGroupRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String