AWS SDK for C++

AWS SDK for C++ Version 1.11.733

Loading...
Searching...
No Matches
PreferredDayTimeMaintenanceConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/Day.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
30 public:
31 AWS_MEDIACONNECT_API PreferredDayTimeMaintenanceConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Day GetDay() const { return m_day; }
41 inline bool DayHasBeenSet() const { return m_dayHasBeenSet; }
42 inline void SetDay(Day value) {
43 m_dayHasBeenSet = true;
44 m_day = value;
45 }
47 SetDay(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetTime() const { return m_time; }
57 inline bool TimeHasBeenSet() const { return m_timeHasBeenSet; }
58 template <typename TimeT = Aws::String>
59 void SetTime(TimeT&& value) {
60 m_timeHasBeenSet = true;
61 m_time = std::forward<TimeT>(value);
62 }
63 template <typename TimeT = Aws::String>
65 SetTime(std::forward<TimeT>(value));
66 return *this;
67 }
69 private:
70 Day m_day{Day::NOT_SET};
71
72 Aws::String m_time;
73 bool m_dayHasBeenSet = false;
74 bool m_timeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace MediaConnect
79} // namespace Aws
AWS_MEDIACONNECT_API PreferredDayTimeMaintenanceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API PreferredDayTimeMaintenanceConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue