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>
50 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
62 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetInstanceEventWindowId(
const char* value) { m_instanceEventWindowIdHasBeenSet =
true; m_instanceEventWindowId.assign(value); }
117 inline void SetCronExpression(
const char* value) { m_cronExpressionHasBeenSet =
true; m_cronExpression.assign(value); }
125 bool m_dryRunHasBeenSet =
false;
128 bool m_nameHasBeenSet =
false;
131 bool m_instanceEventWindowIdHasBeenSet =
false;
134 bool m_timeRangesHasBeenSet =
false;
137 bool m_cronExpressionHasBeenSet =
false;
void SetDryRun(bool value)
ModifyInstanceEventWindowRequest & AddTimeRanges(InstanceEventWindowTimeRangeRequest &&value)
ModifyInstanceEventWindowRequest & WithInstanceEventWindowId(Aws::String &&value)
const Aws::Vector< InstanceEventWindowTimeRangeRequest > & GetTimeRanges() const
virtual const char * GetServiceRequestName() const override
ModifyInstanceEventWindowRequest & AddTimeRanges(const InstanceEventWindowTimeRangeRequest &value)
ModifyInstanceEventWindowRequest & WithCronExpression(const Aws::String &value)
ModifyInstanceEventWindowRequest & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
ModifyInstanceEventWindowRequest & WithInstanceEventWindowId(const char *value)
bool TimeRangesHasBeenSet() const
bool NameHasBeenSet() const
bool DryRunHasBeenSet() const
bool CronExpressionHasBeenSet() const
void SetCronExpression(Aws::String &&value)
void SetCronExpression(const char *value)
ModifyInstanceEventWindowRequest & WithDryRun(bool value)
ModifyInstanceEventWindowRequest & WithName(const char *value)
ModifyInstanceEventWindowRequest & WithCronExpression(Aws::String &&value)
const Aws::String & GetCronExpression() const
void SetInstanceEventWindowId(const Aws::String &value)
void SetTimeRanges(const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
void SetCronExpression(const Aws::String &value)
ModifyInstanceEventWindowRequest & WithCronExpression(const char *value)
ModifyInstanceEventWindowRequest & WithName(const Aws::String &value)
void SetInstanceEventWindowId(const char *value)
ModifyInstanceEventWindowRequest & WithInstanceEventWindowId(const Aws::String &value)
void SetInstanceEventWindowId(Aws::String &&value)
void SetName(const Aws::String &value)
AWS_EC2_API ModifyInstanceEventWindowRequest()
ModifyInstanceEventWindowRequest & WithTimeRanges(const Aws::Vector< InstanceEventWindowTimeRangeRequest > &value)
void SetName(const char *value)
ModifyInstanceEventWindowRequest & WithTimeRanges(Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
void SetTimeRanges(Aws::Vector< InstanceEventWindowTimeRangeRequest > &&value)
const Aws::String & GetName() const
bool InstanceEventWindowIdHasBeenSet() const
const Aws::String & GetInstanceEventWindowId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector