AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
MonthlySchedule.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/DayOfMonth.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
28 public:
29 AWS_BEDROCKAGENT_API MonthlySchedule() = default;
32 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const DayOfMonth& GetDayOfMonth() const { return m_dayOfMonth; }
39 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
40 template <typename DayOfMonthT = DayOfMonth>
41 void SetDayOfMonth(DayOfMonthT&& value) {
42 m_dayOfMonthHasBeenSet = true;
43 m_dayOfMonth = std::forward<DayOfMonthT>(value);
44 }
45 template <typename DayOfMonthT = DayOfMonth>
47 SetDayOfMonth(std::forward<DayOfMonthT>(value));
48 return *this;
49 }
51 private:
52 DayOfMonth m_dayOfMonth;
53 bool m_dayOfMonthHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace BedrockAgent
58} // namespace Aws
MonthlySchedule & WithDayOfMonth(DayOfMonthT &&value)
AWS_BEDROCKAGENT_API MonthlySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API MonthlySchedule()=default
AWS_BEDROCKAGENT_API MonthlySchedule(Aws::Utils::Json::JsonView jsonValue)
const DayOfMonth & GetDayOfMonth() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue