7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/ImportSource.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename DestinationsT = Aws::Vector<Aws::String>>
48 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
49 template<
typename DestinationsT = Aws::Vector<Aws::String>>
51 template<
typename DestinationsT = Aws::String>
52 StartImportRequest&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
62 template<
typename ImportSourceT = ImportSource>
63 void SetImportSource(ImportSourceT&& value) { m_importSourceHasBeenSet =
true; m_importSource = std::forward<ImportSourceT>(value); }
64 template<
typename ImportSourceT = ImportSource>
79 template<
typename StartEventTimeT = Aws::Utils::DateTime>
80 void SetStartEventTime(StartEventTimeT&& value) { m_startEventTimeHasBeenSet =
true; m_startEventTime = std::forward<StartEventTimeT>(value); }
81 template<
typename StartEventTimeT = Aws::Utils::DateTime>
96 template<
typename EndEventTimeT = Aws::Utils::DateTime>
97 void SetEndEventTime(EndEventTimeT&& value) { m_endEventTimeHasBeenSet =
true; m_endEventTime = std::forward<EndEventTimeT>(value); }
98 template<
typename EndEventTimeT = Aws::Utils::DateTime>
109 template<
typename ImportIdT = Aws::String>
110 void SetImportId(ImportIdT&& value) { m_importIdHasBeenSet =
true; m_importId = std::forward<ImportIdT>(value); }
111 template<
typename ImportIdT = Aws::String>
117 bool m_destinationsHasBeenSet =
false;
120 bool m_importSourceHasBeenSet =
false;
123 bool m_startEventTimeHasBeenSet =
false;
126 bool m_endEventTimeHasBeenSet =
false;
129 bool m_importIdHasBeenSet =
false;
bool EndEventTimeHasBeenSet() const
void SetStartEventTime(StartEventTimeT &&value)
virtual const char * GetServiceRequestName() const override
void SetImportId(ImportIdT &&value)
StartImportRequest & WithImportSource(ImportSourceT &&value)
const Aws::Utils::DateTime & GetEndEventTime() const
StartImportRequest & AddDestinations(DestinationsT &&value)
const ImportSource & GetImportSource() const
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartImportRequest & WithEndEventTime(EndEventTimeT &&value)
const Aws::Utils::DateTime & GetStartEventTime() const
bool ImportSourceHasBeenSet() const
void SetDestinations(DestinationsT &&value)
void SetImportSource(ImportSourceT &&value)
AWS_CLOUDTRAIL_API StartImportRequest()=default
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
bool DestinationsHasBeenSet() const
const Aws::Vector< Aws::String > & GetDestinations() const
const Aws::String & GetImportId() const
StartImportRequest & WithStartEventTime(StartEventTimeT &&value)
StartImportRequest & WithImportId(ImportIdT &&value)
bool ImportIdHasBeenSet() const
void SetEndEventTime(EndEventTimeT &&value)
bool StartEventTimeHasBeenSet() const
StartImportRequest & WithDestinations(DestinationsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector