7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/LogDestinationType.h>
12#include <aws/redshift-serverless/model/LogExport.h>
13#include <aws/redshift-serverless/model/S3TableAction.h>
14#include <aws/redshift-serverless/model/S3TableGranularity.h>
19namespace RedshiftServerless {
46 template <
typename AdminPasswordSecretKmsKeyIdT = Aws::String>
48 m_adminPasswordSecretKmsKeyIdHasBeenSet =
true;
49 m_adminPasswordSecretKmsKeyId = std::forward<AdminPasswordSecretKmsKeyIdT>(value);
51 template <
typename AdminPasswordSecretKmsKeyIdT = Aws::String>
70 template <
typename AdminUserPasswordT = Aws::String>
72 m_adminUserPasswordHasBeenSet =
true;
73 m_adminUserPassword = std::forward<AdminUserPasswordT>(value);
75 template <
typename AdminUserPasswordT = Aws::String>
90 template <
typename AdminUsernameT = Aws::String>
92 m_adminUsernameHasBeenSet =
true;
93 m_adminUsername = std::forward<AdminUsernameT>(value);
95 template <
typename AdminUsernameT = Aws::String>
110 template <
typename DefaultIamRoleArnT = Aws::String>
112 m_defaultIamRoleArnHasBeenSet =
true;
113 m_defaultIamRoleArn = std::forward<DefaultIamRoleArnT>(value);
115 template <
typename DefaultIamRoleArnT = Aws::String>
129 template <
typename IamRolesT = Aws::Vector<Aws::String>>
131 m_iamRolesHasBeenSet =
true;
132 m_iamRoles = std::forward<IamRolesT>(value);
134 template <
typename IamRolesT = Aws::Vector<Aws::String>>
139 template <
typename IamRolesT = Aws::String>
141 m_iamRolesHasBeenSet =
true;
142 m_iamRoles.emplace_back(std::forward<IamRolesT>(value));
154 template <
typename KmsKeyIdT = Aws::String>
156 m_kmsKeyIdHasBeenSet =
true;
157 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
159 template <
typename KmsKeyIdT = Aws::String>
175 m_logDestinationTypeHasBeenSet =
true;
176 m_logDestinationType = value;
192 template <
typename LogExportsT = Aws::Vector<LogExport>>
194 m_logExportsHasBeenSet =
true;
195 m_logExports = std::forward<LogExportsT>(value);
197 template <
typename LogExportsT = Aws::Vector<LogExport>>
203 m_logExportsHasBeenSet =
true;
204 m_logExports.push_back(value);
220 m_manageAdminPasswordHasBeenSet =
true;
221 m_manageAdminPassword = value;
236 template <
typename NamespaceNameT = Aws::String>
238 m_namespaceNameHasBeenSet =
true;
239 m_namespaceName = std::forward<NamespaceNameT>(value);
241 template <
typename NamespaceNameT = Aws::String>
258 m_s3TableActionHasBeenSet =
true;
259 m_s3TableAction = value;
280 m_s3TableGranularityHasBeenSet =
true;
281 m_s3TableGranularity = value;
298 template <
typename S3TableKmsKeyIdT = Aws::String>
300 m_s3TableKmsKeyIdHasBeenSet =
true;
301 m_s3TableKmsKeyId = std::forward<S3TableKmsKeyIdT>(value);
303 template <
typename S3TableKmsKeyIdT = Aws::String>
322 template <
typename S3TableNamesT = Aws::Vector<Aws::String>>
324 m_s3TableNamesHasBeenSet =
true;
325 m_s3TableNames = std::forward<S3TableNamesT>(value);
327 template <
typename S3TableNamesT = Aws::Vector<Aws::String>>
332 template <
typename S3TableNamesT = Aws::String>
334 m_s3TableNamesHasBeenSet =
true;
335 m_s3TableNames.emplace_back(std::forward<S3TableNamesT>(value));
356 bool m_manageAdminPassword{
false};
367 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
368 bool m_adminUserPasswordHasBeenSet =
false;
369 bool m_adminUsernameHasBeenSet =
false;
370 bool m_defaultIamRoleArnHasBeenSet =
false;
371 bool m_iamRolesHasBeenSet =
false;
372 bool m_kmsKeyIdHasBeenSet =
false;
373 bool m_logDestinationTypeHasBeenSet =
false;
374 bool m_logExportsHasBeenSet =
false;
375 bool m_manageAdminPasswordHasBeenSet =
false;
376 bool m_namespaceNameHasBeenSet =
false;
377 bool m_s3TableActionHasBeenSet =
false;
378 bool m_s3TableGranularityHasBeenSet =
false;
379 bool m_s3TableKmsKeyIdHasBeenSet =
false;
380 bool m_s3TableNamesHasBeenSet =
false;
const Aws::String & GetS3TableKmsKeyId() const
UpdateNamespaceRequest & WithIamRoles(IamRolesT &&value)
bool AdminUsernameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API UpdateNamespaceRequest()=default
bool IamRolesHasBeenSet() const
const Aws::String & GetNamespaceName() const
bool S3TableActionHasBeenSet() const
UpdateNamespaceRequest & WithLogDestinationType(LogDestinationType value)
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
UpdateNamespaceRequest & WithKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetKmsKeyId() const
void SetS3TableGranularity(S3TableGranularity value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
const Aws::Vector< LogExport > & GetLogExports() const
UpdateNamespaceRequest & WithS3TableGranularity(S3TableGranularity value)
UpdateNamespaceRequest & WithLogExports(LogExportsT &&value)
UpdateNamespaceRequest & AddIamRoles(IamRolesT &&value)
UpdateNamespaceRequest & WithNamespaceName(NamespaceNameT &&value)
S3TableGranularity GetS3TableGranularity() const
UpdateNamespaceRequest & AddS3TableNames(S3TableNamesT &&value)
bool S3TableNamesHasBeenSet() const
void SetAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
void SetIamRoles(IamRolesT &&value)
LogDestinationType GetLogDestinationType() const
const Aws::Vector< Aws::String > & GetIamRoles() const
S3TableAction GetS3TableAction() const
void SetLogDestinationType(LogDestinationType value)
UpdateNamespaceRequest & WithAdminUsername(AdminUsernameT &&value)
bool S3TableGranularityHasBeenSet() const
UpdateNamespaceRequest & WithDefaultIamRoleArn(DefaultIamRoleArnT &&value)
bool LogDestinationTypeHasBeenSet() const
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetDefaultIamRoleArn() const
void SetAdminUserPassword(AdminUserPasswordT &&value)
virtual const char * GetServiceRequestName() const override
void SetS3TableKmsKeyId(S3TableKmsKeyIdT &&value)
const Aws::String & GetAdminUserPassword() const
UpdateNamespaceRequest & WithManageAdminPassword(bool value)
void SetS3TableAction(S3TableAction value)
UpdateNamespaceRequest & AddLogExports(LogExport value)
void SetLogExports(LogExportsT &&value)
bool DefaultIamRoleArnHasBeenSet() const
bool ManageAdminPasswordHasBeenSet() const
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
UpdateNamespaceRequest & WithAdminUserPassword(AdminUserPasswordT &&value)
void SetDefaultIamRoleArn(DefaultIamRoleArnT &&value)
bool AdminUserPasswordHasBeenSet() const
void SetS3TableNames(S3TableNamesT &&value)
bool GetManageAdminPassword() const
UpdateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(AdminPasswordSecretKmsKeyIdT &&value)
const Aws::Vector< Aws::String > & GetS3TableNames() const
bool S3TableKmsKeyIdHasBeenSet() const
void SetAdminUsername(AdminUsernameT &&value)
const Aws::String & GetAdminUsername() const
UpdateNamespaceRequest & WithS3TableAction(S3TableAction value)
bool LogExportsHasBeenSet() const
bool NamespaceNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNamespaceRequest & WithS3TableKmsKeyId(S3TableKmsKeyIdT &&value)
UpdateNamespaceRequest & WithS3TableNames(S3TableNamesT &&value)
void SetManageAdminPassword(bool value)
void SetNamespaceName(NamespaceNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector