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 ImportSourceT = ImportSource>
59 m_importSourceHasBeenSet =
true;
60 m_importSource = std::forward<ImportSourceT>(value);
62 template <
typename ImportSourceT = ImportSource>
74 template <
typename DestinationsT = Aws::Vector<Aws::String>>
76 m_destinationsHasBeenSet =
true;
77 m_destinations = std::forward<DestinationsT>(value);
79 template <
typename DestinationsT = Aws::Vector<Aws::String>>
84 template <
typename DestinationsT = Aws::String>
86 m_destinationsHasBeenSet =
true;
87 m_destinations.emplace_back(std::forward<DestinationsT>(value));
98 m_importStatusHasBeenSet =
true;
99 m_importStatus = value;
112 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
114 m_createdTimestampHasBeenSet =
true;
115 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
117 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
129 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
131 m_updatedTimestampHasBeenSet =
true;
132 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
134 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
148 template <
typename StartEventTimeT = Aws::Utils::DateTime>
150 m_startEventTimeHasBeenSet =
true;
151 m_startEventTime = std::forward<StartEventTimeT>(value);
153 template <
typename StartEventTimeT = Aws::Utils::DateTime>
167 template <
typename EndEventTimeT = Aws::Utils::DateTime>
169 m_endEventTimeHasBeenSet =
true;
170 m_endEventTime = std::forward<EndEventTimeT>(value);
172 template <
typename EndEventTimeT = Aws::Utils::DateTime>
184 template <
typename ImportStatisticsT = ImportStatistics>
186 m_importStatisticsHasBeenSet =
true;
187 m_importStatistics = std::forward<ImportStatisticsT>(value);
189 template <
typename ImportStatisticsT = ImportStatistics>
199 template <
typename RequestIdT = Aws::String>
201 m_requestIdHasBeenSet =
true;
202 m_requestId = std::forward<RequestIdT>(value);
204 template <
typename RequestIdT = Aws::String>
229 ImportStatistics m_importStatistics;
233 bool m_importIdHasBeenSet =
false;
234 bool m_importSourceHasBeenSet =
false;
235 bool m_destinationsHasBeenSet =
false;
236 bool m_importStatusHasBeenSet =
false;
237 bool m_createdTimestampHasBeenSet =
false;
238 bool m_updatedTimestampHasBeenSet =
false;
239 bool m_startEventTimeHasBeenSet =
false;
240 bool m_endEventTimeHasBeenSet =
false;
241 bool m_importStatisticsHasBeenSet =
false;
242 bool m_requestIdHasBeenSet =
false;
StopImportResult & WithImportStatistics(ImportStatisticsT &&value)
StopImportResult & AddDestinations(DestinationsT &&value)
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
StopImportResult & WithImportSource(ImportSourceT &&value)
ImportStatus GetImportStatus() const
StopImportResult & WithCreatedTimestamp(CreatedTimestampT &&value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
StopImportResult & WithImportStatus(ImportStatus value)
void SetDestinations(DestinationsT &&value)
const Aws::Utils::DateTime & GetStartEventTime() const
const Aws::String & GetImportId() const
const ImportSource & GetImportSource() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
StopImportResult & WithStartEventTime(StartEventTimeT &&value)
const Aws::Vector< Aws::String > & GetDestinations() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CLOUDTRAIL_API StopImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDTRAIL_API StopImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetImportStatistics(ImportStatisticsT &&value)
StopImportResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
StopImportResult & WithDestinations(DestinationsT &&value)
void SetEndEventTime(EndEventTimeT &&value)
void SetImportSource(ImportSourceT &&value)
const Aws::String & GetRequestId() const
void SetStartEventTime(StartEventTimeT &&value)
AWS_CLOUDTRAIL_API StopImportResult()=default
const Aws::Utils::DateTime & GetEndEventTime() const
StopImportResult & WithRequestId(RequestIdT &&value)
void SetImportStatus(ImportStatus value)
StopImportResult & WithEndEventTime(EndEventTimeT &&value)
const ImportStatistics & GetImportStatistics() const
void SetImportId(ImportIdT &&value)
void SetRequestId(RequestIdT &&value)
StopImportResult & WithImportId(ImportIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue