AWS SDK for C++  0.12.9
AWS SDK for C++
UpdateMaintenanceStartTimeRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace StorageGateway
23 {
24 namespace Model
25 {
26 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
41 
42  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
43 
44 
45  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
46 
47 
48  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
49 
50 
51  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
52 
53 
54  inline UpdateMaintenanceStartTimeRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
55 
56 
57  inline UpdateMaintenanceStartTimeRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(value); return *this;}
58 
59 
60  inline UpdateMaintenanceStartTimeRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
61 
67  inline long GetHourOfDay() const{ return m_hourOfDay; }
68 
74  inline void SetHourOfDay(long value) { m_hourOfDayHasBeenSet = true; m_hourOfDay = value; }
75 
81  inline UpdateMaintenanceStartTimeRequest& WithHourOfDay(long value) { SetHourOfDay(value); return *this;}
82 
88  inline long GetMinuteOfHour() const{ return m_minuteOfHour; }
89 
95  inline void SetMinuteOfHour(long value) { m_minuteOfHourHasBeenSet = true; m_minuteOfHour = value; }
96 
102  inline UpdateMaintenanceStartTimeRequest& WithMinuteOfHour(long value) { SetMinuteOfHour(value); return *this;}
103 
107  inline long GetDayOfWeek() const{ return m_dayOfWeek; }
108 
112  inline void SetDayOfWeek(long value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
113 
117  inline UpdateMaintenanceStartTimeRequest& WithDayOfWeek(long value) { SetDayOfWeek(value); return *this;}
118 
119  private:
120  Aws::String m_gatewayARN;
121  bool m_gatewayARNHasBeenSet;
122  long m_hourOfDay;
123  bool m_hourOfDayHasBeenSet;
124  long m_minuteOfHour;
125  bool m_minuteOfHourHasBeenSet;
126  long m_dayOfWeek;
127  bool m_dayOfWeekHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace StorageGateway
132 } // namespace Aws
UpdateMaintenanceStartTimeRequest & WithGatewayARN(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
UpdateMaintenanceStartTimeRequest & WithGatewayARN(const char *value)
UpdateMaintenanceStartTimeRequest & WithGatewayARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_STORAGEGATEWAY_API
JSON (JavaScript Object Notation).