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>
12#include <aws/core/utils/UUID.h>
16namespace PrometheusService
50 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
79 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
93 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
101 bool m_clientTokenHasBeenSet =
false;
104 bool m_dataHasBeenSet =
false;
107 bool m_nameHasBeenSet =
false;
110 bool m_workspaceIdHasBeenSet =
false;
void SetWorkspaceId(const char *value)
PutRuleGroupsNamespaceRequest & WithWorkspaceId(const char *value)
void SetWorkspaceId(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::String & GetWorkspaceId() const
PutRuleGroupsNamespaceRequest & WithData(Aws::Utils::ByteBuffer &&value)
PutRuleGroupsNamespaceRequest & WithName(Aws::String &&value)
PutRuleGroupsNamespaceRequest & WithClientToken(Aws::String &&value)
void SetWorkspaceId(Aws::String &&value)
bool DataHasBeenSet() const
bool WorkspaceIdHasBeenSet() const
AWS_PROMETHEUSSERVICE_API PutRuleGroupsNamespaceRequest()
bool ClientTokenHasBeenSet() const
void SetName(const Aws::String &value)
void SetData(const Aws::Utils::ByteBuffer &value)
const Aws::Utils::ByteBuffer & GetData() const
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetName(const char *value)
void SetName(Aws::String &&value)
void SetClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetData(Aws::Utils::ByteBuffer &&value)
PutRuleGroupsNamespaceRequest & WithWorkspaceId(Aws::String &&value)
const Aws::String & GetClientToken() const
PutRuleGroupsNamespaceRequest & WithData(const Aws::Utils::ByteBuffer &value)
PutRuleGroupsNamespaceRequest & WithName(const char *value)
PutRuleGroupsNamespaceRequest & WithClientToken(const Aws::String &value)
PutRuleGroupsNamespaceRequest & WithName(const Aws::String &value)
PutRuleGroupsNamespaceRequest & WithWorkspaceId(const Aws::String &value)
const Aws::String & GetName() const
void SetClientToken(const char *value)
PutRuleGroupsNamespaceRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String