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; }
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
74 template<
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
75 void SetTimeRanges(TimeRangesT&& value) { m_timeRangesHasBeenSet =
true; m_timeRanges = std::forward<TimeRangesT>(value); }
76 template<
typename TimeRangesT = Aws::Vector<InstanceEventWindowTimeRangeRequest>>
78 template<
typename TimeRangesT = InstanceEventWindowTimeRangeRequest>
101 template<
typename CronExpressionT = Aws::String>
102 void SetCronExpression(CronExpressionT&& value) { m_cronExpressionHasBeenSet =
true; m_cronExpression = std::forward<CronExpressionT>(value); }
103 template<
typename CronExpressionT = Aws::String>
113 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
114 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
115 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
117 template<
typename TagSpecificationsT = TagSpecification>
122 bool m_dryRun{
false};
123 bool m_dryRunHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_timeRangesHasBeenSet =
false;
132 bool m_cronExpressionHasBeenSet =
false;
135 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