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/AWSVector.h>
11#include <aws/amp/model/LoggingDestination.h>
13#include <aws/core/utils/UUID.h>
17namespace PrometheusService
45 template<
typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<
typename ClientTokenT = Aws::String>
58 template<
typename DestinationsT = Aws::Vector<LoggingDestination>>
59 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
60 template<
typename DestinationsT = Aws::Vector<LoggingDestination>>
62 template<
typename DestinationsT = LoggingDestination>
73 template<
typename WorkspaceIdT = Aws::String>
74 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
75 template<
typename WorkspaceIdT = Aws::String>
81 bool m_clientTokenHasBeenSet =
true;
84 bool m_destinationsHasBeenSet =
false;
87 bool m_workspaceIdHasBeenSet =
false;
const Aws::String & GetWorkspaceId() const
CreateQueryLoggingConfigurationRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetClientToken() const
AWS_PROMETHEUSSERVICE_API Aws::String SerializePayload() const override
void SetDestinations(DestinationsT &&value)
bool ClientTokenHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetWorkspaceId(WorkspaceIdT &&value)
CreateQueryLoggingConfigurationRequest & AddDestinations(DestinationsT &&value)
const Aws::Vector< LoggingDestination > & GetDestinations() const
void SetClientToken(ClientTokenT &&value)
AWS_PROMETHEUSSERVICE_API CreateQueryLoggingConfigurationRequest()=default
bool DestinationsHasBeenSet() const
CreateQueryLoggingConfigurationRequest & WithDestinations(DestinationsT &&value)
bool WorkspaceIdHasBeenSet() const
CreateQueryLoggingConfigurationRequest & WithWorkspaceId(WorkspaceIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector