7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace CloudWatchLogs
43 template<
typename TaskNameT = Aws::String>
44 void SetTaskName(TaskNameT&& value) { m_taskNameHasBeenSet =
true; m_taskName = std::forward<TaskNameT>(value); }
45 template<
typename TaskNameT = Aws::String>
55 template<
typename LogGroupNameT = Aws::String>
56 void SetLogGroupName(LogGroupNameT&& value) { m_logGroupNameHasBeenSet =
true; m_logGroupName = std::forward<LogGroupNameT>(value); }
57 template<
typename LogGroupNameT = Aws::String>
68 template<
typename LogStreamNamePrefixT = Aws::String>
69 void SetLogStreamNamePrefix(LogStreamNamePrefixT&& value) { m_logStreamNamePrefixHasBeenSet =
true; m_logStreamNamePrefix = std::forward<LogStreamNamePrefixT>(value); }
70 template<
typename LogStreamNamePrefixT = Aws::String>
80 inline long long GetFrom()
const {
return m_from; }
82 inline void SetFrom(
long long value) { m_fromHasBeenSet =
true; m_from = value; }
93 inline long long GetTo()
const {
return m_to; }
95 inline void SetTo(
long long value) { m_toHasBeenSet =
true; m_to = value; }
106 template<
typename DestinationT = Aws::String>
107 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
108 template<
typename DestinationT = Aws::String>
122 template<
typename DestinationPrefixT = Aws::String>
123 void SetDestinationPrefix(DestinationPrefixT&& value) { m_destinationPrefixHasBeenSet =
true; m_destinationPrefix = std::forward<DestinationPrefixT>(value); }
124 template<
typename DestinationPrefixT = Aws::String>
130 bool m_taskNameHasBeenSet =
false;
133 bool m_logGroupNameHasBeenSet =
false;
136 bool m_logStreamNamePrefixHasBeenSet =
false;
139 bool m_fromHasBeenSet =
false;
142 bool m_toHasBeenSet =
false;
145 bool m_destinationHasBeenSet =
false;
148 bool m_destinationPrefixHasBeenSet =
false;
bool ToHasBeenSet() const
AWS_CLOUDWATCHLOGS_API CreateExportTaskRequest()=default
AWS_CLOUDWATCHLOGS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetLogStreamNamePrefix() const
void SetLogGroupName(LogGroupNameT &&value)
bool LogStreamNamePrefixHasBeenSet() const
const Aws::String & GetTaskName() const
CreateExportTaskRequest & WithFrom(long long value)
AWS_CLOUDWATCHLOGS_API Aws::String SerializePayload() const override
void SetLogStreamNamePrefix(LogStreamNamePrefixT &&value)
const Aws::String & GetLogGroupName() const
void SetFrom(long long value)
CreateExportTaskRequest & WithDestinationPrefix(DestinationPrefixT &&value)
CreateExportTaskRequest & WithLogGroupName(LogGroupNameT &&value)
long long GetFrom() const
bool DestinationPrefixHasBeenSet() const
const Aws::String & GetDestinationPrefix() const
CreateExportTaskRequest & WithTo(long long value)
void SetDestinationPrefix(DestinationPrefixT &&value)
const Aws::String & GetDestination() const
CreateExportTaskRequest & WithDestination(DestinationT &&value)
CreateExportTaskRequest & WithLogStreamNamePrefix(LogStreamNamePrefixT &&value)
void SetTaskName(TaskNameT &&value)
bool TaskNameHasBeenSet() const
void SetTo(long long value)
bool LogGroupNameHasBeenSet() const
CreateExportTaskRequest & WithTaskName(TaskNameT &&value)
virtual const char * GetServiceRequestName() const override
bool DestinationHasBeenSet() const
void SetDestination(DestinationT &&value)
bool FromHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String