AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWindowStartTime(const WindowStartTime& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = value; }
58 inline void SetWindowStartTime(WindowStartTime&& value) { m_windowStartTimeHasBeenSet = true; m_windowStartTime = std::move(value); }
59 inline OffPeakWindow& WithWindowStartTime(const WindowStartTime& value) { SetWindowStartTime(value); return *this;}
60 inline OffPeakWindow& WithWindowStartTime(WindowStartTime&& value) { SetWindowStartTime(std::move(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
OffPeakWindow & WithWindowStartTime(WindowStartTime &&value)
OffPeakWindow & WithWindowStartTime(const WindowStartTime &value)
AWS_OPENSEARCHSERVICE_API OffPeakWindow(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API OffPeakWindow & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWindowStartTime(WindowStartTime &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const WindowStartTime & GetWindowStartTime() const
void SetWindowStartTime(const WindowStartTime &value)
AWS_OPENSEARCHSERVICE_API OffPeakWindow()
Aws::Utils::Json::JsonValue JsonValue