7#include <aws/cloudtrail/CloudTrailRequest.h>
8#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
9#include <aws/cloudtrail/model/ImportSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename DestinationsT = Aws::Vector<Aws::String>>
45 m_destinationsHasBeenSet =
true;
46 m_destinations = std::forward<DestinationsT>(value);
48 template <
typename DestinationsT = Aws::Vector<Aws::String>>
53 template <
typename DestinationsT = Aws::String>
55 m_destinationsHasBeenSet =
true;
56 m_destinations.emplace_back(std::forward<DestinationsT>(value));
68 template <
typename ImportSourceT = ImportSource>
70 m_importSourceHasBeenSet =
true;
71 m_importSource = std::forward<ImportSourceT>(value);
73 template <
typename ImportSourceT = ImportSource>
91 template <
typename StartEventTimeT = Aws::Utils::DateTime>
93 m_startEventTimeHasBeenSet =
true;
94 m_startEventTime = std::forward<StartEventTimeT>(value);
96 template <
typename StartEventTimeT = Aws::Utils::DateTime>
114 template <
typename EndEventTimeT = Aws::Utils::DateTime>
116 m_endEventTimeHasBeenSet =
true;
117 m_endEventTime = std::forward<EndEventTimeT>(value);
119 template <
typename EndEventTimeT = Aws::Utils::DateTime>
133 template <
typename ImportIdT = Aws::String>
135 m_importIdHasBeenSet =
true;
136 m_importId = std::forward<ImportIdT>(value);
138 template <
typename ImportIdT = Aws::String>
154 bool m_destinationsHasBeenSet =
false;
155 bool m_importSourceHasBeenSet =
false;
156 bool m_startEventTimeHasBeenSet =
false;
157 bool m_endEventTimeHasBeenSet =
false;
158 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