AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WeeklySetting.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/ssm-contacts/model/DayOfWeek.h>
9#include <aws/ssm-contacts/model/HandOffTime.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 SSMContacts
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SSMCONTACTS_API WeeklySetting();
36 AWS_SSMCONTACTS_API WeeklySetting(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SSMCONTACTS_API WeeklySetting& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
46 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
47 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
48 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
49 inline WeeklySetting& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
50 inline WeeklySetting& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
52
54
57 inline const HandOffTime& GetHandOffTime() const{ return m_handOffTime; }
58 inline bool HandOffTimeHasBeenSet() const { return m_handOffTimeHasBeenSet; }
59 inline void SetHandOffTime(const HandOffTime& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = value; }
60 inline void SetHandOffTime(HandOffTime&& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = std::move(value); }
61 inline WeeklySetting& WithHandOffTime(const HandOffTime& value) { SetHandOffTime(value); return *this;}
62 inline WeeklySetting& WithHandOffTime(HandOffTime&& value) { SetHandOffTime(std::move(value)); return *this;}
64 private:
65
66 DayOfWeek m_dayOfWeek;
67 bool m_dayOfWeekHasBeenSet = false;
68
69 HandOffTime m_handOffTime;
70 bool m_handOffTimeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace SSMContacts
75} // namespace Aws
WeeklySetting & WithHandOffTime(HandOffTime &&value)
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
const DayOfWeek & GetDayOfWeek() const
void SetHandOffTime(HandOffTime &&value)
void SetDayOfWeek(const DayOfWeek &value)
WeeklySetting & WithHandOffTime(const HandOffTime &value)
void SetDayOfWeek(DayOfWeek &&value)
WeeklySetting & WithDayOfWeek(DayOfWeek &&value)
WeeklySetting & WithDayOfWeek(const DayOfWeek &value)
const HandOffTime & GetHandOffTime() const
AWS_SSMCONTACTS_API WeeklySetting & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetHandOffTime(const HandOffTime &value)
AWS_SSMCONTACTS_API WeeklySetting(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue