AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WindowStartTime.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OpenSearchService
20{
21namespace Model
22{
23
32 {
33 public:
34 AWS_OPENSEARCHSERVICE_API WindowStartTime();
35 AWS_OPENSEARCHSERVICE_API WindowStartTime(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVICE_API WindowStartTime& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline long long GetHours() const{ return m_hours; }
46 inline bool HoursHasBeenSet() const { return m_hoursHasBeenSet; }
47 inline void SetHours(long long value) { m_hoursHasBeenSet = true; m_hours = value; }
48 inline WindowStartTime& WithHours(long long value) { SetHours(value); return *this;}
50
52
55 inline long long GetMinutes() const{ return m_minutes; }
56 inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; }
57 inline void SetMinutes(long long value) { m_minutesHasBeenSet = true; m_minutes = value; }
58 inline WindowStartTime& WithMinutes(long long value) { SetMinutes(value); return *this;}
60 private:
61
62 long long m_hours;
63 bool m_hoursHasBeenSet = false;
64
65 long long m_minutes;
66 bool m_minutesHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace OpenSearchService
71} // namespace Aws
AWS_OPENSEARCHSERVICE_API WindowStartTime(Aws::Utils::Json::JsonView jsonValue)
WindowStartTime & WithHours(long long value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
WindowStartTime & WithMinutes(long long value)
AWS_OPENSEARCHSERVICE_API WindowStartTime()
AWS_OPENSEARCHSERVICE_API WindowStartTime & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue