/**
* 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 (00 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 (00 to 23). The hour of the day is in the time zone * of the gateway.
*/ inline bool HourOfDayHasBeenSet() const { return m_hourOfDayHasBeenSet; } /** *The hour component of the maintenance start time represented as hh, * where hh is the hour (00 to 23). The hour of the day is in the time zone * of the gateway.
*/ inline void SetHourOfDay(int value) { m_hourOfDayHasBeenSet = true; m_hourOfDay = value; } /** *The hour component of the maintenance start time represented as hh, * where hh is the hour (00 to 23). The hour of the day is in the time zone * of the gateway.
*/ inline UpdateMaintenanceStartTimeRequest& WithHourOfDay(int value) { SetHourOfDay(value); return *this;} /** *The minute component of the maintenance start time represented as mm, * where mm is the minute (00 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 (00 to 59). The minute of the hour is in the time * zone of the gateway.
*/ inline bool MinuteOfHourHasBeenSet() const { return m_minuteOfHourHasBeenSet; } /** *The minute component of the maintenance start time represented as mm, * where mm is the minute (00 to 59). The minute of the hour is in the time * zone of the gateway.
*/ inline void SetMinuteOfHour(int value) { m_minuteOfHourHasBeenSet = true; m_minuteOfHour = value; } /** *The minute component of the maintenance start time represented as mm, * where mm is the minute (00 to 59). The minute of the hour is in the time * zone of the gateway.
*/ inline UpdateMaintenanceStartTimeRequest& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;} /** *The day of the week component of the maintenance start time week represented * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
*/ inline int GetDayOfWeek() const{ return m_dayOfWeek; } /** *The day of the week component of the maintenance start time week represented * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
*/ inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; } /** *The day of the week component of the maintenance start time week represented * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
*/ inline void SetDayOfWeek(int value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; } /** *The day of the week component of the maintenance start time week represented * as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
*/ inline UpdateMaintenanceStartTimeRequest& 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 bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; } /** *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_dayOfMonthHasBeenSet = true; 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 UpdateMaintenanceStartTimeRequest& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;} private: Aws::String m_gatewayARN; bool m_gatewayARNHasBeenSet = false; int m_hourOfDay; bool m_hourOfDayHasBeenSet = false; int m_minuteOfHour; bool m_minuteOfHourHasBeenSet = false; int m_dayOfWeek; bool m_dayOfWeekHasBeenSet = false; int m_dayOfMonth; bool m_dayOfMonthHasBeenSet = false; }; } // namespace Model } // namespace StorageGateway } // namespace Aws