AWS SDK for C++  1.9.109
AWS SDK for C++
UpdateMaintenanceStartTimeRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "UpdateMaintenanceStartTime"; }
39 
40  Aws::String SerializePayload() const override;
41 
43 
44 
45 
46  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
47 
48 
49  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
50 
51 
52  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
53 
54 
55  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
56 
57 
58  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
59 
60 
61  inline UpdateMaintenanceStartTimeRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
62 
63 
64  inline UpdateMaintenanceStartTimeRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
65 
66 
67  inline UpdateMaintenanceStartTimeRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
68 
69 
75  inline int GetHourOfDay() const{ return m_hourOfDay; }
76 
82  inline bool HourOfDayHasBeenSet() const { return m_hourOfDayHasBeenSet; }
83 
89  inline void SetHourOfDay(int value) { m_hourOfDayHasBeenSet = true; m_hourOfDay = value; }
90 
96  inline UpdateMaintenanceStartTimeRequest& WithHourOfDay(int value) { SetHourOfDay(value); return *this;}
97 
98 
104  inline int GetMinuteOfHour() const{ return m_minuteOfHour; }
105 
111  inline bool MinuteOfHourHasBeenSet() const { return m_minuteOfHourHasBeenSet; }
112 
118  inline void SetMinuteOfHour(int value) { m_minuteOfHourHasBeenSet = true; m_minuteOfHour = value; }
119 
125  inline UpdateMaintenanceStartTimeRequest& WithMinuteOfHour(int value) { SetMinuteOfHour(value); return *this;}
126 
127 
132  inline int GetDayOfWeek() const{ return m_dayOfWeek; }
133 
138  inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
139 
144  inline void SetDayOfWeek(int value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
145 
150  inline UpdateMaintenanceStartTimeRequest& WithDayOfWeek(int value) { SetDayOfWeek(value); return *this;}
151 
152 
158  inline int GetDayOfMonth() const{ return m_dayOfMonth; }
159 
165  inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
166 
172  inline void SetDayOfMonth(int value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
173 
179  inline UpdateMaintenanceStartTimeRequest& WithDayOfMonth(int value) { SetDayOfMonth(value); return *this;}
180 
181  private:
182 
183  Aws::String m_gatewayARN;
184  bool m_gatewayARNHasBeenSet;
185 
186  int m_hourOfDay;
187  bool m_hourOfDayHasBeenSet;
188 
189  int m_minuteOfHour;
190  bool m_minuteOfHourHasBeenSet;
191 
192  int m_dayOfWeek;
193  bool m_dayOfWeekHasBeenSet;
194 
195  int m_dayOfMonth;
196  bool m_dayOfMonthHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace StorageGateway
201 } // namespace Aws
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: UpdateMaintenanceStartTimeRequest.h:46
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetHourOfDay
int GetHourOfDay() const
Definition: UpdateMaintenanceStartTimeRequest.h:75
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithGatewayARN
UpdateMaintenanceStartTimeRequest & WithGatewayARN(const char *value)
Definition: UpdateMaintenanceStartTimeRequest.h:67
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetDayOfWeek
int GetDayOfWeek() const
Definition: UpdateMaintenanceStartTimeRequest.h:132
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithGatewayARN
UpdateMaintenanceStartTimeRequest & WithGatewayARN(const Aws::String &value)
Definition: UpdateMaintenanceStartTimeRequest.h:61
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithDayOfMonth
UpdateMaintenanceStartTimeRequest & WithDayOfMonth(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:179
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetDayOfMonth
int GetDayOfMonth() const
Definition: UpdateMaintenanceStartTimeRequest.h:158
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetDayOfMonth
void SetDayOfMonth(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:172
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetMinuteOfHour
void SetMinuteOfHour(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:118
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithHourOfDay
UpdateMaintenanceStartTimeRequest & WithHourOfDay(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:96
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: UpdateMaintenanceStartTimeRequest.h:52
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateMaintenanceStartTimeRequest.h:38
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetHourOfDay
void SetHourOfDay(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:89
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::UpdateMaintenanceStartTimeRequest
UpdateMaintenanceStartTimeRequest()
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: UpdateMaintenanceStartTimeRequest.h:55
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithMinuteOfHour
UpdateMaintenanceStartTimeRequest & WithMinuteOfHour(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:125
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetDayOfWeek
void SetDayOfWeek(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:144
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::MinuteOfHourHasBeenSet
bool MinuteOfHourHasBeenSet() const
Definition: UpdateMaintenanceStartTimeRequest.h:111
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest
Definition: UpdateMaintenanceStartTimeRequest.h:30
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::DayOfWeekHasBeenSet
bool DayOfWeekHasBeenSet() const
Definition: UpdateMaintenanceStartTimeRequest.h:138
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithDayOfWeek
UpdateMaintenanceStartTimeRequest & WithDayOfWeek(int value)
Definition: UpdateMaintenanceStartTimeRequest.h:150
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: UpdateMaintenanceStartTimeRequest.h:58
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::DayOfMonthHasBeenSet
bool DayOfMonthHasBeenSet() const
Definition: UpdateMaintenanceStartTimeRequest.h:165
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::HourOfDayHasBeenSet
bool HourOfDayHasBeenSet() const
Definition: UpdateMaintenanceStartTimeRequest.h:82
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: UpdateMaintenanceStartTimeRequest.h:49
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::WithGatewayARN
UpdateMaintenanceStartTimeRequest & WithGatewayARN(Aws::String &&value)
Definition: UpdateMaintenanceStartTimeRequest.h:64
Aws::StorageGateway::Model::UpdateMaintenanceStartTimeRequest::GetMinuteOfHour
int GetMinuteOfHour() const
Definition: UpdateMaintenanceStartTimeRequest.h:104