7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogsRequest.h>
9#include <aws/logs/CloudWatchLogs_EXPORTS.h>
14namespace CloudWatchLogs {
39 template <
typename TaskNameT = Aws::String>
41 m_taskNameHasBeenSet =
true;
42 m_taskName = std::forward<TaskNameT>(value);
44 template <
typename TaskNameT = Aws::String>
57 template <
typename LogGroupNameT = Aws::String>
59 m_logGroupNameHasBeenSet =
true;
60 m_logGroupName = std::forward<LogGroupNameT>(value);
62 template <
typename LogGroupNameT = Aws::String>
76 template <
typename LogStreamNamePrefixT = Aws::String>
78 m_logStreamNamePrefixHasBeenSet =
true;
79 m_logStreamNamePrefix = std::forward<LogStreamNamePrefixT>(value);
81 template <
typename LogStreamNamePrefixT = Aws::String>
94 inline long long GetFrom()
const {
return m_from; }
97 m_fromHasBeenSet =
true;
113 inline long long GetTo()
const {
return m_to; }
115 inline void SetTo(
long long value) {
116 m_toHasBeenSet =
true;
132 template <
typename DestinationT = Aws::String>
134 m_destinationHasBeenSet =
true;
135 m_destination = std::forward<DestinationT>(value);
137 template <
typename DestinationT = Aws::String>
154 template <
typename DestinationPrefixT = Aws::String>
156 m_destinationPrefixHasBeenSet =
true;
157 m_destinationPrefix = std::forward<DestinationPrefixT>(value);
159 template <
typename DestinationPrefixT = Aws::String>
179 bool m_taskNameHasBeenSet =
false;
180 bool m_logGroupNameHasBeenSet =
false;
181 bool m_logStreamNamePrefixHasBeenSet =
false;
182 bool m_fromHasBeenSet =
false;
183 bool m_toHasBeenSet =
false;
184 bool m_destinationHasBeenSet =
false;
185 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