AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeMaintenanceStartTimeResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
39  {
40  public:
44 
45 
46 
47  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
48 
49 
50  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
51 
52 
53  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
54 
55 
56  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
57 
58 
59  inline DescribeMaintenanceStartTimeResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
60 
61 
62  inline DescribeMaintenanceStartTimeResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
63 
64 
65  inline DescribeMaintenanceStartTimeResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
66 
67 
73  inline int GetHourOfDay() const{ return m_hourOfDay; }
74 
80  inline void SetHourOfDay(int value) { m_hourOfDay = value; }
81 
87  inline DescribeMaintenanceStartTimeResult& WithHourOfDay(int value) { SetHourOfDay(value); return *this;}
88 
89 
95  inline int GetMinuteOfHour() const{ return m_minuteOfHour; }
96 
102  inline void SetMinuteOfHour(int value) { m_minuteOfHour = value; }
103 
109  inline DescribeMaintenanceStartTimeResult& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;}
110 
111 
117  inline int GetDayOfWeek() const{ return m_dayOfWeek; }
118 
124  inline void SetDayOfWeek(int value) { m_dayOfWeek = value; }
125 
131  inline DescribeMaintenanceStartTimeResult& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;}
132 
133 
139  inline int GetDayOfMonth() const{ return m_dayOfMonth; }
140 
146  inline void SetDayOfMonth(int value) { m_dayOfMonth = value; }
147 
153  inline DescribeMaintenanceStartTimeResult& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
154 
155 
160  inline const Aws::String& GetTimezone() const{ return m_timezone; }
161 
166  inline void SetTimezone(const Aws::String& value) { m_timezone = value; }
167 
172  inline void SetTimezone(Aws::String&& value) { m_timezone = std::move(value); }
173 
178  inline void SetTimezone(const char* value) { m_timezone.assign(value); }
179 
184  inline DescribeMaintenanceStartTimeResult& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
185 
190  inline DescribeMaintenanceStartTimeResult& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
191 
196  inline DescribeMaintenanceStartTimeResult& WithTimezone(const char* value) { SetTimezone(value); return *this;}
197 
198  private:
199 
200  Aws::String m_gatewayARN;
201 
202  int m_hourOfDay;
203 
204  int m_minuteOfHour;
205 
206  int m_dayOfWeek;
207 
208  int m_dayOfMonth;
209 
210  Aws::String m_timezone;
211  };
212 
213 } // namespace Model
214 } // namespace StorageGateway
215 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::operator=
DescribeMaintenanceStartTimeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetDayOfMonth
void SetDayOfMonth(int value)
Definition: DescribeMaintenanceStartTimeResult.h:146
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetMinuteOfHour
void SetMinuteOfHour(int value)
Definition: DescribeMaintenanceStartTimeResult.h:102
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeMaintenanceStartTimeResult.h:53
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::GetHourOfDay
int GetHourOfDay() const
Definition: DescribeMaintenanceStartTimeResult.h:73
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithGatewayARN
DescribeMaintenanceStartTimeResult & WithGatewayARN(const char *value)
Definition: DescribeMaintenanceStartTimeResult.h:65
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetDayOfWeek
void SetDayOfWeek(int value)
Definition: DescribeMaintenanceStartTimeResult.h:124
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithMinuteOfHour
DescribeMaintenanceStartTimeResult & WithMinuteOfHour(int value)
Definition: DescribeMaintenanceStartTimeResult.h:109
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetTimezone
void SetTimezone(Aws::String &&value)
Definition: DescribeMaintenanceStartTimeResult.h:172
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithTimezone
DescribeMaintenanceStartTimeResult & WithTimezone(Aws::String &&value)
Definition: DescribeMaintenanceStartTimeResult.h:190
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::GetDayOfMonth
int GetDayOfMonth() const
Definition: DescribeMaintenanceStartTimeResult.h:139
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithTimezone
DescribeMaintenanceStartTimeResult & WithTimezone(const Aws::String &value)
Definition: DescribeMaintenanceStartTimeResult.h:184
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetTimezone
void SetTimezone(const Aws::String &value)
Definition: DescribeMaintenanceStartTimeResult.h:166
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::GetDayOfWeek
int GetDayOfWeek() const
Definition: DescribeMaintenanceStartTimeResult.h:117
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::GetMinuteOfHour
int GetMinuteOfHour() const
Definition: DescribeMaintenanceStartTimeResult.h:95
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::DescribeMaintenanceStartTimeResult
DescribeMaintenanceStartTimeResult()
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult
Definition: DescribeMaintenanceStartTimeResult.h:39
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::DescribeMaintenanceStartTimeResult
DescribeMaintenanceStartTimeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeMaintenanceStartTimeResult.h:56
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::GetTimezone
const Aws::String & GetTimezone() const
Definition: DescribeMaintenanceStartTimeResult.h:160
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithGatewayARN
DescribeMaintenanceStartTimeResult & WithGatewayARN(Aws::String &&value)
Definition: DescribeMaintenanceStartTimeResult.h:62
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithTimezone
DescribeMaintenanceStartTimeResult & WithTimezone(const char *value)
Definition: DescribeMaintenanceStartTimeResult.h:196
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithDayOfWeek
DescribeMaintenanceStartTimeResult & WithDayOfWeek(int value)
Definition: DescribeMaintenanceStartTimeResult.h:131
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithHourOfDay
DescribeMaintenanceStartTimeResult & WithHourOfDay(int value)
Definition: DescribeMaintenanceStartTimeResult.h:87
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetTimezone
void SetTimezone(const char *value)
Definition: DescribeMaintenanceStartTimeResult.h:178
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeMaintenanceStartTimeResult.h:47
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetHourOfDay
void SetHourOfDay(int value)
Definition: DescribeMaintenanceStartTimeResult.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithGatewayARN
DescribeMaintenanceStartTimeResult & WithGatewayARN(const Aws::String &value)
Definition: DescribeMaintenanceStartTimeResult.h:59
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::WithDayOfMonth
DescribeMaintenanceStartTimeResult & WithDayOfMonth(int value)
Definition: DescribeMaintenanceStartTimeResult.h:153
Aws::StorageGateway::Model::DescribeMaintenanceStartTimeResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeMaintenanceStartTimeResult.h:50