AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceEventWindowTimeRangeRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/WeekDay.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const WeekDay& GetStartWeekDay() const{ return m_startWeekDay; }
48 inline bool StartWeekDayHasBeenSet() const { return m_startWeekDayHasBeenSet; }
49 inline void SetStartWeekDay(const WeekDay& value) { m_startWeekDayHasBeenSet = true; m_startWeekDay = value; }
50 inline void SetStartWeekDay(WeekDay&& value) { m_startWeekDayHasBeenSet = true; m_startWeekDay = std::move(value); }
51 inline InstanceEventWindowTimeRangeRequest& WithStartWeekDay(const WeekDay& value) { SetStartWeekDay(value); return *this;}
52 inline InstanceEventWindowTimeRangeRequest& WithStartWeekDay(WeekDay&& value) { SetStartWeekDay(std::move(value)); return *this;}
54
56
59 inline int GetStartHour() const{ return m_startHour; }
60 inline bool StartHourHasBeenSet() const { return m_startHourHasBeenSet; }
61 inline void SetStartHour(int value) { m_startHourHasBeenSet = true; m_startHour = value; }
62 inline InstanceEventWindowTimeRangeRequest& WithStartHour(int value) { SetStartHour(value); return *this;}
64
66
69 inline const WeekDay& GetEndWeekDay() const{ return m_endWeekDay; }
70 inline bool EndWeekDayHasBeenSet() const { return m_endWeekDayHasBeenSet; }
71 inline void SetEndWeekDay(const WeekDay& value) { m_endWeekDayHasBeenSet = true; m_endWeekDay = value; }
72 inline void SetEndWeekDay(WeekDay&& value) { m_endWeekDayHasBeenSet = true; m_endWeekDay = std::move(value); }
73 inline InstanceEventWindowTimeRangeRequest& WithEndWeekDay(const WeekDay& value) { SetEndWeekDay(value); return *this;}
74 inline InstanceEventWindowTimeRangeRequest& WithEndWeekDay(WeekDay&& value) { SetEndWeekDay(std::move(value)); return *this;}
76
78
81 inline int GetEndHour() const{ return m_endHour; }
82 inline bool EndHourHasBeenSet() const { return m_endHourHasBeenSet; }
83 inline void SetEndHour(int value) { m_endHourHasBeenSet = true; m_endHour = value; }
84 inline InstanceEventWindowTimeRangeRequest& WithEndHour(int value) { SetEndHour(value); return *this;}
86 private:
87
88 WeekDay m_startWeekDay;
89 bool m_startWeekDayHasBeenSet = false;
90
91 int m_startHour;
92 bool m_startHourHasBeenSet = false;
93
94 WeekDay m_endWeekDay;
95 bool m_endWeekDayHasBeenSet = false;
96
97 int m_endHour;
98 bool m_endHourHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace EC2
103} // namespace Aws
InstanceEventWindowTimeRangeRequest & WithStartWeekDay(WeekDay &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceEventWindowTimeRangeRequest & WithStartHour(int value)
AWS_EC2_API InstanceEventWindowTimeRangeRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceEventWindowTimeRangeRequest & WithEndWeekDay(const WeekDay &value)
InstanceEventWindowTimeRangeRequest & WithStartWeekDay(const WeekDay &value)
InstanceEventWindowTimeRangeRequest & WithEndHour(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
InstanceEventWindowTimeRangeRequest & WithEndWeekDay(WeekDay &&value)
AWS_EC2_API InstanceEventWindowTimeRangeRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream