7#include <aws/amp/PrometheusServiceRequest.h>
8#include <aws/amp/PrometheusService_EXPORTS.h>
9#include <aws/amp/model/LoggingDestination.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace PrometheusService {
41 template <
typename WorkspaceIdT = Aws::String>
43 m_workspaceIdHasBeenSet =
true;
44 m_workspaceId = std::forward<WorkspaceIdT>(value);
46 template <
typename WorkspaceIdT = Aws::String>
60 template <
typename DestinationsT = Aws::Vector<LoggingDestination>>
62 m_destinationsHasBeenSet =
true;
63 m_destinations = std::forward<DestinationsT>(value);
65 template <
typename DestinationsT = Aws::Vector<LoggingDestination>>
70 template <
typename DestinationsT = LoggingDestination>
72 m_destinationsHasBeenSet =
true;
73 m_destinations.emplace_back(std::forward<DestinationsT>(value));
85 template <
typename ClientTokenT = Aws::String>
87 m_clientTokenHasBeenSet =
true;
88 m_clientToken = std::forward<ClientTokenT>(value);
90 template <
typename ClientTokenT = Aws::String>
98 bool m_workspaceIdHasBeenSet =
false;
101 bool m_destinationsHasBeenSet =
false;
104 bool m_clientTokenHasBeenSet =
true;
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