/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A JSON object containing the following fields:
See
* Also:
AWS
* API Reference
The hour component of the maintenance start time represented as hh, * where hh is the hour (0 to 23). The hour of the day is in the time zone * of the gateway.
*/ inline int GetHourOfDay() const{ return m_hourOfDay; } /** *The hour component of the maintenance start time represented as hh, * where hh is the hour (0 to 23). The hour of the day is in the time zone * of the gateway.
*/ inline void SetHourOfDay(int value) { m_hourOfDay = value; } /** *The hour component of the maintenance start time represented as hh, * where hh is the hour (0 to 23). The hour of the day is in the time zone * of the gateway.
*/ inline DescribeMaintenanceStartTimeResult& WithHourOfDay(int value) { SetHourOfDay(value); return *this;} /** *The minute component of the maintenance start time represented as mm, * where mm is the minute (0 to 59). The minute of the hour is in the time * zone of the gateway.
*/ inline int GetMinuteOfHour() const{ return m_minuteOfHour; } /** *The minute component of the maintenance start time represented as mm, * where mm is the minute (0 to 59). The minute of the hour is in the time * zone of the gateway.
*/ inline void SetMinuteOfHour(int value) { m_minuteOfHour = value; } /** *The minute component of the maintenance start time represented as mm, * where mm is the minute (0 to 59). The minute of the hour is in the time * zone of the gateway.
*/ inline DescribeMaintenanceStartTimeResult& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;} /** *An ordinal number between 0 and 6 that represents the day of the week, where * 0 represents Sunday and 6 represents Saturday. The day of week is in the time * zone of the gateway.
*/ inline int GetDayOfWeek() const{ return m_dayOfWeek; } /** *An ordinal number between 0 and 6 that represents the day of the week, where * 0 represents Sunday and 6 represents Saturday. The day of week is in the time * zone of the gateway.
*/ inline void SetDayOfWeek(int value) { m_dayOfWeek = value; } /** *An ordinal number between 0 and 6 that represents the day of the week, where * 0 represents Sunday and 6 represents Saturday. The day of week is in the time * zone of the gateway.
*/ inline DescribeMaintenanceStartTimeResult& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;} /** *The day of the month component of the maintenance start time represented as * an ordinal number from 1 to 28, where 1 represents the first day of the month * and 28 represents the last day of the month.
*/ inline int GetDayOfMonth() const{ return m_dayOfMonth; } /** *The day of the month component of the maintenance start time represented as * an ordinal number from 1 to 28, where 1 represents the first day of the month * and 28 represents the last day of the month.
*/ inline void SetDayOfMonth(int value) { m_dayOfMonth = value; } /** *The day of the month component of the maintenance start time represented as * an ordinal number from 1 to 28, where 1 represents the first day of the month * and 28 represents the last day of the month.
*/ inline DescribeMaintenanceStartTimeResult& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;} /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline void SetTimezone(const Aws::String& value) { m_timezone = value; } /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); } /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline void SetTimezone(const char* value) { m_timezone.assign(value); } /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline DescribeMaintenanceStartTimeResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline DescribeMaintenanceStartTimeResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *A value that indicates the time zone that is set for the gateway. The start * time and day of week specified should be in the time zone of the gateway.
*/ inline DescribeMaintenanceStartTimeResult& WithTimezone(const char* value) { SetTimezone(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeMaintenanceStartTimeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeMaintenanceStartTimeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeMaintenanceStartTimeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_gatewayARN; int m_hourOfDay; int m_minuteOfHour; int m_dayOfWeek; int m_dayOfMonth; Aws::String m_timezone; Aws::String m_requestId; }; } // namespace Model } // namespace StorageGateway } // namespace Aws