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>
12#include <aws/ec2/model/TagSpecification.h>
48 m_dryRunHasBeenSet =
true;
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
82 template <
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
84 m_timeRangesHasBeenSet =
true;
85 m_timeRanges = std::forward<TimeRangesT>(value);
87 template <
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
92 template <
typename TimeRangesT = InstanceEventWindowTimeRangeRequest>
94 m_timeRangesHasBeenSet =
true;
95 m_timeRanges.emplace_back(std::forward<TimeRangesT>(value));
119 template <
typename CronExpressionT = Aws::String>
121 m_cronExpressionHasBeenSet =
true;
122 m_cronExpression = std::forward<CronExpressionT>(value);
124 template <
typename CronExpressionT = Aws::String>
137 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
139 m_tagSpecificationsHasBeenSet =
true;
140 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
142 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
147 template <
typename TagSpecificationsT = TagSpecification>
149 m_tagSpecificationsHasBeenSet =
true;
150 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
155 bool m_dryRun{
false};
164 bool m_dryRunHasBeenSet =
false;
165 bool m_nameHasBeenSet =
false;
166 bool m_timeRangesHasBeenSet =
false;
167 bool m_cronExpressionHasBeenSet =
false;
168 bool m_tagSpecificationsHasBeenSet =
false;
bool TimeRangesHasBeenSet() const
bool TagSpecificationsHasBeenSet() const
CreateInstanceEventWindowRequest & AddTagSpecifications(TagSpecificationsT &&value)
virtual const char * GetServiceRequestName() const override
AWS_EC2_API CreateInstanceEventWindowRequest()=default
bool DryRunHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetTimeRanges(TimeRangesT &&value)
void SetCronExpression(CronExpressionT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetName() const
CreateInstanceEventWindowRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< InstanceEventWindowTimeRangeRequest > & GetTimeRanges() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDryRun(bool value)
CreateInstanceEventWindowRequest & WithCronExpression(CronExpressionT &&value)
void SetName(NameT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetCronExpression() const
CreateInstanceEventWindowRequest & AddTimeRanges(TimeRangesT &&value)
bool CronExpressionHasBeenSet() const
CreateInstanceEventWindowRequest & WithName(NameT &&value)
bool NameHasBeenSet() const
CreateInstanceEventWindowRequest & WithDryRun(bool value)
CreateInstanceEventWindowRequest & WithTimeRanges(TimeRangesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector