7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
45 inline void SetTaskName(
const char* value) { m_taskNameHasBeenSet =
true; m_taskName.assign(value); }
59 inline void SetLogGroupName(
const char* value) { m_logGroupNameHasBeenSet =
true; m_logGroupName.assign(value); }
74 inline void SetLogStreamNamePrefix(
const char* value) { m_logStreamNamePrefixHasBeenSet =
true; m_logStreamNamePrefix.assign(value); }
86 inline long long GetFrom()
const{
return m_from; }
88 inline void SetFrom(
long long value) { m_fromHasBeenSet =
true; m_from = value; }
99 inline long long GetTo()
const{
return m_to; }
101 inline void SetTo(
long long value) { m_toHasBeenSet =
true; m_to = value; }
114 inline void SetDestination(
const char* value) { m_destinationHasBeenSet =
true; m_destination.assign(value); }
132 inline void SetDestinationPrefix(
const char* value) { m_destinationPrefixHasBeenSet =
true; m_destinationPrefix.assign(value); }
140 bool m_taskNameHasBeenSet =
false;
143 bool m_logGroupNameHasBeenSet =
false;
146 bool m_logStreamNamePrefixHasBeenSet =
false;
149 bool m_fromHasBeenSet =
false;
152 bool m_toHasBeenSet =
false;
155 bool m_destinationHasBeenSet =
false;
158 bool m_destinationPrefixHasBeenSet =
false;
CreateExportTaskRequest & WithLogGroupName(const char *value)
CreateExportTaskRequest & WithDestination(Aws::String &&value)
bool ToHasBeenSet() const
CreateExportTaskRequest & WithDestinationPrefix(Aws::String &&value)
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateExportTaskRequest & WithDestination(const Aws::String &value)
CreateExportTaskRequest & WithTaskName(Aws::String &&value)
void SetLogStreamNamePrefix(const Aws::String &value)
CreateExportTaskRequest & WithTaskName(const Aws::String &value)
void SetLogStreamNamePrefix(Aws::String &&value)
CreateExportTaskRequest & WithTaskName(const char *value)
void SetTaskName(const char *value)
const Aws::String & GetLogStreamNamePrefix() const
CreateExportTaskRequest & WithLogGroupName(const Aws::String &value)
CreateExportTaskRequest & WithLogStreamNamePrefix(const Aws::String &value)
void SetLogGroupName(Aws::String &&value)
CreateExportTaskRequest & WithLogStreamNamePrefix(const char *value)
CreateExportTaskRequest & WithDestination(const char *value)
bool LogStreamNamePrefixHasBeenSet() const
const Aws::String & GetTaskName() const
CreateExportTaskRequest & WithFrom(long long value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetTaskName(const Aws::String &value)
const Aws::String & GetLogGroupName() const
void SetFrom(long long value)
long long GetFrom() const
bool DestinationPrefixHasBeenSet() const
const Aws::String & GetDestinationPrefix() const
void SetDestinationPrefix(const char *value)
CreateExportTaskRequest & WithTo(long long value)
CreateExportTaskRequest & WithDestinationPrefix(const Aws::String &value)
void SetTaskName(Aws::String &&value)
void SetDestinationPrefix(const Aws::String &value)
void SetDestination(Aws::String &&value)
const Aws::String & GetDestination() const
void SetLogStreamNamePrefix(const char *value)
CreateExportTaskRequest & WithLogStreamNamePrefix(Aws::String &&value)
void SetLogGroupName(const char *value)
void SetDestination(const char *value)
void SetDestinationPrefix(Aws::String &&value)
CreateExportTaskRequest & WithDestinationPrefix(const char *value)
bool TaskNameHasBeenSet() const
void SetTo(long long value)
AWS_CLOUDWATCHLOGS_API CreateExportTaskRequest()
bool LogGroupNameHasBeenSet() const
CreateExportTaskRequest & WithLogGroupName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetDestination(const Aws::String &value)
bool DestinationHasBeenSet() const
void SetLogGroupName(const Aws::String &value)
bool FromHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String