/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace OpenSearchService { namespace Model { /** *

The desired start time for an off-peak * maintenance window.

See Also:

AWS * API Reference

*/ class WindowStartTime { public: AWS_OPENSEARCHSERVICE_API WindowStartTime(); AWS_OPENSEARCHSERVICE_API WindowStartTime(Aws::Utils::Json::JsonView jsonValue); AWS_OPENSEARCHSERVICE_API WindowStartTime& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The start hour of the window in Coordinated Universal Time (UTC), using * 24-hour time. For example, 17 refers to 5:00 P.M. UTC.

*/ inline long long GetHours() const{ return m_hours; } /** *

The start hour of the window in Coordinated Universal Time (UTC), using * 24-hour time. For example, 17 refers to 5:00 P.M. UTC.

*/ inline bool HoursHasBeenSet() const { return m_hoursHasBeenSet; } /** *

The start hour of the window in Coordinated Universal Time (UTC), using * 24-hour time. For example, 17 refers to 5:00 P.M. UTC.

*/ inline void SetHours(long long value) { m_hoursHasBeenSet = true; m_hours = value; } /** *

The start hour of the window in Coordinated Universal Time (UTC), using * 24-hour time. For example, 17 refers to 5:00 P.M. UTC.

*/ inline WindowStartTime& WithHours(long long value) { SetHours(value); return *this;} /** *

The start minute of the window, in UTC.

*/ inline long long GetMinutes() const{ return m_minutes; } /** *

The start minute of the window, in UTC.

*/ inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; } /** *

The start minute of the window, in UTC.

*/ inline void SetMinutes(long long value) { m_minutesHasBeenSet = true; m_minutes = value; } /** *

The start minute of the window, in UTC.

*/ inline WindowStartTime& WithMinutes(long long value) { SetMinutes(value); return *this;} private: long long m_hours; bool m_hoursHasBeenSet = false; long long m_minutes; bool m_minutesHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws