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 SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
87 bool m_clientTokenHasBeenSet =
false;
90 bool m_dataHasBeenSet =
false;
93 bool m_workspaceIdHasBeenSet =
false;
PutAlertManagerDefinitionRequest & WithWorkspaceId(const Aws::String &value)
const Aws::String & GetWorkspaceId() const
void SetClientToken(const char *value)
void SetClientToken(Aws::String &&value)
void SetWorkspaceId(const Aws::String &value)
const Aws::Utils::ByteBuffer & GetData() const
PutAlertManagerDefinitionRequest & WithClientToken(const char *value)
void SetWorkspaceId(Aws::String &&value)
void SetData(const Aws::Utils::ByteBuffer &value)
PutAlertManagerDefinitionRequest & WithClientToken(const Aws::String &value)
bool WorkspaceIdHasBeenSet() const
void SetData(Aws::Utils::ByteBuffer &&value)
PutAlertManagerDefinitionRequest & WithWorkspaceId(const char *value)
PutAlertManagerDefinitionRequest & WithWorkspaceId(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API PutAlertManagerDefinitionRequest()
PutAlertManagerDefinitionRequest & WithData(const Aws::Utils::ByteBuffer &value)
PutAlertManagerDefinitionRequest & WithData(Aws::Utils::ByteBuffer &&value)
bool DataHasBeenSet() const
const Aws::String & GetClientToken() const
PutAlertManagerDefinitionRequest & WithClientToken(Aws::String &&value)
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
void SetWorkspaceId(const char *value)
bool ClientTokenHasBeenSet() const
void SetClientToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String