AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateActionConnectorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ActionConnectorType.h>
12#include <aws/quicksight/model/AuthConfig.h>
13#include <aws/quicksight/model/ResourcePermission.h>
14#include <aws/quicksight/model/Tag.h>
15
16#include <utility>
17
18namespace Aws {
19namespace QuickSight {
20namespace Model {
21
25 public:
26 AWS_QUICKSIGHT_API CreateActionConnectorRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateActionConnector"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
41 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
42 template <typename AwsAccountIdT = Aws::String>
43 void SetAwsAccountId(AwsAccountIdT&& value) {
44 m_awsAccountIdHasBeenSet = true;
45 m_awsAccountId = std::forward<AwsAccountIdT>(value);
46 }
47 template <typename AwsAccountIdT = Aws::String>
49 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetActionConnectorId() const { return m_actionConnectorId; }
61 inline bool ActionConnectorIdHasBeenSet() const { return m_actionConnectorIdHasBeenSet; }
62 template <typename ActionConnectorIdT = Aws::String>
63 void SetActionConnectorId(ActionConnectorIdT&& value) {
64 m_actionConnectorIdHasBeenSet = true;
65 m_actionConnectorId = std::forward<ActionConnectorIdT>(value);
66 }
67 template <typename ActionConnectorIdT = Aws::String>
69 SetActionConnectorId(std::forward<ActionConnectorIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template <typename NameT = Aws::String>
81 void SetName(NameT&& value) {
82 m_nameHasBeenSet = true;
83 m_name = std::forward<NameT>(value);
84 }
85 template <typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
88 return *this;
89 }
91
93
96 inline ActionConnectorType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 inline void SetType(ActionConnectorType value) {
99 m_typeHasBeenSet = true;
100 m_type = value;
101 }
103 SetType(value);
104 return *this;
105 }
107
109
114 inline const AuthConfig& GetAuthenticationConfig() const { return m_authenticationConfig; }
115 inline bool AuthenticationConfigHasBeenSet() const { return m_authenticationConfigHasBeenSet; }
116 template <typename AuthenticationConfigT = AuthConfig>
117 void SetAuthenticationConfig(AuthenticationConfigT&& value) {
118 m_authenticationConfigHasBeenSet = true;
119 m_authenticationConfig = std::forward<AuthenticationConfigT>(value);
120 }
121 template <typename AuthenticationConfigT = AuthConfig>
123 SetAuthenticationConfig(std::forward<AuthenticationConfigT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetDescription() const { return m_description; }
133 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 template <typename DescriptionT = Aws::String>
135 void SetDescription(DescriptionT&& value) {
136 m_descriptionHasBeenSet = true;
137 m_description = std::forward<DescriptionT>(value);
138 }
139 template <typename DescriptionT = Aws::String>
141 SetDescription(std::forward<DescriptionT>(value));
142 return *this;
143 }
145
147
151 inline const Aws::Vector<ResourcePermission>& GetPermissions() const { return m_permissions; }
152 inline bool PermissionsHasBeenSet() const { return m_permissionsHasBeenSet; }
153 template <typename PermissionsT = Aws::Vector<ResourcePermission>>
154 void SetPermissions(PermissionsT&& value) {
155 m_permissionsHasBeenSet = true;
156 m_permissions = std::forward<PermissionsT>(value);
157 }
158 template <typename PermissionsT = Aws::Vector<ResourcePermission>>
160 SetPermissions(std::forward<PermissionsT>(value));
161 return *this;
162 }
163 template <typename PermissionsT = ResourcePermission>
165 m_permissionsHasBeenSet = true;
166 m_permissions.emplace_back(std::forward<PermissionsT>(value));
167 return *this;
168 }
170
172
176 inline const Aws::String& GetVpcConnectionArn() const { return m_vpcConnectionArn; }
177 inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; }
178 template <typename VpcConnectionArnT = Aws::String>
179 void SetVpcConnectionArn(VpcConnectionArnT&& value) {
180 m_vpcConnectionArnHasBeenSet = true;
181 m_vpcConnectionArn = std::forward<VpcConnectionArnT>(value);
182 }
183 template <typename VpcConnectionArnT = Aws::String>
185 SetVpcConnectionArn(std::forward<VpcConnectionArnT>(value));
186 return *this;
187 }
189
191
195 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
196 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
197 template <typename TagsT = Aws::Vector<Tag>>
198 void SetTags(TagsT&& value) {
199 m_tagsHasBeenSet = true;
200 m_tags = std::forward<TagsT>(value);
201 }
202 template <typename TagsT = Aws::Vector<Tag>>
204 SetTags(std::forward<TagsT>(value));
205 return *this;
206 }
207 template <typename TagsT = Tag>
209 m_tagsHasBeenSet = true;
210 m_tags.emplace_back(std::forward<TagsT>(value));
211 return *this;
212 }
214 private:
215 Aws::String m_awsAccountId;
216
217 Aws::String m_actionConnectorId;
218
219 Aws::String m_name;
220
222
223 AuthConfig m_authenticationConfig;
224
225 Aws::String m_description;
226
228
229 Aws::String m_vpcConnectionArn;
230
231 Aws::Vector<Tag> m_tags;
232 bool m_awsAccountIdHasBeenSet = false;
233 bool m_actionConnectorIdHasBeenSet = false;
234 bool m_nameHasBeenSet = false;
235 bool m_typeHasBeenSet = false;
236 bool m_authenticationConfigHasBeenSet = false;
237 bool m_descriptionHasBeenSet = false;
238 bool m_permissionsHasBeenSet = false;
239 bool m_vpcConnectionArnHasBeenSet = false;
240 bool m_tagsHasBeenSet = false;
241};
242
243} // namespace Model
244} // namespace QuickSight
245} // namespace Aws
const Aws::Vector< ResourcePermission > & GetPermissions() const
CreateActionConnectorRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
CreateActionConnectorRequest & WithPermissions(PermissionsT &&value)
CreateActionConnectorRequest & WithType(ActionConnectorType value)
CreateActionConnectorRequest & WithName(NameT &&value)
CreateActionConnectorRequest & WithDescription(DescriptionT &&value)
CreateActionConnectorRequest & WithActionConnectorId(ActionConnectorIdT &&value)
CreateActionConnectorRequest & WithTags(TagsT &&value)
CreateActionConnectorRequest & AddTags(TagsT &&value)
CreateActionConnectorRequest & WithVpcConnectionArn(VpcConnectionArnT &&value)
AWS_QUICKSIGHT_API CreateActionConnectorRequest()=default
CreateActionConnectorRequest & WithAuthenticationConfig(AuthenticationConfigT &&value)
CreateActionConnectorRequest & AddPermissions(PermissionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector