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; }
60 template<
typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename InstanceEventWindowIdT = Aws::String>
73 void SetInstanceEventWindowId(InstanceEventWindowIdT&& value) { m_instanceEventWindowIdHasBeenSet =
true; m_instanceEventWindowId = std::forward<InstanceEventWindowIdT>(value); }
74 template<
typename InstanceEventWindowIdT = Aws::String>
84 template<
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
85 void SetTimeRanges(TimeRangesT&& value) { m_timeRangesHasBeenSet =
true; m_timeRanges = std::forward<TimeRangesT>(value); }
86 template<
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
88 template<
typename TimeRangesT = InstanceEventWindowTimeRangeRequest>
111 template<
typename CronExpressionT = Aws::String>
112 void SetCronExpression(CronExpressionT&& value) { m_cronExpressionHasBeenSet =
true; m_cronExpression = std::forward<CronExpressionT>(value); }
113 template<
typename CronExpressionT = Aws::String>
118 bool m_dryRun{
false};
119 bool m_dryRunHasBeenSet =
false;
122 bool m_nameHasBeenSet =
false;
125 bool m_instanceEventWindowIdHasBeenSet =
false;
128 bool m_timeRangesHasBeenSet =
false;
131 bool m_cronExpressionHasBeenSet =
false;
void SetDryRun(bool value)
const Aws::Vector< InstanceEventWindowTimeRangeRequest > & GetTimeRanges() const
virtual const char * GetServiceRequestName() const override
AWS_EC2_API ModifyInstanceEventWindowRequest()=default
bool TimeRangesHasBeenSet() const
bool NameHasBeenSet() const
bool DryRunHasBeenSet() const
bool CronExpressionHasBeenSet() const
void SetInstanceEventWindowId(InstanceEventWindowIdT &&value)
ModifyInstanceEventWindowRequest & WithTimeRanges(TimeRangesT &&value)
void SetCronExpression(CronExpressionT &&value)
ModifyInstanceEventWindowRequest & WithDryRun(bool value)
void SetName(NameT &&value)
ModifyInstanceEventWindowRequest & AddTimeRanges(TimeRangesT &&value)
const Aws::String & GetCronExpression() const
ModifyInstanceEventWindowRequest & WithName(NameT &&value)
ModifyInstanceEventWindowRequest & WithCronExpression(CronExpressionT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
void SetTimeRanges(TimeRangesT &&value)
ModifyInstanceEventWindowRequest & WithInstanceEventWindowId(InstanceEventWindowIdT &&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