AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
WindowStartTime.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace OpenSearchService {
17namespace Model {
18
27 public:
28 AWS_OPENSEARCHSERVICE_API WindowStartTime() = default;
29 AWS_OPENSEARCHSERVICE_API WindowStartTime(Aws::Utils::Json::JsonView jsonValue);
30 AWS_OPENSEARCHSERVICE_API WindowStartTime& operator=(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
32
34
38 inline long long GetHours() const { return m_hours; }
39 inline bool HoursHasBeenSet() const { return m_hoursHasBeenSet; }
40 inline void SetHours(long long value) {
41 m_hoursHasBeenSet = true;
42 m_hours = value;
43 }
44 inline WindowStartTime& WithHours(long long value) {
45 SetHours(value);
46 return *this;
47 }
49
51
54 inline long long GetMinutes() const { return m_minutes; }
55 inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; }
56 inline void SetMinutes(long long value) {
57 m_minutesHasBeenSet = true;
58 m_minutes = value;
59 }
60 inline WindowStartTime& WithMinutes(long long value) {
61 SetMinutes(value);
62 return *this;
63 }
65 private:
66 long long m_hours{0};
67
68 long long m_minutes{0};
69 bool m_hoursHasBeenSet = false;
70 bool m_minutesHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace OpenSearchService
75} // 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
AWS_OPENSEARCHSERVICE_API WindowStartTime()=default
WindowStartTime & WithMinutes(long long value)
AWS_OPENSEARCHSERVICE_API WindowStartTime & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue