7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/ImportSource.h>
9#include <aws/cloudtrail/model/ImportStatistics.h>
10#include <aws/cloudtrail/model/ImportStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename ImportIdT = Aws::String>
41 m_importIdHasBeenSet =
true;
42 m_importId = std::forward<ImportIdT>(value);
44 template <
typename ImportIdT = Aws::String>
56 template <
typename DestinationsT = Aws::Vector<Aws::String>>
58 m_destinationsHasBeenSet =
true;
59 m_destinations = std::forward<DestinationsT>(value);
61 template <
typename DestinationsT = Aws::Vector<Aws::String>>
66 template <
typename DestinationsT = Aws::String>
68 m_destinationsHasBeenSet =
true;
69 m_destinations.emplace_back(std::forward<DestinationsT>(value));
79 template <
typename ImportSourceT = ImportSource>
81 m_importSourceHasBeenSet =
true;
82 m_importSource = std::forward<ImportSourceT>(value);
84 template <
typename ImportSourceT = ImportSource>
98 template <
typename StartEventTimeT = Aws::Utils::DateTime>
100 m_startEventTimeHasBeenSet =
true;
101 m_startEventTime = std::forward<StartEventTimeT>(value);
103 template <
typename StartEventTimeT = Aws::Utils::DateTime>
117 template <
typename EndEventTimeT = Aws::Utils::DateTime>
119 m_endEventTimeHasBeenSet =
true;
120 m_endEventTime = std::forward<EndEventTimeT>(value);
122 template <
typename EndEventTimeT = Aws::Utils::DateTime>
135 m_importStatusHasBeenSet =
true;
136 m_importStatus = value;
149 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
151 m_createdTimestampHasBeenSet =
true;
152 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
154 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
166 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
168 m_updatedTimestampHasBeenSet =
true;
169 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
171 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
186 template <
typename ImportStatisticsT = ImportStatistics>
188 m_importStatisticsHasBeenSet =
true;
189 m_importStatistics = std::forward<ImportStatisticsT>(value);
191 template <
typename ImportStatisticsT = ImportStatistics>
201 template <
typename RequestIdT = Aws::String>
203 m_requestIdHasBeenSet =
true;
204 m_requestId = std::forward<RequestIdT>(value);
206 template <
typename RequestIdT = Aws::String>
229 ImportStatistics m_importStatistics;
232 bool m_importIdHasBeenSet =
false;
233 bool m_destinationsHasBeenSet =
false;
234 bool m_importSourceHasBeenSet =
false;
235 bool m_startEventTimeHasBeenSet =
false;
236 bool m_endEventTimeHasBeenSet =
false;
237 bool m_importStatusHasBeenSet =
false;
238 bool m_createdTimestampHasBeenSet =
false;
239 bool m_updatedTimestampHasBeenSet =
false;
240 bool m_importStatisticsHasBeenSet =
false;
241 bool m_requestIdHasBeenSet =
false;
void SetImportId(ImportIdT &&value)
void SetImportSource(ImportSourceT &&value)
GetImportResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
const Aws::String & GetRequestId() const
const ImportStatistics & GetImportStatistics() const
AWS_CLOUDTRAIL_API GetImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API GetImportResult()=default
GetImportResult & WithStartEventTime(StartEventTimeT &&value)
GetImportResult & WithImportId(ImportIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetImportResult & AddDestinations(DestinationsT &&value)
void SetStartEventTime(StartEventTimeT &&value)
const Aws::Utils::DateTime & GetStartEventTime() const
GetImportResult & WithImportStatistics(ImportStatisticsT &&value)
void SetImportStatistics(ImportStatisticsT &&value)
GetImportResult & WithDestinations(DestinationsT &&value)
AWS_CLOUDTRAIL_API GetImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDestinations(DestinationsT &&value)
GetImportResult & WithImportStatus(ImportStatus value)
GetImportResult & WithEndEventTime(EndEventTimeT &&value)
void SetRequestId(RequestIdT &&value)
GetImportResult & WithImportSource(ImportSourceT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
const Aws::Vector< Aws::String > & GetDestinations() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
GetImportResult & WithCreatedTimestamp(CreatedTimestampT &&value)
void SetEndEventTime(EndEventTimeT &&value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
const Aws::Utils::DateTime & GetEndEventTime() const
GetImportResult & WithRequestId(RequestIdT &&value)
const ImportSource & GetImportSource() const
const Aws::String & GetImportId() const
void SetImportStatus(ImportStatus value)
ImportStatus GetImportStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue