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>
16namespace RedshiftServerless
49 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); }
82 inline void SetAdminUsername(
const char* value) { m_adminUsernameHasBeenSet =
true; m_adminUsername.assign(value); }
98 inline void SetDefaultIamRoleArn(
const char* value) { m_defaultIamRoleArnHasBeenSet =
true; m_defaultIamRoleArn.assign(value); }
129 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
161 inline void SetManageAdminPassword(
bool value) { m_manageAdminPasswordHasBeenSet =
true; m_manageAdminPassword = value; }
174 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
182 bool m_adminPasswordSecretKmsKeyIdHasBeenSet =
false;
185 bool m_adminUserPasswordHasBeenSet =
false;
188 bool m_adminUsernameHasBeenSet =
false;
191 bool m_defaultIamRoleArnHasBeenSet =
false;
194 bool m_iamRolesHasBeenSet =
false;
197 bool m_kmsKeyIdHasBeenSet =
false;
200 bool m_logExportsHasBeenSet =
false;
202 bool m_manageAdminPassword;
203 bool m_manageAdminPasswordHasBeenSet =
false;
206 bool m_namespaceNameHasBeenSet =
false;
bool AdminUsernameHasBeenSet() const
bool IamRolesHasBeenSet() const
const Aws::String & GetNamespaceName() const
void SetNamespaceName(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
const Aws::String & GetAdminPasswordSecretKmsKeyId() const
void SetIamRoles(Aws::Vector< Aws::String > &&value)
const Aws::String & GetKmsKeyId() const
UpdateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(const char *value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
UpdateNamespaceRequest & WithDefaultIamRoleArn(const Aws::String &value)
const Aws::Vector< LogExport > & GetLogExports() const
UpdateNamespaceRequest & WithAdminUsername(const char *value)
UpdateNamespaceRequest & WithAdminUserPassword(Aws::String &&value)
UpdateNamespaceRequest & WithAdminUsername(Aws::String &&value)
UpdateNamespaceRequest & WithLogExports(const Aws::Vector< LogExport > &value)
UpdateNamespaceRequest & AddIamRoles(const char *value)
void SetLogExports(const Aws::Vector< LogExport > &value)
void SetNamespaceName(const char *value)
UpdateNamespaceRequest & WithAdminUsername(const Aws::String &value)
void SetAdminPasswordSecretKmsKeyId(const Aws::String &value)
UpdateNamespaceRequest & WithNamespaceName(Aws::String &&value)
void SetDefaultIamRoleArn(const char *value)
void SetAdminPasswordSecretKmsKeyId(Aws::String &&value)
void SetAdminUsername(const char *value)
UpdateNamespaceRequest & AddLogExports(LogExport &&value)
UpdateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIamRoles() const
void SetAdminPasswordSecretKmsKeyId(const char *value)
UpdateNamespaceRequest & WithAdminUserPassword(const char *value)
UpdateNamespaceRequest & AddLogExports(const LogExport &value)
void SetDefaultIamRoleArn(const Aws::String &value)
UpdateNamespaceRequest & WithKmsKeyId(Aws::String &&value)
UpdateNamespaceRequest & AddIamRoles(const Aws::String &value)
void SetAdminUserPassword(const char *value)
const Aws::String & GetDefaultIamRoleArn() const
void SetAdminUsername(Aws::String &&value)
void SetDefaultIamRoleArn(Aws::String &&value)
void SetLogExports(Aws::Vector< LogExport > &&value)
virtual const char * GetServiceRequestName() const override
void SetKmsKeyId(const char *value)
const Aws::String & GetAdminUserPassword() const
void SetIamRoles(const Aws::Vector< Aws::String > &value)
UpdateNamespaceRequest & WithManageAdminPassword(bool value)
UpdateNamespaceRequest & WithDefaultIamRoleArn(const char *value)
bool DefaultIamRoleArnHasBeenSet() const
UpdateNamespaceRequest & WithDefaultIamRoleArn(Aws::String &&value)
void SetNamespaceName(const Aws::String &value)
UpdateNamespaceRequest & WithIamRoles(Aws::Vector< Aws::String > &&value)
bool ManageAdminPasswordHasBeenSet() const
bool AdminPasswordSecretKmsKeyIdHasBeenSet() const
void SetKmsKeyId(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API UpdateNamespaceRequest()
bool AdminUserPasswordHasBeenSet() const
UpdateNamespaceRequest & WithNamespaceName(const char *value)
UpdateNamespaceRequest & WithKmsKeyId(const Aws::String &value)
bool GetManageAdminPassword() const
void SetAdminUserPassword(const Aws::String &value)
UpdateNamespaceRequest & WithKmsKeyId(const char *value)
UpdateNamespaceRequest & WithLogExports(Aws::Vector< LogExport > &&value)
const Aws::String & GetAdminUsername() const
UpdateNamespaceRequest & WithAdminPasswordSecretKmsKeyId(Aws::String &&value)
bool LogExportsHasBeenSet() const
bool NamespaceNameHasBeenSet() const
UpdateNamespaceRequest & AddIamRoles(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetAdminUsername(const Aws::String &value)
UpdateNamespaceRequest & WithNamespaceName(const Aws::String &value)
void SetAdminUserPassword(Aws::String &&value)
void SetManageAdminPassword(bool value)
UpdateNamespaceRequest & WithIamRoles(const Aws::Vector< Aws::String > &value)
UpdateNamespaceRequest & WithAdminUserPassword(const Aws::String &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