AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MonthlySetting.h
1
6#pragma once
7#include <aws/ssm-contacts/SSMContacts_EXPORTS.h>
8#include <aws/ssm-contacts/model/HandOffTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SSMContacts
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SSMCONTACTS_API MonthlySetting();
36 AWS_SSMCONTACTS_API MonthlySetting(Aws::Utils::Json::JsonView jsonValue);
37 AWS_SSMCONTACTS_API MonthlySetting& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetDayOfMonth() const{ return m_dayOfMonth; }
46 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
47 inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
48 inline MonthlySetting& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
50
52
55 inline const HandOffTime& GetHandOffTime() const{ return m_handOffTime; }
56 inline bool HandOffTimeHasBeenSet() const { return m_handOffTimeHasBeenSet; }
57 inline void SetHandOffTime(const HandOffTime& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = value; }
58 inline void SetHandOffTime(HandOffTime&& value) { m_handOffTimeHasBeenSet = true; m_handOffTime = std::move(value); }
59 inline MonthlySetting& WithHandOffTime(const HandOffTime& value) { SetHandOffTime(value); return *this;}
60 inline MonthlySetting& WithHandOffTime(HandOffTime&& value) { SetHandOffTime(std::move(value)); return *this;}
62 private:
63
64 int m_dayOfMonth;
65 bool m_dayOfMonthHasBeenSet = false;
66
67 HandOffTime m_handOffTime;
68 bool m_handOffTimeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SSMContacts
73} // namespace Aws
void SetHandOffTime(HandOffTime &&value)
void SetHandOffTime(const HandOffTime &value)
MonthlySetting & WithDayOfMonth(int value)
AWS_SSMCONTACTS_API MonthlySetting(Aws::Utils::Json::JsonView jsonValue)
const HandOffTime & GetHandOffTime() const
AWS_SSMCONTACTS_API MonthlySetting & operator=(Aws::Utils::Json::JsonView jsonValue)
MonthlySetting & WithHandOffTime(const HandOffTime &value)
MonthlySetting & WithHandOffTime(HandOffTime &&value)
AWS_SSMCONTACTS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue