7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/ActionStatus.h>
10#include <aws/logs/model/ScheduledQueryDestinationType.h>
21namespace CloudWatchLogs {
45 m_destinationTypeHasBeenSet =
true;
46 m_destinationType = value;
60 template <
typename DestinationIdentifierT = Aws::String>
62 m_destinationIdentifierHasBeenSet =
true;
63 m_destinationIdentifier = std::forward<DestinationIdentifierT>(value);
65 template <
typename DestinationIdentifierT = Aws::String>
79 m_statusHasBeenSet =
true;
94 template <
typename ProcessedIdentifierT = Aws::String>
96 m_processedIdentifierHasBeenSet =
true;
97 m_processedIdentifier = std::forward<ProcessedIdentifierT>(value);
99 template <
typename ProcessedIdentifierT = Aws::String>
112 template <
typename ErrorMessageT = Aws::String>
114 m_errorMessageHasBeenSet =
true;
115 m_errorMessage = std::forward<ErrorMessageT>(value);
117 template <
typename ErrorMessageT = Aws::String>
133 bool m_destinationTypeHasBeenSet =
false;
134 bool m_destinationIdentifierHasBeenSet =
false;
135 bool m_statusHasBeenSet =
false;
136 bool m_processedIdentifierHasBeenSet =
false;
137 bool m_errorMessageHasBeenSet =
false;
ScheduledQueryDestination & WithDestinationType(ScheduledQueryDestinationType value)
const Aws::String & GetErrorMessage() const
const Aws::String & GetDestinationIdentifier() const
bool ProcessedIdentifierHasBeenSet() const
ActionStatus GetStatus() const
AWS_CLOUDWATCHLOGS_API ScheduledQueryDestination()=default
void SetProcessedIdentifier(ProcessedIdentifierT &&value)
bool ErrorMessageHasBeenSet() const
ScheduledQueryDestinationType GetDestinationType() const
bool StatusHasBeenSet() const
bool DestinationTypeHasBeenSet() const
void SetDestinationType(ScheduledQueryDestinationType value)
void SetDestinationIdentifier(DestinationIdentifierT &&value)
ScheduledQueryDestination & WithStatus(ActionStatus value)
ScheduledQueryDestination & WithDestinationIdentifier(DestinationIdentifierT &&value)
ScheduledQueryDestination & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetProcessedIdentifier() const
AWS_CLOUDWATCHLOGS_API ScheduledQueryDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(ErrorMessageT &&value)
ScheduledQueryDestination & WithProcessedIdentifier(ProcessedIdentifierT &&value)
AWS_CLOUDWATCHLOGS_API ScheduledQueryDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
bool DestinationIdentifierHasBeenSet() const
void SetStatus(ActionStatus value)
ScheduledQueryDestinationType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue