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/http/HttpResponse.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ImportIdT = Aws::String>
42 m_importIdHasBeenSet =
true;
43 m_importId = std::forward<ImportIdT>(value);
45 template <
typename ImportIdT = Aws::String>
57 template <
typename DestinationsT = Aws::Vector<Aws::String>>
59 m_destinationsHasBeenSet =
true;
60 m_destinations = std::forward<DestinationsT>(value);
62 template <
typename DestinationsT = Aws::Vector<Aws::String>>
67 template <
typename DestinationsT = Aws::String>
69 m_destinationsHasBeenSet =
true;
70 m_destinations.emplace_back(std::forward<DestinationsT>(value));
80 template <
typename ImportSourceT = ImportSource>
82 m_importSourceHasBeenSet =
true;
83 m_importSource = std::forward<ImportSourceT>(value);
85 template <
typename ImportSourceT = ImportSource>
99 template <
typename StartEventTimeT = Aws::Utils::DateTime>
101 m_startEventTimeHasBeenSet =
true;
102 m_startEventTime = std::forward<StartEventTimeT>(value);
104 template <
typename StartEventTimeT = Aws::Utils::DateTime>
118 template <
typename EndEventTimeT = Aws::Utils::DateTime>
120 m_endEventTimeHasBeenSet =
true;
121 m_endEventTime = std::forward<EndEventTimeT>(value);
123 template <
typename EndEventTimeT = Aws::Utils::DateTime>
136 m_importStatusHasBeenSet =
true;
137 m_importStatus = value;
150 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
152 m_createdTimestampHasBeenSet =
true;
153 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
155 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
167 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
169 m_updatedTimestampHasBeenSet =
true;
170 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
172 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
187 template <
typename ImportStatisticsT = ImportStatistics>
189 m_importStatisticsHasBeenSet =
true;
190 m_importStatistics = std::forward<ImportStatisticsT>(value);
192 template <
typename ImportStatisticsT = ImportStatistics>
202 template <
typename RequestIdT = Aws::String>
204 m_requestIdHasBeenSet =
true;
205 m_requestId = std::forward<RequestIdT>(value);
207 template <
typename RequestIdT = Aws::String>
232 ImportStatistics m_importStatistics;
236 bool m_importIdHasBeenSet =
false;
237 bool m_destinationsHasBeenSet =
false;
238 bool m_importSourceHasBeenSet =
false;
239 bool m_startEventTimeHasBeenSet =
false;
240 bool m_endEventTimeHasBeenSet =
false;
241 bool m_importStatusHasBeenSet =
false;
242 bool m_createdTimestampHasBeenSet =
false;
243 bool m_updatedTimestampHasBeenSet =
false;
244 bool m_importStatisticsHasBeenSet =
false;
245 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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