7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/model/ImportSource.h>
9#include <aws/cloudtrail/model/ImportStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename ImportIdT = Aws::String>
40 m_importIdHasBeenSet =
true;
41 m_importId = std::forward<ImportIdT>(value);
43 template <
typename ImportIdT = Aws::String>
55 template <
typename DestinationsT = Aws::Vector<Aws::String>>
57 m_destinationsHasBeenSet =
true;
58 m_destinations = std::forward<DestinationsT>(value);
60 template <
typename DestinationsT = Aws::Vector<Aws::String>>
65 template <
typename DestinationsT = Aws::String>
67 m_destinationsHasBeenSet =
true;
68 m_destinations.emplace_back(std::forward<DestinationsT>(value));
78 template <
typename ImportSourceT = ImportSource>
80 m_importSourceHasBeenSet =
true;
81 m_importSource = std::forward<ImportSourceT>(value);
83 template <
typename ImportSourceT = ImportSource>
97 template <
typename StartEventTimeT = Aws::Utils::DateTime>
99 m_startEventTimeHasBeenSet =
true;
100 m_startEventTime = std::forward<StartEventTimeT>(value);
102 template <
typename StartEventTimeT = Aws::Utils::DateTime>
116 template <
typename EndEventTimeT = Aws::Utils::DateTime>
118 m_endEventTimeHasBeenSet =
true;
119 m_endEventTime = std::forward<EndEventTimeT>(value);
121 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>
182 template <
typename RequestIdT = Aws::String>
184 m_requestIdHasBeenSet =
true;
185 m_requestId = std::forward<RequestIdT>(value);
187 template <
typename RequestIdT = Aws::String>
211 bool m_importIdHasBeenSet =
false;
212 bool m_destinationsHasBeenSet =
false;
213 bool m_importSourceHasBeenSet =
false;
214 bool m_startEventTimeHasBeenSet =
false;
215 bool m_endEventTimeHasBeenSet =
false;
216 bool m_importStatusHasBeenSet =
false;
217 bool m_createdTimestampHasBeenSet =
false;
218 bool m_updatedTimestampHasBeenSet =
false;
219 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
const Aws::Vector< Aws::String > & GetDestinations() const
StartImportResult & WithDestinations(DestinationsT &&value)
StartImportResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDTRAIL_API StartImportResult()=default
StartImportResult & WithImportStatus(ImportStatus value)
StartImportResult & WithImportSource(ImportSourceT &&value)
StartImportResult & WithUpdatedTimestamp(UpdatedTimestampT &&value)
StartImportResult & WithCreatedTimestamp(CreatedTimestampT &&value)
StartImportResult & WithEndEventTime(EndEventTimeT &&value)
const Aws::Utils::DateTime & GetEndEventTime() const
void SetImportSource(ImportSourceT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
const Aws::String & GetImportId() const
ImportStatus GetImportStatus() const
void SetRequestId(RequestIdT &&value)
StartImportResult & AddDestinations(DestinationsT &&value)
AWS_CLOUDTRAIL_API StartImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartImportResult & WithImportId(ImportIdT &&value)
void SetImportStatus(ImportStatus value)
const Aws::String & GetRequestId() const
void SetStartEventTime(StartEventTimeT &&value)
void SetDestinations(DestinationsT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetImportId(ImportIdT &&value)
const ImportSource & GetImportSource() const
StartImportResult & WithStartEventTime(StartEventTimeT &&value)
const Aws::Utils::DateTime & GetStartEventTime() const
AWS_CLOUDTRAIL_API StartImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEndEventTime(EndEventTimeT &&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