7#include <aws/cloudtrail/CloudTrail_EXPORTS.h>
8#include <aws/cloudtrail/CloudTrailRequest.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/core/utils/memory/stl/AWSString.h>
112 inline void SetImportId(
const char* value) { m_importIdHasBeenSet =
true; m_importId.assign(value); }
120 bool m_destinationsHasBeenSet =
false;
123 bool m_importSourceHasBeenSet =
false;
126 bool m_startEventTimeHasBeenSet =
false;
129 bool m_endEventTimeHasBeenSet =
false;
132 bool m_importIdHasBeenSet =
false;
bool EndEventTimeHasBeenSet() const
StartImportRequest & WithStartEventTime(const Aws::Utils::DateTime &value)
StartImportRequest & WithImportSource(ImportSource &&value)
virtual const char * GetServiceRequestName() const override
void SetImportSource(ImportSource &&value)
StartImportRequest & WithStartEventTime(Aws::Utils::DateTime &&value)
void SetImportId(const char *value)
AWS_CLOUDTRAIL_API StartImportRequest()
const Aws::Utils::DateTime & GetEndEventTime() const
const ImportSource & GetImportSource() const
void SetDestinations(Aws::Vector< Aws::String > &&value)
AWS_CLOUDTRAIL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartImportRequest & AddDestinations(Aws::String &&value)
StartImportRequest & WithImportId(const Aws::String &value)
void SetImportId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartEventTime() const
bool ImportSourceHasBeenSet() const
StartImportRequest & WithImportId(Aws::String &&value)
void SetStartEventTime(const Aws::Utils::DateTime &value)
void SetEndEventTime(const Aws::Utils::DateTime &value)
void SetStartEventTime(Aws::Utils::DateTime &&value)
StartImportRequest & WithEndEventTime(Aws::Utils::DateTime &&value)
StartImportRequest & WithImportId(const char *value)
StartImportRequest & WithEndEventTime(const Aws::Utils::DateTime &value)
void SetImportId(Aws::String &&value)
AWS_CLOUDTRAIL_API Aws::String SerializePayload() const override
void SetImportSource(const ImportSource &value)
bool DestinationsHasBeenSet() const
const Aws::Vector< Aws::String > & GetDestinations() const
void SetEndEventTime(Aws::Utils::DateTime &&value)
const Aws::String & GetImportId() const
StartImportRequest & WithDestinations(const Aws::Vector< Aws::String > &value)
StartImportRequest & WithDestinations(Aws::Vector< Aws::String > &&value)
void SetDestinations(const Aws::Vector< Aws::String > &value)
StartImportRequest & AddDestinations(const char *value)
StartImportRequest & AddDestinations(const Aws::String &value)
bool ImportIdHasBeenSet() const
StartImportRequest & WithImportSource(const ImportSource &value)
bool StartEventTimeHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector