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/Array.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
17namespace PrometheusService
51 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
80 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
114 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
122 bool m_clientTokenHasBeenSet =
false;
125 bool m_dataHasBeenSet =
false;
128 bool m_nameHasBeenSet =
false;
131 bool m_tagsHasBeenSet =
false;
134 bool m_workspaceIdHasBeenSet =
false;
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRuleGroupsNamespaceRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRuleGroupsNamespaceRequest & WithClientToken(const Aws::String &value)
CreateRuleGroupsNamespaceRequest & WithWorkspaceId(const Aws::String &value)
void SetClientToken(Aws::String &&value)
CreateRuleGroupsNamespaceRequest & WithWorkspaceId(const char *value)
CreateRuleGroupsNamespaceRequest & AddTags(Aws::String &&key, const char *value)
CreateRuleGroupsNamespaceRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetWorkspaceId(const char *value)
void SetWorkspaceId(const Aws::String &value)
void SetData(const Aws::Utils::ByteBuffer &value)
CreateRuleGroupsNamespaceRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientToken(const Aws::String &value)
void SetName(const char *value)
CreateRuleGroupsNamespaceRequest & WithName(Aws::String &&value)
CreateRuleGroupsNamespaceRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetData(Aws::Utils::ByteBuffer &&value)
bool TagsHasBeenSet() const
const Aws::Utils::ByteBuffer & GetData() const
const Aws::String & GetWorkspaceId() const
void SetName(Aws::String &&value)
bool WorkspaceIdHasBeenSet() const
CreateRuleGroupsNamespaceRequest & AddTags(const char *key, Aws::String &&value)
CreateRuleGroupsNamespaceRequest & WithData(const Aws::Utils::ByteBuffer &value)
CreateRuleGroupsNamespaceRequest & AddTags(const char *key, const char *value)
bool NameHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateRuleGroupsNamespaceRequest & WithName(const Aws::String &value)
const Aws::String & GetClientToken() const
AWS_PROMETHEUSSERVICE_API CreateRuleGroupsNamespaceRequest()
CreateRuleGroupsNamespaceRequest & WithClientToken(const char *value)
CreateRuleGroupsNamespaceRequest & WithName(const char *value)
bool DataHasBeenSet() const
CreateRuleGroupsNamespaceRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(const char *value)
CreateRuleGroupsNamespaceRequest & WithClientToken(Aws::String &&value)
CreateRuleGroupsNamespaceRequest & AddTags(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetWorkspaceId(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
CreateRuleGroupsNamespaceRequest & WithData(Aws::Utils::ByteBuffer &&value)
void SetName(const Aws::String &value)
CreateRuleGroupsNamespaceRequest & WithWorkspaceId(Aws::String &&value)
const Aws::String & GetName() 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