7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/InstanceEventWindowTimeRangeRequest.h>
47 m_dryRunHasBeenSet =
true;
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
80 template <
typename InstanceEventWindowIdT = Aws::String>
82 m_instanceEventWindowIdHasBeenSet =
true;
83 m_instanceEventWindowId = std::forward<InstanceEventWindowIdT>(value);
85 template <
typename InstanceEventWindowIdT = Aws::String>
98 template <
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
100 m_timeRangesHasBeenSet =
true;
101 m_timeRanges = std::forward<TimeRangesT>(value);
103 template <
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
108 template <
typename TimeRangesT = InstanceEventWindowTimeRangeRequest>
110 m_timeRangesHasBeenSet =
true;
111 m_timeRanges.emplace_back(std::forward<TimeRangesT>(value));
135 template <
typename CronExpressionT = Aws::String>
137 m_cronExpressionHasBeenSet =
true;
138 m_cronExpression = std::forward<CronExpressionT>(value);
140 template <
typename CronExpressionT = Aws::String>
147 bool m_dryRun{
false};
156 bool m_dryRunHasBeenSet =
false;
157 bool m_nameHasBeenSet =
false;
158 bool m_instanceEventWindowIdHasBeenSet =
false;
159 bool m_timeRangesHasBeenSet =
false;
160 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