AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeAlignmentBoundary.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/forecast/model/Month.h>
9#include <aws/forecast/model/DayOfWeek.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ForecastService
23{
24namespace Model
25{
26
42 {
43 public:
44 AWS_FORECASTSERVICE_API TimeAlignmentBoundary();
45 AWS_FORECASTSERVICE_API TimeAlignmentBoundary(Aws::Utils::Json::JsonView jsonValue);
46 AWS_FORECASTSERVICE_API TimeAlignmentBoundary& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const Month& GetMonth() const{ return m_month; }
56 inline bool MonthHasBeenSet() const { return m_monthHasBeenSet; }
57 inline void SetMonth(const Month& value) { m_monthHasBeenSet = true; m_month = value; }
58 inline void SetMonth(Month&& value) { m_monthHasBeenSet = true; m_month = std::move(value); }
59 inline TimeAlignmentBoundary& WithMonth(const Month& value) { SetMonth(value); return *this;}
60 inline TimeAlignmentBoundary& WithMonth(Month&& value) { SetMonth(std::move(value)); return *this;}
62
64
67 inline int GetDayOfMonth() const{ return m_dayOfMonth; }
68 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
69 inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
70 inline TimeAlignmentBoundary& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
72
74
78 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
79 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
80 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
81 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
82 inline TimeAlignmentBoundary& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
83 inline TimeAlignmentBoundary& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
85
87
90 inline int GetHour() const{ return m_hour; }
91 inline bool HourHasBeenSet() const { return m_hourHasBeenSet; }
92 inline void SetHour(int value) { m_hourHasBeenSet = true; m_hour = value; }
93 inline TimeAlignmentBoundary& WithHour(int value) { SetHour(value); return *this;}
95 private:
96
97 Month m_month;
98 bool m_monthHasBeenSet = false;
99
100 int m_dayOfMonth;
101 bool m_dayOfMonthHasBeenSet = false;
102
103 DayOfWeek m_dayOfWeek;
104 bool m_dayOfWeekHasBeenSet = false;
105
106 int m_hour;
107 bool m_hourHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ForecastService
112} // namespace Aws
TimeAlignmentBoundary & WithDayOfWeek(DayOfWeek &&value)
TimeAlignmentBoundary & WithDayOfWeek(const DayOfWeek &value)
TimeAlignmentBoundary & WithMonth(const Month &value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FORECASTSERVICE_API TimeAlignmentBoundary & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeAlignmentBoundary & WithMonth(Month &&value)
AWS_FORECASTSERVICE_API TimeAlignmentBoundary(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue