7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/amp/PrometheusServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
16namespace PrometheusService
51 inline void SetAlias(
const char* value) { m_aliasHasBeenSet =
true; m_alias.assign(value); }
66 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
84 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
111 bool m_aliasHasBeenSet =
false;
114 bool m_clientTokenHasBeenSet =
false;
117 bool m_kmsKeyArnHasBeenSet =
false;
120 bool m_tagsHasBeenSet =
false;
CreateWorkspaceRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_PROMETHEUSSERVICE_API CreateWorkspaceRequest()
CreateWorkspaceRequest & WithKmsKeyArn(const char *value)
void SetAlias(Aws::String &&value)
const Aws::String & GetClientToken() const
CreateWorkspaceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkspaceRequest & AddTags(Aws::String &&key, const char *value)
CreateWorkspaceRequest & WithAlias(const char *value)
void SetKmsKeyArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorkspaceRequest & WithClientToken(Aws::String &&value)
CreateWorkspaceRequest & AddTags(const char *key, const char *value)
CreateWorkspaceRequest & WithKmsKeyArn(Aws::String &&value)
CreateWorkspaceRequest & AddTags(const char *key, Aws::String &&value)
bool AliasHasBeenSet() const
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
CreateWorkspaceRequest & WithAlias(Aws::String &&value)
const Aws::String & GetKmsKeyArn() const
void SetKmsKeyArn(const char *value)
CreateWorkspaceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkspaceRequest & WithClientToken(const char *value)
void SetKmsKeyArn(const Aws::String &value)
bool TagsHasBeenSet() const
void SetClientToken(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateWorkspaceRequest & WithKmsKeyArn(const Aws::String &value)
CreateWorkspaceRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool ClientTokenHasBeenSet() const
const Aws::String & GetAlias() const
CreateWorkspaceRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateWorkspaceRequest & AddTags(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetAlias(const char *value)
void SetClientToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateWorkspaceRequest & WithClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetAlias(const Aws::String &value)
CreateWorkspaceRequest & WithAlias(const Aws::String &value)
bool KmsKeyArnHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String