AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WeeklyAutoScalingSchedule.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace OpsWorks
23{
24namespace Model
25{
26
44 {
45 public:
46 AWS_OPSWORKS_API WeeklyAutoScalingSchedule();
49 AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::Map<Aws::String, Aws::String>& GetMonday() const{ return m_monday; }
57 inline bool MondayHasBeenSet() const { return m_mondayHasBeenSet; }
58 inline void SetMonday(const Aws::Map<Aws::String, Aws::String>& value) { m_mondayHasBeenSet = true; m_monday = value; }
59 inline void SetMonday(Aws::Map<Aws::String, Aws::String>&& value) { m_mondayHasBeenSet = true; m_monday = std::move(value); }
61 inline WeeklyAutoScalingSchedule& WithMonday(Aws::Map<Aws::String, Aws::String>&& value) { SetMonday(std::move(value)); return *this;}
62 inline WeeklyAutoScalingSchedule& AddMonday(const Aws::String& key, const Aws::String& value) { m_mondayHasBeenSet = true; m_monday.emplace(key, value); return *this; }
63 inline WeeklyAutoScalingSchedule& AddMonday(Aws::String&& key, const Aws::String& value) { m_mondayHasBeenSet = true; m_monday.emplace(std::move(key), value); return *this; }
64 inline WeeklyAutoScalingSchedule& AddMonday(const Aws::String& key, Aws::String&& value) { m_mondayHasBeenSet = true; m_monday.emplace(key, std::move(value)); return *this; }
65 inline WeeklyAutoScalingSchedule& AddMonday(Aws::String&& key, Aws::String&& value) { m_mondayHasBeenSet = true; m_monday.emplace(std::move(key), std::move(value)); return *this; }
66 inline WeeklyAutoScalingSchedule& AddMonday(const char* key, Aws::String&& value) { m_mondayHasBeenSet = true; m_monday.emplace(key, std::move(value)); return *this; }
67 inline WeeklyAutoScalingSchedule& AddMonday(Aws::String&& key, const char* value) { m_mondayHasBeenSet = true; m_monday.emplace(std::move(key), value); return *this; }
68 inline WeeklyAutoScalingSchedule& AddMonday(const char* key, const char* value) { m_mondayHasBeenSet = true; m_monday.emplace(key, value); return *this; }
70
72
75 inline const Aws::Map<Aws::String, Aws::String>& GetTuesday() const{ return m_tuesday; }
76 inline bool TuesdayHasBeenSet() const { return m_tuesdayHasBeenSet; }
77 inline void SetTuesday(const Aws::Map<Aws::String, Aws::String>& value) { m_tuesdayHasBeenSet = true; m_tuesday = value; }
78 inline void SetTuesday(Aws::Map<Aws::String, Aws::String>&& value) { m_tuesdayHasBeenSet = true; m_tuesday = std::move(value); }
80 inline WeeklyAutoScalingSchedule& WithTuesday(Aws::Map<Aws::String, Aws::String>&& value) { SetTuesday(std::move(value)); return *this;}
81 inline WeeklyAutoScalingSchedule& AddTuesday(const Aws::String& key, const Aws::String& value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(key, value); return *this; }
82 inline WeeklyAutoScalingSchedule& AddTuesday(Aws::String&& key, const Aws::String& value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(std::move(key), value); return *this; }
83 inline WeeklyAutoScalingSchedule& AddTuesday(const Aws::String& key, Aws::String&& value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(key, std::move(value)); return *this; }
84 inline WeeklyAutoScalingSchedule& AddTuesday(Aws::String&& key, Aws::String&& value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(std::move(key), std::move(value)); return *this; }
85 inline WeeklyAutoScalingSchedule& AddTuesday(const char* key, Aws::String&& value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(key, std::move(value)); return *this; }
86 inline WeeklyAutoScalingSchedule& AddTuesday(Aws::String&& key, const char* value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(std::move(key), value); return *this; }
87 inline WeeklyAutoScalingSchedule& AddTuesday(const char* key, const char* value) { m_tuesdayHasBeenSet = true; m_tuesday.emplace(key, value); return *this; }
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetWednesday() const{ return m_wednesday; }
95 inline bool WednesdayHasBeenSet() const { return m_wednesdayHasBeenSet; }
96 inline void SetWednesday(const Aws::Map<Aws::String, Aws::String>& value) { m_wednesdayHasBeenSet = true; m_wednesday = value; }
97 inline void SetWednesday(Aws::Map<Aws::String, Aws::String>&& value) { m_wednesdayHasBeenSet = true; m_wednesday = std::move(value); }
100 inline WeeklyAutoScalingSchedule& AddWednesday(const Aws::String& key, const Aws::String& value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(key, value); return *this; }
101 inline WeeklyAutoScalingSchedule& AddWednesday(Aws::String&& key, const Aws::String& value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(std::move(key), value); return *this; }
102 inline WeeklyAutoScalingSchedule& AddWednesday(const Aws::String& key, Aws::String&& value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(key, std::move(value)); return *this; }
103 inline WeeklyAutoScalingSchedule& AddWednesday(Aws::String&& key, Aws::String&& value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(std::move(key), std::move(value)); return *this; }
104 inline WeeklyAutoScalingSchedule& AddWednesday(const char* key, Aws::String&& value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(key, std::move(value)); return *this; }
105 inline WeeklyAutoScalingSchedule& AddWednesday(Aws::String&& key, const char* value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(std::move(key), value); return *this; }
106 inline WeeklyAutoScalingSchedule& AddWednesday(const char* key, const char* value) { m_wednesdayHasBeenSet = true; m_wednesday.emplace(key, value); return *this; }
108
110
113 inline const Aws::Map<Aws::String, Aws::String>& GetThursday() const{ return m_thursday; }
114 inline bool ThursdayHasBeenSet() const { return m_thursdayHasBeenSet; }
115 inline void SetThursday(const Aws::Map<Aws::String, Aws::String>& value) { m_thursdayHasBeenSet = true; m_thursday = value; }
116 inline void SetThursday(Aws::Map<Aws::String, Aws::String>&& value) { m_thursdayHasBeenSet = true; m_thursday = std::move(value); }
119 inline WeeklyAutoScalingSchedule& AddThursday(const Aws::String& key, const Aws::String& value) { m_thursdayHasBeenSet = true; m_thursday.emplace(key, value); return *this; }
120 inline WeeklyAutoScalingSchedule& AddThursday(Aws::String&& key, const Aws::String& value) { m_thursdayHasBeenSet = true; m_thursday.emplace(std::move(key), value); return *this; }
121 inline WeeklyAutoScalingSchedule& AddThursday(const Aws::String& key, Aws::String&& value) { m_thursdayHasBeenSet = true; m_thursday.emplace(key, std::move(value)); return *this; }
122 inline WeeklyAutoScalingSchedule& AddThursday(Aws::String&& key, Aws::String&& value) { m_thursdayHasBeenSet = true; m_thursday.emplace(std::move(key), std::move(value)); return *this; }
123 inline WeeklyAutoScalingSchedule& AddThursday(const char* key, Aws::String&& value) { m_thursdayHasBeenSet = true; m_thursday.emplace(key, std::move(value)); return *this; }
124 inline WeeklyAutoScalingSchedule& AddThursday(Aws::String&& key, const char* value) { m_thursdayHasBeenSet = true; m_thursday.emplace(std::move(key), value); return *this; }
125 inline WeeklyAutoScalingSchedule& AddThursday(const char* key, const char* value) { m_thursdayHasBeenSet = true; m_thursday.emplace(key, value); return *this; }
127
129
132 inline const Aws::Map<Aws::String, Aws::String>& GetFriday() const{ return m_friday; }
133 inline bool FridayHasBeenSet() const { return m_fridayHasBeenSet; }
134 inline void SetFriday(const Aws::Map<Aws::String, Aws::String>& value) { m_fridayHasBeenSet = true; m_friday = value; }
135 inline void SetFriday(Aws::Map<Aws::String, Aws::String>&& value) { m_fridayHasBeenSet = true; m_friday = std::move(value); }
137 inline WeeklyAutoScalingSchedule& WithFriday(Aws::Map<Aws::String, Aws::String>&& value) { SetFriday(std::move(value)); return *this;}
138 inline WeeklyAutoScalingSchedule& AddFriday(const Aws::String& key, const Aws::String& value) { m_fridayHasBeenSet = true; m_friday.emplace(key, value); return *this; }
139 inline WeeklyAutoScalingSchedule& AddFriday(Aws::String&& key, const Aws::String& value) { m_fridayHasBeenSet = true; m_friday.emplace(std::move(key), value); return *this; }
140 inline WeeklyAutoScalingSchedule& AddFriday(const Aws::String& key, Aws::String&& value) { m_fridayHasBeenSet = true; m_friday.emplace(key, std::move(value)); return *this; }
141 inline WeeklyAutoScalingSchedule& AddFriday(Aws::String&& key, Aws::String&& value) { m_fridayHasBeenSet = true; m_friday.emplace(std::move(key), std::move(value)); return *this; }
142 inline WeeklyAutoScalingSchedule& AddFriday(const char* key, Aws::String&& value) { m_fridayHasBeenSet = true; m_friday.emplace(key, std::move(value)); return *this; }
143 inline WeeklyAutoScalingSchedule& AddFriday(Aws::String&& key, const char* value) { m_fridayHasBeenSet = true; m_friday.emplace(std::move(key), value); return *this; }
144 inline WeeklyAutoScalingSchedule& AddFriday(const char* key, const char* value) { m_fridayHasBeenSet = true; m_friday.emplace(key, value); return *this; }
146
148
151 inline const Aws::Map<Aws::String, Aws::String>& GetSaturday() const{ return m_saturday; }
152 inline bool SaturdayHasBeenSet() const { return m_saturdayHasBeenSet; }
153 inline void SetSaturday(const Aws::Map<Aws::String, Aws::String>& value) { m_saturdayHasBeenSet = true; m_saturday = value; }
154 inline void SetSaturday(Aws::Map<Aws::String, Aws::String>&& value) { m_saturdayHasBeenSet = true; m_saturday = std::move(value); }
157 inline WeeklyAutoScalingSchedule& AddSaturday(const Aws::String& key, const Aws::String& value) { m_saturdayHasBeenSet = true; m_saturday.emplace(key, value); return *this; }
158 inline WeeklyAutoScalingSchedule& AddSaturday(Aws::String&& key, const Aws::String& value) { m_saturdayHasBeenSet = true; m_saturday.emplace(std::move(key), value); return *this; }
159 inline WeeklyAutoScalingSchedule& AddSaturday(const Aws::String& key, Aws::String&& value) { m_saturdayHasBeenSet = true; m_saturday.emplace(key, std::move(value)); return *this; }
160 inline WeeklyAutoScalingSchedule& AddSaturday(Aws::String&& key, Aws::String&& value) { m_saturdayHasBeenSet = true; m_saturday.emplace(std::move(key), std::move(value)); return *this; }
161 inline WeeklyAutoScalingSchedule& AddSaturday(const char* key, Aws::String&& value) { m_saturdayHasBeenSet = true; m_saturday.emplace(key, std::move(value)); return *this; }
162 inline WeeklyAutoScalingSchedule& AddSaturday(Aws::String&& key, const char* value) { m_saturdayHasBeenSet = true; m_saturday.emplace(std::move(key), value); return *this; }
163 inline WeeklyAutoScalingSchedule& AddSaturday(const char* key, const char* value) { m_saturdayHasBeenSet = true; m_saturday.emplace(key, value); return *this; }
165
167
170 inline const Aws::Map<Aws::String, Aws::String>& GetSunday() const{ return m_sunday; }
171 inline bool SundayHasBeenSet() const { return m_sundayHasBeenSet; }
172 inline void SetSunday(const Aws::Map<Aws::String, Aws::String>& value) { m_sundayHasBeenSet = true; m_sunday = value; }
173 inline void SetSunday(Aws::Map<Aws::String, Aws::String>&& value) { m_sundayHasBeenSet = true; m_sunday = std::move(value); }
175 inline WeeklyAutoScalingSchedule& WithSunday(Aws::Map<Aws::String, Aws::String>&& value) { SetSunday(std::move(value)); return *this;}
176 inline WeeklyAutoScalingSchedule& AddSunday(const Aws::String& key, const Aws::String& value) { m_sundayHasBeenSet = true; m_sunday.emplace(key, value); return *this; }
177 inline WeeklyAutoScalingSchedule& AddSunday(Aws::String&& key, const Aws::String& value) { m_sundayHasBeenSet = true; m_sunday.emplace(std::move(key), value); return *this; }
178 inline WeeklyAutoScalingSchedule& AddSunday(const Aws::String& key, Aws::String&& value) { m_sundayHasBeenSet = true; m_sunday.emplace(key, std::move(value)); return *this; }
179 inline WeeklyAutoScalingSchedule& AddSunday(Aws::String&& key, Aws::String&& value) { m_sundayHasBeenSet = true; m_sunday.emplace(std::move(key), std::move(value)); return *this; }
180 inline WeeklyAutoScalingSchedule& AddSunday(const char* key, Aws::String&& value) { m_sundayHasBeenSet = true; m_sunday.emplace(key, std::move(value)); return *this; }
181 inline WeeklyAutoScalingSchedule& AddSunday(Aws::String&& key, const char* value) { m_sundayHasBeenSet = true; m_sunday.emplace(std::move(key), value); return *this; }
182 inline WeeklyAutoScalingSchedule& AddSunday(const char* key, const char* value) { m_sundayHasBeenSet = true; m_sunday.emplace(key, value); return *this; }
184 private:
185
187 bool m_mondayHasBeenSet = false;
188
190 bool m_tuesdayHasBeenSet = false;
191
193 bool m_wednesdayHasBeenSet = false;
194
196 bool m_thursdayHasBeenSet = false;
197
199 bool m_fridayHasBeenSet = false;
200
202 bool m_saturdayHasBeenSet = false;
203
205 bool m_sundayHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace OpsWorks
210} // namespace Aws
void SetSaturday(Aws::Map< Aws::String, Aws::String > &&value)
AWS_OPSWORKS_API WeeklyAutoScalingSchedule(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetMonday() const
WeeklyAutoScalingSchedule & WithSunday(const Aws::Map< Aws::String, Aws::String > &value)
void SetMonday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddMonday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddMonday(Aws::String &&key, const char *value)
void SetFriday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddSaturday(const char *key, Aws::String &&value)
WeeklyAutoScalingSchedule & WithSaturday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddFriday(const char *key, const char *value)
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTuesday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddWednesday(const char *key, Aws::String &&value)
WeeklyAutoScalingSchedule & WithTuesday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddFriday(Aws::String &&key, Aws::String &&value)
void SetFriday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddTuesday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddThursday(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTuesday() const
WeeklyAutoScalingSchedule & AddThursday(const Aws::String &key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddSaturday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddFriday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddWednesday(const char *key, const char *value)
WeeklyAutoScalingSchedule & AddWednesday(const Aws::String &key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddSaturday(const Aws::String &key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddTuesday(Aws::String &&key, const char *value)
WeeklyAutoScalingSchedule & AddWednesday(Aws::String &&key, const char *value)
WeeklyAutoScalingSchedule & AddFriday(Aws::String &&key, const char *value)
WeeklyAutoScalingSchedule & AddSunday(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetFriday() const
WeeklyAutoScalingSchedule & WithFriday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & WithSaturday(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetThursday() const
WeeklyAutoScalingSchedule & AddThursday(const char *key, const char *value)
WeeklyAutoScalingSchedule & AddWednesday(Aws::String &&key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddSunday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & WithMonday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddFriday(const Aws::String &key, Aws::String &&value)
WeeklyAutoScalingSchedule & WithWednesday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & WithThursday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddThursday(Aws::String &&key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddMonday(Aws::String &&key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddSunday(Aws::String &&key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddSaturday(Aws::String &&key, const char *value)
WeeklyAutoScalingSchedule & AddSaturday(const Aws::String &key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddWednesday(const Aws::String &key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddMonday(const Aws::String &key, Aws::String &&value)
void SetSunday(Aws::Map< Aws::String, Aws::String > &&value)
void SetMonday(Aws::Map< Aws::String, Aws::String > &&value)
void SetTuesday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddWednesday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddMonday(const Aws::String &key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddFriday(const char *key, Aws::String &&value)
WeeklyAutoScalingSchedule & WithFriday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddSaturday(const char *key, const char *value)
WeeklyAutoScalingSchedule & AddTuesday(Aws::String &&key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddThursday(const Aws::String &key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddSaturday(Aws::String &&key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddMonday(const char *key, Aws::String &&value)
WeeklyAutoScalingSchedule & WithMonday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddThursday(Aws::String &&key, const Aws::String &value)
WeeklyAutoScalingSchedule & WithSunday(Aws::Map< Aws::String, Aws::String > &&value)
void SetThursday(Aws::Map< Aws::String, Aws::String > &&value)
void SetWednesday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddTuesday(const Aws::String &key, const Aws::String &value)
WeeklyAutoScalingSchedule & WithWednesday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & WithTuesday(Aws::Map< Aws::String, Aws::String > &&value)
WeeklyAutoScalingSchedule & AddTuesday(const Aws::String &key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddSunday(const Aws::String &key, const Aws::String &value)
WeeklyAutoScalingSchedule & AddMonday(const char *key, const char *value)
void SetWednesday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddSunday(const Aws::String &key, Aws::String &&value)
AWS_OPSWORKS_API WeeklyAutoScalingSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetSunday() const
const Aws::Map< Aws::String, Aws::String > & GetWednesday() const
void SetThursday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddTuesday(const char *key, Aws::String &&value)
void SetSaturday(const Aws::Map< Aws::String, Aws::String > &value)
void SetSunday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddTuesday(const char *key, const char *value)
WeeklyAutoScalingSchedule & WithThursday(const Aws::Map< Aws::String, Aws::String > &value)
WeeklyAutoScalingSchedule & AddThursday(Aws::String &&key, const char *value)
WeeklyAutoScalingSchedule & AddSunday(const char *key, Aws::String &&value)
WeeklyAutoScalingSchedule & AddFriday(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetSaturday() const
WeeklyAutoScalingSchedule & AddSunday(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue