AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
46
47
49
50 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
51 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
52 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
53 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
54 inline DescribeMaintenanceStartTimeResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
55 inline DescribeMaintenanceStartTimeResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
56 inline DescribeMaintenanceStartTimeResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
58
60
65 inline int GetHourOfDay() const{ return m_hourOfDay; }
66 inline void SetHourOfDay(int value) { m_hourOfDay = value; }
67 inline DescribeMaintenanceStartTimeResult& WithHourOfDay(int value) { SetHourOfDay(value); return *this;}
69
71
76 inline int GetMinuteOfHour() const{ return m_minuteOfHour; }
77 inline void SetMinuteOfHour(int value) { m_minuteOfHour = value; }
78 inline DescribeMaintenanceStartTimeResult& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;}
80
82
87 inline int GetDayOfWeek() const{ return m_dayOfWeek; }
88 inline void SetDayOfWeek(int value) { m_dayOfWeek = value; }
89 inline DescribeMaintenanceStartTimeResult& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;}
91
93
99 inline int GetDayOfMonth() const{ return m_dayOfMonth; }
100 inline void SetDayOfMonth(int value) { m_dayOfMonth = value; }
101 inline DescribeMaintenanceStartTimeResult& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
103
105
109 inline const Aws::String& GetTimezone() const{ return m_timezone; }
110 inline void SetTimezone(const Aws::String& value) { m_timezone = value; }
111 inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); }
112 inline void SetTimezone(const char* value) { m_timezone.assign(value); }
113 inline DescribeMaintenanceStartTimeResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
114 inline DescribeMaintenanceStartTimeResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
115 inline DescribeMaintenanceStartTimeResult& WithTimezone(const char* value) { SetTimezone(value); return *this;}
117
119
130 inline const SoftwareUpdatePreferences& GetSoftwareUpdatePreferences() const{ return m_softwareUpdatePreferences; }
131 inline void SetSoftwareUpdatePreferences(const SoftwareUpdatePreferences& value) { m_softwareUpdatePreferences = value; }
132 inline void SetSoftwareUpdatePreferences(SoftwareUpdatePreferences&& value) { m_softwareUpdatePreferences = std::move(value); }
136
138
139 inline const Aws::String& GetRequestId() const{ return m_requestId; }
140 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
141 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
142 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
143 inline DescribeMaintenanceStartTimeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
144 inline DescribeMaintenanceStartTimeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
145 inline DescribeMaintenanceStartTimeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
147 private:
148
149 Aws::String m_gatewayARN;
150
151 int m_hourOfDay;
152
153 int m_minuteOfHour;
154
155 int m_dayOfWeek;
156
157 int m_dayOfMonth;
158
159 Aws::String m_timezone;
160
161 SoftwareUpdatePreferences m_softwareUpdatePreferences;
162
163 Aws::String m_requestId;
164 };
165
166} // namespace Model
167} // namespace StorageGateway
168} // namespace Aws
DescribeMaintenanceStartTimeResult & WithSoftwareUpdatePreferences(SoftwareUpdatePreferences &&value)
DescribeMaintenanceStartTimeResult & WithGatewayARN(const char *value)
DescribeMaintenanceStartTimeResult & WithGatewayARN(Aws::String &&value)
AWS_STORAGEGATEWAY_API DescribeMaintenanceStartTimeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMaintenanceStartTimeResult & WithRequestId(const char *value)
DescribeMaintenanceStartTimeResult & WithTimezone(const char *value)
DescribeMaintenanceStartTimeResult & WithRequestId(Aws::String &&value)
DescribeMaintenanceStartTimeResult & WithGatewayARN(const Aws::String &value)
DescribeMaintenanceStartTimeResult & WithTimezone(Aws::String &&value)
DescribeMaintenanceStartTimeResult & WithTimezone(const Aws::String &value)
DescribeMaintenanceStartTimeResult & WithSoftwareUpdatePreferences(const SoftwareUpdatePreferences &value)
DescribeMaintenanceStartTimeResult & WithRequestId(const Aws::String &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