7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/InstanceEventWindowTimeRangeRequest.h>
12#include <aws/ec2/model/TagSpecification.h>
51 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
105 inline void SetCronExpression(
const char* value) { m_cronExpressionHasBeenSet =
true; m_cronExpression.assign(value); }
127 bool m_dryRunHasBeenSet =
false;
130 bool m_nameHasBeenSet =
false;
133 bool m_timeRangesHasBeenSet =
false;
136 bool m_cronExpressionHasBeenSet =
false;
139 bool m_tagSpecificationsHasBeenSet =
false;
AWS_EC2_API CreateInstanceEventWindowRequest()
CreateInstanceEventWindowRequest & AddTagSpecifications(TagSpecification &&value)
bool TimeRangesHasBeenSet() const
void SetTimeRanges(const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
bool TagSpecificationsHasBeenSet() const
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateInstanceEventWindowRequest & WithCronExpression(const Aws::String &value)
CreateInstanceEventWindowRequest & WithCronExpression(Aws::String &&value)
bool DryRunHasBeenSet() const
void SetCronExpression(const Aws::String &value)
CreateInstanceEventWindowRequest & WithName(const Aws::String &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateInstanceEventWindowRequest & WithTimeRanges(Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
CreateInstanceEventWindowRequest & AddTimeRanges(InstanceEventWindowTimeRangeRequest &&value)
const Aws::String & GetName() const
void SetCronExpression(Aws::String &&value)
CreateInstanceEventWindowRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateInstanceEventWindowRequest & AddTagSpecifications(const TagSpecification &value)
const Aws::Vector< InstanceEventWindowTimeRangeRequest > & GetTimeRanges() const
CreateInstanceEventWindowRequest & WithCronExpression(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateInstanceEventWindowRequest & WithName(const char *value)
void SetDryRun(bool value)
CreateInstanceEventWindowRequest & WithName(Aws::String &&value)
void SetTimeRanges(Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetCronExpression() const
void SetName(const char *value)
bool CronExpressionHasBeenSet() const
CreateInstanceEventWindowRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool NameHasBeenSet() const
CreateInstanceEventWindowRequest & WithDryRun(bool value)
CreateInstanceEventWindowRequest & WithTimeRanges(const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
void SetCronExpression(const char *value)
CreateInstanceEventWindowRequest & AddTimeRanges(const InstanceEventWindowTimeRangeRequest &value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector