7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudtrail/model/ImportStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
50 template<
typename ImportIdT = Aws::String>
51 void SetImportId(ImportIdT&& value) { m_importIdHasBeenSet =
true; m_importId = std::forward<ImportIdT>(value); }
52 template<
typename ImportIdT = Aws::String>
72 template<
typename DestinationsT = Aws::Vector<Aws::String>>
73 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations = std::forward<DestinationsT>(value); }
74 template<
typename DestinationsT = Aws::Vector<Aws::String>>
76 template<
typename DestinationsT = Aws::String>
77 ImportsListItem&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
86 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
87 void SetCreatedTimestamp(CreatedTimestampT&& value) { m_createdTimestampHasBeenSet =
true; m_createdTimestamp = std::forward<CreatedTimestampT>(value); }
88 template<
typename CreatedTimestampT = Aws::Utils::DateTime>
98 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
99 void SetUpdatedTimestamp(UpdatedTimestampT&& value) { m_updatedTimestampHasBeenSet =
true; m_updatedTimestamp = std::forward<UpdatedTimestampT>(value); }
100 template<
typename UpdatedTimestampT = Aws::Utils::DateTime>
106 bool m_importIdHasBeenSet =
false;
109 bool m_importStatusHasBeenSet =
false;
112 bool m_destinationsHasBeenSet =
false;
115 bool m_createdTimestampHasBeenSet =
false;
118 bool m_updatedTimestampHasBeenSet =
false;
void SetImportStatus(ImportStatus value)
void SetUpdatedTimestamp(UpdatedTimestampT &&value)
bool ImportStatusHasBeenSet() const
void SetCreatedTimestamp(CreatedTimestampT &&value)
void SetDestinations(DestinationsT &&value)
bool ImportIdHasBeenSet() const
bool CreatedTimestampHasBeenSet() const
const Aws::Vector< Aws::String > & GetDestinations() const
const Aws::Utils::DateTime & GetCreatedTimestamp() const
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
ImportsListItem & WithCreatedTimestamp(CreatedTimestampT &&value)
AWS_CLOUDTRAIL_API ImportsListItem(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API Aws::Utils::Json::JsonValue Jsonize() const
ImportsListItem & WithUpdatedTimestamp(UpdatedTimestampT &&value)
ImportsListItem & WithDestinations(DestinationsT &&value)
void SetImportId(ImportIdT &&value)
bool DestinationsHasBeenSet() const
ImportsListItem & AddDestinations(DestinationsT &&value)
ImportsListItem & WithImportStatus(ImportStatus value)
bool UpdatedTimestampHasBeenSet() const
const Aws::String & GetImportId() const
ImportStatus GetImportStatus() const
ImportsListItem & WithImportId(ImportIdT &&value)
AWS_CLOUDTRAIL_API ImportsListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAIL_API ImportsListItem()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue