AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeMaintenanceStartTimeResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/model/SoftwareUpdatePreferences.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace StorageGateway
25{
26namespace Model
27{
41 {
42 public:
43 AWS_STORAGEGATEWAY_API DescribeMaintenanceStartTimeResult() = default;
46
47
49
50 inline const Aws::String& GetGatewayARN() const { return m_gatewayARN; }
51 template<typename GatewayARNT = Aws::String>
52 void SetGatewayARN(GatewayARNT&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::forward<GatewayARNT>(value); }
53 template<typename GatewayARNT = Aws::String>
54 DescribeMaintenanceStartTimeResult& WithGatewayARN(GatewayARNT&& value) { SetGatewayARN(std::forward<GatewayARNT>(value)); return *this;}
56
58
63 inline int GetHourOfDay() const { return m_hourOfDay; }
64 inline void SetHourOfDay(int value) { m_hourOfDayHasBeenSet = true; m_hourOfDay = value; }
65 inline DescribeMaintenanceStartTimeResult& WithHourOfDay(int value) { SetHourOfDay(value); return *this;}
67
69
74 inline int GetMinuteOfHour() const { return m_minuteOfHour; }
75 inline void SetMinuteOfHour(int value) { m_minuteOfHourHasBeenSet = true; m_minuteOfHour = value; }
76 inline DescribeMaintenanceStartTimeResult& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;}
78
80
85 inline int GetDayOfWeek() const { return m_dayOfWeek; }
86 inline void SetDayOfWeek(int value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
87 inline DescribeMaintenanceStartTimeResult& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;}
89
91
97 inline int GetDayOfMonth() const { return m_dayOfMonth; }
98 inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
99 inline DescribeMaintenanceStartTimeResult& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
101
103
107 inline const Aws::String& GetTimezone() const { return m_timezone; }
108 template<typename TimezoneT = Aws::String>
109 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
110 template<typename TimezoneT = Aws::String>
111 DescribeMaintenanceStartTimeResult& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
113
115
126 inline const SoftwareUpdatePreferences& GetSoftwareUpdatePreferences() const { return m_softwareUpdatePreferences; }
127 template<typename SoftwareUpdatePreferencesT = SoftwareUpdatePreferences>
128 void SetSoftwareUpdatePreferences(SoftwareUpdatePreferencesT&& value) { m_softwareUpdatePreferencesHasBeenSet = true; m_softwareUpdatePreferences = std::forward<SoftwareUpdatePreferencesT>(value); }
129 template<typename SoftwareUpdatePreferencesT = SoftwareUpdatePreferences>
130 DescribeMaintenanceStartTimeResult& WithSoftwareUpdatePreferences(SoftwareUpdatePreferencesT&& value) { SetSoftwareUpdatePreferences(std::forward<SoftwareUpdatePreferencesT>(value)); return *this;}
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template<typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
138 template<typename RequestIdT = Aws::String>
139 DescribeMaintenanceStartTimeResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
141 private:
142
143 Aws::String m_gatewayARN;
144 bool m_gatewayARNHasBeenSet = false;
145
146 int m_hourOfDay{0};
147 bool m_hourOfDayHasBeenSet = false;
148
149 int m_minuteOfHour{0};
150 bool m_minuteOfHourHasBeenSet = false;
151
152 int m_dayOfWeek{0};
153 bool m_dayOfWeekHasBeenSet = false;
154
155 int m_dayOfMonth{0};
156 bool m_dayOfMonthHasBeenSet = false;
157
158 Aws::String m_timezone;
159 bool m_timezoneHasBeenSet = false;
160
161 SoftwareUpdatePreferences m_softwareUpdatePreferences;
162 bool m_softwareUpdatePreferencesHasBeenSet = false;
163
164 Aws::String m_requestId;
165 bool m_requestIdHasBeenSet = false;
166 };
167
168} // namespace Model
169} // namespace StorageGateway
170} // namespace Aws
AWS_STORAGEGATEWAY_API DescribeMaintenanceStartTimeResult()=default
AWS_STORAGEGATEWAY_API DescribeMaintenanceStartTimeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMaintenanceStartTimeResult & WithRequestId(RequestIdT &&value)
DescribeMaintenanceStartTimeResult & WithGatewayARN(GatewayARNT &&value)
DescribeMaintenanceStartTimeResult & WithSoftwareUpdatePreferences(SoftwareUpdatePreferencesT &&value)
DescribeMaintenanceStartTimeResult & WithTimezone(TimezoneT &&value)
AWS_STORAGEGATEWAY_API DescribeMaintenanceStartTimeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue