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/http/HttpResponse.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 DestinationsT = Aws::Vector<Aws::String>>
58 m_destinationsHasBeenSet =
true;
59 m_destinations = std::forward<DestinationsT>(value);
61 template <
typename DestinationsT = Aws::Vector<Aws::String>>
66 template <
typename DestinationsT = Aws::String>
68 m_destinationsHasBeenSet =
true;
69 m_destinations.emplace_back(std::forward<DestinationsT>(value));
79 template <
typename ImportSourceT = ImportSource>
81 m_importSourceHasBeenSet =
true;
82 m_importSource = std::forward<ImportSourceT>(value);
84 template <
typename ImportSourceT = ImportSource>
98 template <
typename StartEventTimeT = Aws::Utils::DateTime>
100 m_startEventTimeHasBeenSet =
true;
101 m_startEventTime = std::forward<StartEventTimeT>(value);
103 template <
typename StartEventTimeT = Aws::Utils::DateTime>
117 template <
typename EndEventTimeT = Aws::Utils::DateTime>
119 m_endEventTimeHasBeenSet =
true;
120 m_endEventTime = std::forward<EndEventTimeT>(value);
122 template <
typename EndEventTimeT = Aws::Utils::DateTime>
137 m_importStatusHasBeenSet =
true;
138 m_importStatus = value;
151 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
153 m_createdTimestampHasBeenSet =
true;
154 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
156 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
168 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
170 m_updatedTimestampHasBeenSet =
true;
171 m_updatedTimestamp = std::forward<UpdatedTimestampT>(value);
173 template <
typename UpdatedTimestampT = Aws::Utils::DateTime>
183 template <
typename RequestIdT = Aws::String>
185 m_requestIdHasBeenSet =
true;
186 m_requestId = std::forward<RequestIdT>(value);
188 template <
typename RequestIdT = Aws::String>
215 bool m_importIdHasBeenSet =
false;
216 bool m_destinationsHasBeenSet =
false;
217 bool m_importSourceHasBeenSet =
false;
218 bool m_startEventTimeHasBeenSet =
false;
219 bool m_endEventTimeHasBeenSet =
false;
220 bool m_importStatusHasBeenSet =
false;
221 bool m_createdTimestampHasBeenSet =
false;
222 bool m_updatedTimestampHasBeenSet =
false;
223 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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