7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-serverless/model/LogExport.h>
12#include <aws/redshift-serverless/model/Tag.h>
17namespace RedshiftServerless
50 inline void SetAdminPasswordSecretKmsKeyId(
const char* value) { m_adminPasswordSecretKmsKeyIdHasBeenSet =
true; m_adminPasswordSecretKmsKeyId.assign(value); }
66 inline void SetAdminUserPassword(
const char* value) { m_adminUserPasswordHasBeenSet =
true; m_adminUserPassword.assign(value); }
81 inline void SetAdminUsername(
const char* value) { m_adminUsernameHasBeenSet =
true; m_adminUsername.assign(value); }
95 inline void SetDbName(
const char* value) { m_dbNameHasBeenSet =
true; m_dbName.assign(value); }
110 inline void SetDefaultIamRoleArn(
const char* value) { m_defaultIamRoleArnHasBeenSet =
true; m_defaultIamRoleArn.assign(value); }
140 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
172 inline void SetManageAdminPassword(
bool value) { m_manageAdminPasswordHasBeenSet =
true; m_manageAdminPassword = value; }
184 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
199 inline void SetRedshiftIdcApplicationArn(
const char* value) { m_redshiftIdcApplicationArnHasBeenSet =
true; m_redshiftIdcApplicationArn.assign(value); }
221 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
224 bool m_adminUserPasswordHasBeenSet =
false;
227 bool m_adminUsernameHasBeenSet =
false;
230 bool m_dbNameHasBeenSet =
false;
233 bool m_defaultIamRoleArnHasBeenSet =
false;
236 bool m_iamRolesHasBeenSet =
false;
239 bool m_kmsKeyIdHasBeenSet =
false;
242 bool m_logExportsHasBeenSet =
false;
244 bool m_manageAdminPassword;
245 bool m_manageAdminPasswordHasBeenSet =
false;
248 bool m_namespaceNameHasBeenSet =
false;
251 bool m_redshiftIdcApplicationArnHasBeenSet =
false;
254 bool m_tagsHasBeenSet =
false;
CreateNamespaceRequest & WithNamespaceName(Aws::String &&value)
void SetAdminUserPassword(const char *value)
CreateNamespaceRequest & AddIamRoles(const char *value)
bool KmsKeyIdHasBeenSet() const
void SetAdminUsername(const char *value)
void SetDefaultIamRoleArn(const char *value)
void SetLogExports(const Aws::Vector< LogExport > &value)
CreateNamespaceRequest & WithRedshiftIdcApplicationArn(Aws::String &&value)
CreateNamespaceRequest & WithDbName(const Aws::String &value)
CreateNamespaceRequest & WithLogExports(Aws::Vector< LogExport > &&value)
AWS_REDSHIFTSERVERLESS_API CreateNamespaceRequest()
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
bool GetManageAdminPassword() const
CreateNamespaceRequest & AddTags(const Tag &value)
bool LogExportsHasBeenSet() const
CreateNamespaceRequest & WithRedshiftIdcApplicationArn(const char *value)
virtual const char * GetServiceRequestName() const override
CreateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(const char *value)
bool NamespaceNameHasBeenSet() const
void SetAdminUserPassword(Aws::String &&value)
void SetAdminUserPassword(const Aws::String &value)
CreateNamespaceRequest & WithDbName(const char *value)
void SetDbName(const char *value)
CreateNamespaceRequest & AddTags(Tag &&value)
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
const Aws::String & GetAdminUserPassword() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetIamRoles() const
CreateNamespaceRequest & AddLogExports(const LogExport &value)
CreateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(Aws::String &&value)
void SetRedshiftIdcApplicationArn(const Aws::String &value)
CreateNamespaceRequest & WithManageAdminPassword(bool value)
const Aws::String & GetKmsKeyId() const
bool DbNameHasBeenSet() const
void SetAdminUsername(const Aws::String &value)
void SetLogExports(Aws::Vector< LogExport > &&value)
CreateNamespaceRequest & WithKmsKeyId(Aws::String &&value)
CreateNamespaceRequest & WithAdminUserPassword(Aws::String &&value)
void SetNamespaceName(const Aws::String &value)
void SetDbName(Aws::String &&value)
CreateNamespaceRequest & WithNamespaceName(const char *value)
void SetNamespaceName(const char *value)
CreateNamespaceRequest & WithDbName(Aws::String &&value)
const Aws::String & GetDbName() const
CreateNamespaceRequest & WithLogExports(const Aws::Vector< LogExport > &value)
void SetNamespaceName(Aws::String &&value)
CreateNamespaceRequest & WithTags(Aws::Vector< Tag > &&value)
bool ManageAdminPasswordHasBeenSet() const
bool IamRolesHasBeenSet() const
CreateNamespaceRequest & WithDefaultIamRoleArn(Aws::String &&value)
void SetAdminPasswordSecretKmsKeyId(const char *value)
void SetAdminPasswordSecretKmsKeyId(Aws::String &&value)
void SetDefaultIamRoleArn(Aws::String &&value)
void SetDefaultIamRoleArn(const Aws::String &value)
CreateNamespaceRequest & WithKmsKeyId(const Aws::String &value)
void SetAdminPasswordSecretKmsKeyId(const Aws::String &value)
CreateNamespaceRequest & AddIamRoles(Aws::String &&value)
CreateNamespaceRequest & WithAdminUserPassword(const char *value)
void SetRedshiftIdcApplicationArn(const char *value)
void SetRedshiftIdcApplicationArn(Aws::String &&value)
void SetAdminUsername(Aws::String &&value)
CreateNamespaceRequest & AddIamRoles(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateNamespaceRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
CreateNamespaceRequest & WithAdminUsername(const char *value)
const Aws::String & GetRedshiftIdcApplicationArn() const
const Aws::String & GetDefaultIamRoleArn() const
bool RedshiftIdcApplicationArnHasBeenSet() const
CreateNamespaceRequest & WithRedshiftIdcApplicationArn(const Aws::String &value)
const Aws::String & GetNamespaceName() const
const Aws::Vector< Tag > & GetTags() const
void SetDbName(const Aws::String &value)
CreateNamespaceRequest & WithDefaultIamRoleArn(const Aws::String &value)
CreateNamespaceRequest & WithAdminUserPassword(const Aws::String &value)
CreateNamespaceRequest & WithNamespaceName(const Aws::String &value)
CreateNamespaceRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
CreateNamespaceRequest & WithAdminUsername(const Aws::String &value)
bool AdminUsernameHasBeenSet() const
bool TagsHasBeenSet() const
bool DefaultIamRoleArnHasBeenSet() const
const Aws::String & GetAdminUsername() const
CreateNamespaceRequest & AddLogExports(LogExport &&value)
const Aws::Vector< LogExport > & GetLogExports() const
bool AdminUserPasswordHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
void SetManageAdminPassword(bool value)
void SetTags(const Aws::Vector< Tag > &value)
void SetKmsKeyId(const char *value)
void SetKmsKeyId(Aws::String &&value)
CreateNamespaceRequest & WithAdminUsername(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetIamRoles(const Aws::Vector< Aws::String > &value)
CreateNamespaceRequest & WithKmsKeyId(const char *value)
CreateNamespaceRequest & WithDefaultIamRoleArn(const char *value)
CreateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(const Aws::String &value)
void SetIamRoles(Aws::Vector< Aws::String > &&value)
CreateNamespaceRequest & WithTags(const Aws::Vector< Tag > &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