7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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/cloudtrail/model/ImportStatus.h>
13#include <aws/cloudtrail/model/ImportStatistics.h>
18template<
typename RESULT_TYPE>
19class AmazonWebServiceResult;
45 template<
typename ImportIdT = Aws::String>
46 void SetImportId(ImportIdT&& value) { m_importIdHasBeenSet =
true; m_importId = std::forward<ImportIdT>(value); }
47 template<
typename ImportIdT = Aws::String>
56 template<
typename DestinationsT = Aws::Vector<Aws::String>>
57 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
58 template<
typename DestinationsT = Aws::Vector<Aws::String>>
60 template<
typename DestinationsT = Aws::String>
61 GetImportResult&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
69 template<
typename ImportSourceT = ImportSource>
70 void SetImportSource(ImportSourceT&& value) { m_importSourceHasBeenSet =
true; m_importSource = std::forward<ImportSourceT>(value); }
71 template<
typename ImportSourceT = ImportSource>
82 template<
typename StartEventTimeT = Aws::Utils::DateTime>
83 void SetStartEventTime(StartEventTimeT&& value) { m_startEventTimeHasBeenSet =
true; m_startEventTime = std::forward<StartEventTimeT>(value); }
84 template<
typename StartEventTimeT = Aws::Utils::DateTime>
95 template<
typename EndEventTimeT = Aws::Utils::DateTime>
96 void SetEndEventTime(EndEventTimeT&& value) { m_endEventTimeHasBeenSet =
true; m_endEventTime = std::forward<EndEventTimeT>(value); }
97 template<
typename EndEventTimeT = Aws::Utils::DateTime>
115 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
116 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
117 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
126 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
127 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet =
true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
128 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
140 template<
typename ImportStatisticsT = ImportStatistics>
141 void SetImportStatistics(ImportStatisticsT&& value) { m_importStatisticsHasBeenSet =
true; m_importStatistics = std::forward<ImportStatisticsT>(value); }
142 template<
typename ImportStatisticsT = ImportStatistics>
149 template<
typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
151 template<
typename RequestIdT = Aws::String>
157 bool m_importIdHasBeenSet =
false;
160 bool m_destinationsHasBeenSet =
false;
163 bool m_importSourceHasBeenSet =
false;
166 bool m_startEventTimeHasBeenSet =
false;
169 bool m_endEventTimeHasBeenSet =
false;
172 bool m_importStatusHasBeenSet =
false;
175 bool m_createdTimestampHasBeenSet =
false;
178 bool m_updatedTimestampHasBeenSet =
false;
180 ImportStatistics m_importStatistics;
181 bool m_importStatisticsHasBeenSet =
false;
184 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