AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeScheduledActionsRequest.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
21 
22 namespace Aws
23 {
24 namespace AutoScaling
25 {
26 namespace Model
27 {
28 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
40  inline const Aws::String& GetAutoScalingGroupName() const{ return m_autoScalingGroupName; }
41 
45  inline void SetAutoScalingGroupName(const Aws::String& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
46 
50  inline void SetAutoScalingGroupName(Aws::String&& value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName = value; }
51 
55  inline void SetAutoScalingGroupName(const char* value) { m_autoScalingGroupNameHasBeenSet = true; m_autoScalingGroupName.assign(value); }
56 
60  inline DescribeScheduledActionsRequest& WithAutoScalingGroupName(const Aws::String& value) { SetAutoScalingGroupName(value); return *this;}
61 
65  inline DescribeScheduledActionsRequest& WithAutoScalingGroupName(Aws::String&& value) { SetAutoScalingGroupName(value); return *this;}
66 
70  inline DescribeScheduledActionsRequest& WithAutoScalingGroupName(const char* value) { SetAutoScalingGroupName(value); return *this;}
71 
80  inline const Aws::Vector<Aws::String>& GetScheduledActionNames() const{ return m_scheduledActionNames; }
81 
90  inline void SetScheduledActionNames(const Aws::Vector<Aws::String>& value) { m_scheduledActionNamesHasBeenSet = true; m_scheduledActionNames = value; }
91 
100  inline void SetScheduledActionNames(Aws::Vector<Aws::String>&& value) { m_scheduledActionNamesHasBeenSet = true; m_scheduledActionNames = value; }
101 
110  inline DescribeScheduledActionsRequest& WithScheduledActionNames(const Aws::Vector<Aws::String>& value) { SetScheduledActionNames(value); return *this;}
111 
120  inline DescribeScheduledActionsRequest& WithScheduledActionNames(Aws::Vector<Aws::String>&& value) { SetScheduledActionNames(value); return *this;}
121 
130  inline DescribeScheduledActionsRequest& AddScheduledActionNames(const Aws::String& value) { m_scheduledActionNamesHasBeenSet = true; m_scheduledActionNames.push_back(value); return *this; }
131 
140  inline DescribeScheduledActionsRequest& AddScheduledActionNames(Aws::String&& value) { m_scheduledActionNamesHasBeenSet = true; m_scheduledActionNames.push_back(value); return *this; }
141 
150  inline DescribeScheduledActionsRequest& AddScheduledActionNames(const char* value) { m_scheduledActionNamesHasBeenSet = true; m_scheduledActionNames.push_back(value); return *this; }
151 
156  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
157 
162  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
163 
168  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
169 
174  inline DescribeScheduledActionsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
175 
180  inline DescribeScheduledActionsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(value); return *this;}
181 
186  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
187 
192  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
193 
198  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
199 
204  inline DescribeScheduledActionsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
205 
210  inline DescribeScheduledActionsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(value); return *this;}
211 
216  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
217 
222  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
223 
228  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
229 
234  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
235 
240  inline DescribeScheduledActionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
241 
246  inline DescribeScheduledActionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
247 
252  inline DescribeScheduledActionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
253 
257  inline long GetMaxRecords() const{ return m_maxRecords; }
258 
262  inline void SetMaxRecords(long value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
263 
267  inline DescribeScheduledActionsRequest& WithMaxRecords(long value) { SetMaxRecords(value); return *this;}
268 
269  private:
270  Aws::String m_autoScalingGroupName;
271  bool m_autoScalingGroupNameHasBeenSet;
272  Aws::Vector<Aws::String> m_scheduledActionNames;
273  bool m_scheduledActionNamesHasBeenSet;
274  Aws::Utils::DateTime m_startTime;
275  bool m_startTimeHasBeenSet;
276  Aws::Utils::DateTime m_endTime;
277  bool m_endTimeHasBeenSet;
278  Aws::String m_nextToken;
279  bool m_nextTokenHasBeenSet;
280  long m_maxRecords;
281  bool m_maxRecordsHasBeenSet;
282  };
283 
284 } // namespace Model
285 } // namespace AutoScaling
286 } // namespace Aws
DescribeScheduledActionsRequest & WithScheduledActionNames(Aws::Vector< Aws::String > &&value)
DescribeScheduledActionsRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetScheduledActionNames(const Aws::Vector< Aws::String > &value)
DescribeScheduledActionsRequest & WithAutoScalingGroupName(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeScheduledActionsRequest & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetScheduledActionNames() const
DescribeScheduledActionsRequest & AddScheduledActionNames(Aws::String &&value)
DescribeScheduledActionsRequest & WithNextToken(const Aws::String &value)
DescribeScheduledActionsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeScheduledActionsRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeScheduledActionsRequest & AddScheduledActionNames(const char *value)
DescribeScheduledActionsRequest & WithScheduledActionNames(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeScheduledActionsRequest & WithAutoScalingGroupName(Aws::String &&value)
#define AWS_AUTOSCALING_API
DescribeScheduledActionsRequest & WithNextToken(const char *value)
DescribeScheduledActionsRequest & AddScheduledActionNames(const Aws::String &value)
DescribeScheduledActionsRequest & WithNextToken(Aws::String &&value)
DescribeScheduledActionsRequest & WithAutoScalingGroupName(const Aws::String &value)
JSON (JavaScript Object Notation).