AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
OffPeakWindow.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/WindowStartTime.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 OpenSearchService
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_OPENSEARCHSERVICE_API OffPeakWindow() = default;
43 AWS_OPENSEARCHSERVICE_API OffPeakWindow(Aws::Utils::Json::JsonView jsonValue);
44 AWS_OPENSEARCHSERVICE_API OffPeakWindow& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const WindowStartTime& GetWindowStartTime() const { return m_windowStartTime; }
56 inline bool WindowStartTimeHasBeenSet() const { return m_windowStartTimeHasBeenSet; }
57 template<typename WindowStartTimeT = WindowStartTime>
58 void SetWindowStartTime(WindowStartTimeT&& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = std::forward<WindowStartTimeT>(value); }
59 template<typename WindowStartTimeT = WindowStartTime>
60 OffPeakWindow& WithWindowStartTime(WindowStartTimeT&& value) { SetWindowStartTime(std::forward<WindowStartTimeT>(value)); return *this;}
62 private:
63
64 WindowStartTime m_windowStartTime;
65 bool m_windowStartTimeHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace OpenSearchService
70} // namespace Aws
AWS_OPENSEARCHSERVICE_API OffPeakWindow(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API OffPeakWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWindowStartTime(WindowStartTimeT &&value)
const WindowStartTime & GetWindowStartTime() const
AWS_OPENSEARCHSERVICE_API OffPeakWindow()=default
OffPeakWindow & WithWindowStartTime(WindowStartTimeT &&value)
Aws::Utils::Json::JsonValue JsonValue