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 ImportSourceT = ImportSource>
58 m_importSourceHasBeenSet =
true;
59 m_importSource = std::forward<ImportSourceT>(value);
61 template <
typename ImportSourceT = ImportSource>
73 template <
typename DestinationsT = Aws::Vector<Aws::String>>
75 m_destinationsHasBeenSet =
true;
76 m_destinations = std::forward<DestinationsT>(value);
78 template <
typename DestinationsT = Aws::Vector<Aws::String>>
83 template <
typename DestinationsT = Aws::String>
85 m_destinationsHasBeenSet =
true;
86 m_destinations.emplace_back(std::forward<DestinationsT>(value));
97 m_importStatusHasBeenSet =
true;
98 m_importStatus = value;
111 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
113 m_createdTimestampHasBeenSet =
true;
114 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
116 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
128 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
130 m_updatedTimestampHasBeenSet =
true;
131 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
133 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
147 template <
typename StartEventTimeT = Aws::Utils::DateTime>
149 m_startEventTimeHasBeenSet =
true;
150 m_startEventTime = std::forward<StartEventTimeT>(value);
152 template <
typename StartEventTimeT = Aws::Utils::DateTime>
166 template <
typename EndEventTimeT = Aws::Utils::DateTime>
168 m_endEventTimeHasBeenSet =
true;
169 m_endEventTime = std::forward<EndEventTimeT>(value);
171 template <
typename EndEventTimeT = Aws::Utils::DateTime>
183 template <
typename ImportStatisticsT = ImportStatistics>
185 m_importStatisticsHasBeenSet =
true;
186 m_importStatistics = std::forward<ImportStatisticsT>(value);
188 template <
typename ImportStatisticsT = ImportStatistics>
198 template <
typename RequestIdT = Aws::String>
200 m_requestIdHasBeenSet =
true;
201 m_requestId = std::forward<RequestIdT>(value);
203 template <
typename RequestIdT = Aws::String>
211 bool m_importIdHasBeenSet =
false;
214 bool m_importSourceHasBeenSet =
false;
217 bool m_destinationsHasBeenSet =
false;
220 bool m_importStatusHasBeenSet =
false;
223 bool m_createdTimestampHasBeenSet =
false;
226 bool m_updatedTimestampHasBeenSet =
false;
229 bool m_startEventTimeHasBeenSet =
false;
232 bool m_endEventTimeHasBeenSet =
false;
234 ImportStatistics m_importStatistics;
235 bool m_importStatisticsHasBeenSet =
false;
238 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_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