AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
DayOfMonth.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/LastDayOfMonth.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgent {
20namespace Model {
21
30 public:
31 AWS_BEDROCKAGENT_API DayOfMonth() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline int GetDayNumber() const { return m_dayNumber; }
42 inline bool DayNumberHasBeenSet() const { return m_dayNumberHasBeenSet; }
43 inline void SetDayNumber(int value) {
44 m_dayNumberHasBeenSet = true;
45 m_dayNumber = value;
46 }
47 inline DayOfMonth& WithDayNumber(int value) {
48 SetDayNumber(value);
49 return *this;
50 }
52
54
58 inline const LastDayOfMonth& GetLastDayOfMonth() const { return m_lastDayOfMonth; }
59 inline bool LastDayOfMonthHasBeenSet() const { return m_lastDayOfMonthHasBeenSet; }
60 template <typename LastDayOfMonthT = LastDayOfMonth>
62 m_lastDayOfMonthHasBeenSet = true;
63 m_lastDayOfMonth = std::forward<LastDayOfMonthT>(value);
64 }
65 template <typename LastDayOfMonthT = LastDayOfMonth>
67 SetLastDayOfMonth(std::forward<LastDayOfMonthT>(value));
68 return *this;
69 }
71 private:
72 int m_dayNumber{0};
73
74 LastDayOfMonth m_lastDayOfMonth;
75 bool m_dayNumberHasBeenSet = false;
76 bool m_lastDayOfMonthHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace BedrockAgent
81} // namespace Aws
const LastDayOfMonth & GetLastDayOfMonth() const
Definition DayOfMonth.h:58
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
DayOfMonth & WithLastDayOfMonth(LastDayOfMonthT &&value)
Definition DayOfMonth.h:66
AWS_BEDROCKAGENT_API DayOfMonth & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API DayOfMonth(Aws::Utils::Json::JsonView jsonValue)
void SetLastDayOfMonth(LastDayOfMonthT &&value)
Definition DayOfMonth.h:61
DayOfMonth & WithDayNumber(int value)
Definition DayOfMonth.h:47
AWS_BEDROCKAGENT_API DayOfMonth()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue