AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WeeklyStartTime.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/mq/model/DayOfWeek.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MQ
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MQ_API WeeklyStartTime();
40
41
43
46 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
47 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
48 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
49 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
50 inline WeeklyStartTime& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
51 inline WeeklyStartTime& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetTimeOfDay() const{ return m_timeOfDay; }
59 inline bool TimeOfDayHasBeenSet() const { return m_timeOfDayHasBeenSet; }
60 inline void SetTimeOfDay(const Aws::String& value) { m_timeOfDayHasBeenSet = true; m_timeOfDay = value; }
61 inline void SetTimeOfDay(Aws::String&& value) { m_timeOfDayHasBeenSet = true; m_timeOfDay = std::move(value); }
62 inline void SetTimeOfDay(const char* value) { m_timeOfDayHasBeenSet = true; m_timeOfDay.assign(value); }
63 inline WeeklyStartTime& WithTimeOfDay(const Aws::String& value) { SetTimeOfDay(value); return *this;}
64 inline WeeklyStartTime& WithTimeOfDay(Aws::String&& value) { SetTimeOfDay(std::move(value)); return *this;}
65 inline WeeklyStartTime& WithTimeOfDay(const char* value) { SetTimeOfDay(value); return *this;}
67
69
73 inline const Aws::String& GetTimeZone() const{ return m_timeZone; }
74 inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
75 inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; }
76 inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); }
77 inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); }
78 inline WeeklyStartTime& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;}
79 inline WeeklyStartTime& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;}
80 inline WeeklyStartTime& WithTimeZone(const char* value) { SetTimeZone(value); return *this;}
82 private:
83
84 DayOfWeek m_dayOfWeek;
85 bool m_dayOfWeekHasBeenSet = false;
86
87 Aws::String m_timeOfDay;
88 bool m_timeOfDayHasBeenSet = false;
89
90 Aws::String m_timeZone;
91 bool m_timeZoneHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MQ
96} // namespace Aws
WeeklyStartTime & WithTimeOfDay(Aws::String &&value)
WeeklyStartTime & WithTimeOfDay(const char *value)
const Aws::String & GetTimeZone() const
const Aws::String & GetTimeOfDay() const
WeeklyStartTime & WithTimeZone(const Aws::String &value)
void SetTimeOfDay(Aws::String &&value)
WeeklyStartTime & WithTimeZone(const char *value)
AWS_MQ_API WeeklyStartTime(Aws::Utils::Json::JsonView jsonValue)
WeeklyStartTime & WithDayOfWeek(const DayOfWeek &value)
void SetTimeOfDay(const char *value)
AWS_MQ_API WeeklyStartTime & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDayOfWeek(DayOfWeek &&value)
WeeklyStartTime & WithTimeZone(Aws::String &&value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimeZone(const char *value)
void SetDayOfWeek(const DayOfWeek &value)
WeeklyStartTime & WithDayOfWeek(DayOfWeek &&value)
void SetTimeZone(Aws::String &&value)
WeeklyStartTime & WithTimeOfDay(const Aws::String &value)
const DayOfWeek & GetDayOfWeek() const
void SetTimeOfDay(const Aws::String &value)
void SetTimeZone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue