7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/logs/model/ExportTaskStatus.h>
10#include <aws/logs/model/ExportTaskExecutionInfo.h>
23namespace CloudWatchLogs
50 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
64 inline void SetTaskName(
const char* value) { m_taskNameHasBeenSet =
true; m_taskName.assign(value); }
78 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
90 inline long long GetFrom()
const{
return m_from; }
92 inline void SetFrom(
long long value) { m_fromHasBeenSet =
true; m_from = value; }
102 inline long long GetTo()
const{
return m_to; }
104 inline void SetTo(
long long value) { m_toHasBeenSet =
true; m_to = value; }
116 inline void SetDestination(
const char* value) { m_destinationHasBeenSet =
true; m_destination.assign(value); }
131 inline void SetDestinationPrefix(
const char* value) { m_destinationPrefixHasBeenSet =
true; m_destinationPrefix.assign(value); }
163 bool m_taskIdHasBeenSet =
false;
166 bool m_taskNameHasBeenSet =
false;
169 bool m_logGroupNameHasBeenSet =
false;
172 bool m_fromHasBeenSet =
false;
175 bool m_toHasBeenSet =
false;
178 bool m_destinationHasBeenSet =
false;
181 bool m_destinationPrefixHasBeenSet =
false;
184 bool m_statusHasBeenSet =
false;
187 bool m_executionInfoHasBeenSet =
false;
void SetStatus(ExportTaskStatus &&value)
void SetTaskId(const Aws::String &value)
const Aws::String & GetTaskName() const
void SetLogGroupName(Aws::String &&value)
long long GetFrom() const
void SetExecutionInfo(ExportTaskExecutionInfo &&value)
AWS_CLOUDWATCHLOGS_API ExportTask(Aws::Utils::Json::JsonView jsonValue)
ExportTask & WithTo(long long value)
AWS_CLOUDWATCHLOGS_API ExportTask()
void SetDestinationPrefix(const char *value)
bool TaskIdHasBeenSet() const
bool StatusHasBeenSet() const
ExportTask & WithLogGroupName(Aws::String &&value)
ExportTask & WithFrom(long long value)
bool TaskNameHasBeenSet() const
void SetExecutionInfo(const ExportTaskExecutionInfo &value)
void SetTaskName(const char *value)
void SetDestinationPrefix(Aws::String &&value)
void SetDestination(Aws::String &&value)
ExportTask & WithExecutionInfo(const ExportTaskExecutionInfo &value)
ExportTask & WithDestination(const char *value)
void SetFrom(long long value)
void SetDestinationPrefix(const Aws::String &value)
AWS_CLOUDWATCHLOGS_API ExportTask & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FromHasBeenSet() const
bool DestinationPrefixHasBeenSet() const
ExportTask & WithLogGroupName(const char *value)
ExportTask & WithExecutionInfo(ExportTaskExecutionInfo &&value)
ExportTask & WithLogGroupName(const Aws::String &value)
void SetTaskName(Aws::String &&value)
bool ExecutionInfoHasBeenSet() const
ExportTask & WithDestination(Aws::String &&value)
const ExportTaskExecutionInfo & GetExecutionInfo() const
bool LogGroupNameHasBeenSet() const
void SetDestination(const char *value)
void SetTo(long long value)
ExportTask & WithStatus(const ExportTaskStatus &value)
ExportTask & WithDestination(const Aws::String &value)
ExportTask & WithTaskName(Aws::String &&value)
void SetDestination(const Aws::String &value)
const ExportTaskStatus & GetStatus() const
bool DestinationHasBeenSet() const
ExportTask & WithStatus(ExportTaskStatus &&value)
ExportTask & WithTaskId(const Aws::String &value)
ExportTask & WithDestinationPrefix(const Aws::String &value)
void SetLogGroupName(const Aws::String &value)
ExportTask & WithDestinationPrefix(const char *value)
ExportTask & WithTaskName(const char *value)
const Aws::String & GetTaskId() const
void SetStatus(const ExportTaskStatus &value)
bool ToHasBeenSet() const
ExportTask & WithTaskName(const Aws::String &value)
ExportTask & WithDestinationPrefix(Aws::String &&value)
const Aws::String & GetLogGroupName() const
void SetLogGroupName(const char *value)
const Aws::String & GetDestinationPrefix() const
void SetTaskId(const char *value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
ExportTask & WithTaskId(const char *value)
const Aws::String & GetDestination() const
void SetTaskName(const Aws::String &value)
void SetTaskId(Aws::String &&value)
ExportTask & WithTaskId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue