7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudtrail/model/ImportSource.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/cloudtrail/model/ImportStatus.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 inline void SetImportId(
const char* value) { m_importId.assign(value); }
143 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::Utils::DateTime & GetUpdatedTimestamp() const
const Aws::Vector< Aws::String > & GetDestinations() const
StartImportResult & WithRequestId(Aws::String &&value)
StartImportResult & WithDestinations(Aws::Vector< Aws::String > &&value)
StartImportResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
StartImportResult & AddDestinations(Aws::String &&value)
void SetImportStatus(const ImportStatus &value)
StartImportResult & WithImportId(const char *value)
void SetImportStatus(ImportStatus &&value)
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
StartImportResult & WithEndEventTime(Aws::Utils::DateTime &&value)
StartImportResult & WithImportStatus(const ImportStatus &value)
StartImportResult & AddDestinations(const char *value)
StartImportResult & WithImportSource(const ImportSource &value)
void SetRequestId(const Aws::String &value)
StartImportResult & WithEndEventTime(const Aws::Utils::DateTime &value)
StartImportResult & WithUpdatedTimestamp(const Aws::Utils::DateTime &value)
StartImportResult & WithImportStatus(ImportStatus &&value)
void SetRequestId(const char *value)
const Aws::Utils::DateTime & GetEndEventTime() const
void SetImportSource(ImportSource &&value)
void SetDestinations(Aws::Vector< Aws::String > &&value)
StartImportResult & WithUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetEndEventTime(const Aws::Utils::DateTime &value)
const Aws::String & GetImportId() const
void SetImportId(const char *value)
AWS_CLOUDTRAIL_API StartImportResult()
StartImportResult & WithImportId(const Aws::String &value)
void SetImportId(Aws::String &&value)
void SetRequestId(Aws::String &&value)
AWS_CLOUDTRAIL_API StartImportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetRequestId() const
void SetStartEventTime(Aws::Utils::DateTime &&value)
StartImportResult & WithImportId(Aws::String &&value)
StartImportResult & WithImportSource(ImportSource &&value)
void SetImportId(const Aws::String &value)
void SetStartEventTime(const Aws::Utils::DateTime &value)
void SetImportSource(const ImportSource &value)
StartImportResult & WithDestinations(const Aws::Vector< Aws::String > &value)
const ImportSource & GetImportSource() const
StartImportResult & WithStartEventTime(const Aws::Utils::DateTime &value)
const ImportStatus & GetImportStatus() const
StartImportResult & WithRequestId(const Aws::String &value)
StartImportResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetDestinations(const Aws::Vector< Aws::String > &value)
StartImportResult & WithStartEventTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartEventTime() const
AWS_CLOUDTRAIL_API StartImportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdatedTimestamp(const Aws::Utils::DateTime &value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
void SetEndEventTime(Aws::Utils::DateTime &&value)
StartImportResult & AddDestinations(const Aws::String &value)
StartImportResult & WithRequestId(const char *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