AWS SDK for C++  1.9.154
AWS SDK for C++
ScheduledUpdateGroupActionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace AutoScaling
23 {
24 namespace Model
25 {
26 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetScheduledActionName() const{ return m_scheduledActionName; }
49 
53  inline bool ScheduledActionNameHasBeenSet() const { return m_scheduledActionNameHasBeenSet; }
54 
58  inline void SetScheduledActionName(const Aws::String& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = value; }
59 
63  inline void SetScheduledActionName(Aws::String&& value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName = std::move(value); }
64 
68  inline void SetScheduledActionName(const char* value) { m_scheduledActionNameHasBeenSet = true; m_scheduledActionName.assign(value); }
69 
73  inline ScheduledUpdateGroupActionRequest& WithScheduledActionName(const Aws::String& value) { SetScheduledActionName(value); return *this;}
74 
78  inline ScheduledUpdateGroupActionRequest& WithScheduledActionName(Aws::String&& value) { SetScheduledActionName(std::move(value)); return *this;}
79 
83  inline ScheduledUpdateGroupActionRequest& WithScheduledActionName(const char* value) { SetScheduledActionName(value); return *this;}
84 
85 
95  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
96 
106  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
107 
117  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
118 
128  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
129 
139  inline ScheduledUpdateGroupActionRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
140 
150  inline ScheduledUpdateGroupActionRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
151 
152 
156  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
157 
161  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
162 
166  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
167 
171  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
172 
176  inline ScheduledUpdateGroupActionRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
177 
181  inline ScheduledUpdateGroupActionRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
182 
183 
195  inline const Aws::String& GetRecurrence() const{ return m_recurrence; }
196 
208  inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; }
209 
221  inline void SetRecurrence(const Aws::String& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; }
222 
234  inline void SetRecurrence(Aws::String&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); }
235 
247  inline void SetRecurrence(const char* value) { m_recurrenceHasBeenSet = true; m_recurrence.assign(value); }
248 
260  inline ScheduledUpdateGroupActionRequest& WithRecurrence(const Aws::String& value) { SetRecurrence(value); return *this;}
261 
273  inline ScheduledUpdateGroupActionRequest& WithRecurrence(Aws::String&& value) { SetRecurrence(std::move(value)); return *this;}
274 
286  inline ScheduledUpdateGroupActionRequest& WithRecurrence(const char* value) { SetRecurrence(value); return *this;}
287 
288 
292  inline int GetMinSize() const{ return m_minSize; }
293 
297  inline bool MinSizeHasBeenSet() const { return m_minSizeHasBeenSet; }
298 
302  inline void SetMinSize(int value) { m_minSizeHasBeenSet = true; m_minSize = value; }
303 
307  inline ScheduledUpdateGroupActionRequest& WithMinSize(int value) { SetMinSize(value); return *this;}
308 
309 
313  inline int GetMaxSize() const{ return m_maxSize; }
314 
318  inline bool MaxSizeHasBeenSet() const { return m_maxSizeHasBeenSet; }
319 
323  inline void SetMaxSize(int value) { m_maxSizeHasBeenSet = true; m_maxSize = value; }
324 
328  inline ScheduledUpdateGroupActionRequest& WithMaxSize(int value) { SetMaxSize(value); return *this;}
329 
330 
335  inline int GetDesiredCapacity() const{ return m_desiredCapacity; }
336 
341  inline bool DesiredCapacityHasBeenSet() const { return m_desiredCapacityHasBeenSet; }
342 
347  inline void SetDesiredCapacity(int value) { m_desiredCapacityHasBeenSet = true; m_desiredCapacity = value; }
348 
353  inline ScheduledUpdateGroupActionRequest& WithDesiredCapacity(int value) { SetDesiredCapacity(value); return *this;}
354 
355 
364  inline const Aws::String& GetTimeZone() const{ return m_timeZone; }
365 
374  inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; }
375 
384  inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; }
385 
394  inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); }
395 
404  inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); }
405 
414  inline ScheduledUpdateGroupActionRequest& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;}
415 
424  inline ScheduledUpdateGroupActionRequest& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;}
425 
434  inline ScheduledUpdateGroupActionRequest& WithTimeZone(const char* value) { SetTimeZone(value); return *this;}
435 
436  private:
437 
438  Aws::String m_scheduledActionName;
439  bool m_scheduledActionNameHasBeenSet;
440 
441  Aws::Utils::DateTime m_startTime;
442  bool m_startTimeHasBeenSet;
443 
444  Aws::Utils::DateTime m_endTime;
445  bool m_endTimeHasBeenSet;
446 
447  Aws::String m_recurrence;
448  bool m_recurrenceHasBeenSet;
449 
450  int m_minSize;
451  bool m_minSizeHasBeenSet;
452 
453  int m_maxSize;
454  bool m_maxSizeHasBeenSet;
455 
456  int m_desiredCapacity;
457  bool m_desiredCapacityHasBeenSet;
458 
459  Aws::String m_timeZone;
460  bool m_timeZoneHasBeenSet;
461  };
462 
463 } // namespace Model
464 } // namespace AutoScaling
465 } // namespace Aws
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetMinSize
void SetMinSize(int value)
Definition: ScheduledUpdateGroupActionRequest.h:302
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduledUpdateGroupActionRequest.h:128
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetDesiredCapacity
void SetDesiredCapacity(int value)
Definition: ScheduledUpdateGroupActionRequest.h:347
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetScheduledActionName
void SetScheduledActionName(const char *value)
Definition: ScheduledUpdateGroupActionRequest.h:68
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetScheduledActionName
void SetScheduledActionName(Aws::String &&value)
Definition: ScheduledUpdateGroupActionRequest.h:63
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetRecurrence
const Aws::String & GetRecurrence() const
Definition: ScheduledUpdateGroupActionRequest.h:195
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetRecurrence
void SetRecurrence(Aws::String &&value)
Definition: ScheduledUpdateGroupActionRequest.h:234
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithTimeZone
ScheduledUpdateGroupActionRequest & WithTimeZone(const char *value)
Definition: ScheduledUpdateGroupActionRequest.h:434
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithScheduledActionName
ScheduledUpdateGroupActionRequest & WithScheduledActionName(Aws::String &&value)
Definition: ScheduledUpdateGroupActionRequest.h:78
DateTime.h
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetTimeZone
void SetTimeZone(const char *value)
Definition: ScheduledUpdateGroupActionRequest.h:404
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ScheduledUpdateGroupActionRequest.h:166
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::TimeZoneHasBeenSet
bool TimeZoneHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:374
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ScheduledUpdateGroupActionRequest.h:171
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithMaxSize
ScheduledUpdateGroupActionRequest & WithMaxSize(int value)
Definition: ScheduledUpdateGroupActionRequest.h:328
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetScheduledActionName
const Aws::String & GetScheduledActionName() const
Definition: ScheduledUpdateGroupActionRequest.h:48
AWSStreamFwd.h
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetRecurrence
void SetRecurrence(const Aws::String &value)
Definition: ScheduledUpdateGroupActionRequest.h:221
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithScheduledActionName
ScheduledUpdateGroupActionRequest & WithScheduledActionName(const Aws::String &value)
Definition: ScheduledUpdateGroupActionRequest.h:73
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetScheduledActionName
void SetScheduledActionName(const Aws::String &value)
Definition: ScheduledUpdateGroupActionRequest.h:58
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest
Definition: ScheduledUpdateGroupActionRequest.h:35
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::ScheduledUpdateGroupActionRequest
ScheduledUpdateGroupActionRequest()
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithScheduledActionName
ScheduledUpdateGroupActionRequest & WithScheduledActionName(const char *value)
Definition: ScheduledUpdateGroupActionRequest.h:83
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithTimeZone
ScheduledUpdateGroupActionRequest & WithTimeZone(const Aws::String &value)
Definition: ScheduledUpdateGroupActionRequest.h:414
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetMaxSize
void SetMaxSize(int value)
Definition: ScheduledUpdateGroupActionRequest.h:323
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ScheduledUpdateGroupActionRequest.h:156
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ScheduledUpdateGroupActionRequest.h:95
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::operator=
ScheduledUpdateGroupActionRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API
#define AWS_AUTOSCALING_API
Definition: AutoScaling_EXPORTS.h:28
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithMinSize
ScheduledUpdateGroupActionRequest & WithMinSize(int value)
Definition: ScheduledUpdateGroupActionRequest.h:307
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetMaxSize
int GetMaxSize() const
Definition: ScheduledUpdateGroupActionRequest.h:313
AWSString.h
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetRecurrence
void SetRecurrence(const char *value)
Definition: ScheduledUpdateGroupActionRequest.h:247
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithRecurrence
ScheduledUpdateGroupActionRequest & WithRecurrence(const char *value)
Definition: ScheduledUpdateGroupActionRequest.h:286
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithRecurrence
ScheduledUpdateGroupActionRequest & WithRecurrence(const Aws::String &value)
Definition: ScheduledUpdateGroupActionRequest.h:260
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithTimeZone
ScheduledUpdateGroupActionRequest & WithTimeZone(Aws::String &&value)
Definition: ScheduledUpdateGroupActionRequest.h:424
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::DesiredCapacityHasBeenSet
bool DesiredCapacityHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:341
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::MinSizeHasBeenSet
bool MinSizeHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:297
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetMinSize
int GetMinSize() const
Definition: ScheduledUpdateGroupActionRequest.h:292
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:106
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithEndTime
ScheduledUpdateGroupActionRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ScheduledUpdateGroupActionRequest.h:181
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetTimeZone
const Aws::String & GetTimeZone() const
Definition: ScheduledUpdateGroupActionRequest.h:364
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::ScheduledUpdateGroupActionRequest
ScheduledUpdateGroupActionRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithDesiredCapacity
ScheduledUpdateGroupActionRequest & WithDesiredCapacity(int value)
Definition: ScheduledUpdateGroupActionRequest.h:353
AutoScaling_EXPORTS.h
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::ScheduledActionNameHasBeenSet
bool ScheduledActionNameHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:53
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetTimeZone
void SetTimeZone(Aws::String &&value)
Definition: ScheduledUpdateGroupActionRequest.h:394
Aws
Definition: AccessManagementClient.h:15
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithRecurrence
ScheduledUpdateGroupActionRequest & WithRecurrence(Aws::String &&value)
Definition: ScheduledUpdateGroupActionRequest.h:273
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithStartTime
ScheduledUpdateGroupActionRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ScheduledUpdateGroupActionRequest.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:161
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduledUpdateGroupActionRequest.h:117
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithEndTime
ScheduledUpdateGroupActionRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ScheduledUpdateGroupActionRequest.h:176
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::SetTimeZone
void SetTimeZone(const Aws::String &value)
Definition: ScheduledUpdateGroupActionRequest.h:384
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::GetDesiredCapacity
int GetDesiredCapacity() const
Definition: ScheduledUpdateGroupActionRequest.h:335
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::RecurrenceHasBeenSet
bool RecurrenceHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:208
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::MaxSizeHasBeenSet
bool MaxSizeHasBeenSet() const
Definition: ScheduledUpdateGroupActionRequest.h:318
Aws::AutoScaling::Model::ScheduledUpdateGroupActionRequest::WithStartTime
ScheduledUpdateGroupActionRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ScheduledUpdateGroupActionRequest.h:139