7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/autoscaling-plans/model/ApplicationSource.h>
9#include <aws/autoscaling-plans/model/ScalingInstruction.h>
10#include <aws/autoscaling-plans/model/ScalingPlanStatusCode.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace AutoScalingPlans {
45 template <
typename ScalingPlanNameT = Aws::String>
47 m_scalingPlanNameHasBeenSet =
true;
48 m_scalingPlanName = std::forward<ScalingPlanNameT>(value);
50 template <
typename ScalingPlanNameT = Aws::String>
64 m_scalingPlanVersionHasBeenSet =
true;
65 m_scalingPlanVersion = value;
80 template <
typename ApplicationSourceT = ApplicationSource>
82 m_applicationSourceHasBeenSet =
true;
83 m_applicationSource = std::forward<ApplicationSourceT>(value);
85 template <
typename ApplicationSourceT = ApplicationSource>
98 template <
typename ScalingInstructionsT = Aws::Vector<ScalingInstruction>>
100 m_scalingInstructionsHasBeenSet =
true;
101 m_scalingInstructions = std::forward<ScalingInstructionsT>(value);
103 template <
typename ScalingInstructionsT = Aws::Vector<ScalingInstruction>>
108 template <
typename ScalingInstructionsT = ScalingInstruction>
110 m_scalingInstructionsHasBeenSet =
true;
111 m_scalingInstructions.emplace_back(std::forward<ScalingInstructionsT>(value));
133 m_statusCodeHasBeenSet =
true;
134 m_statusCode = value;
148 template <
typename StatusMessageT = Aws::String>
150 m_statusMessageHasBeenSet =
true;
151 m_statusMessage = std::forward<StatusMessageT>(value);
153 template <
typename StatusMessageT = Aws::String>
166 template <
typename StatusStartTimeT = Aws::Utils::DateTime>
168 m_statusStartTimeHasBeenSet =
true;
169 m_statusStartTime = std::forward<StatusStartTimeT>(value);
171 template <
typename StatusStartTimeT = Aws::Utils::DateTime>
184 template <
typename CreationTimeT = Aws::Utils::DateTime>
186 m_creationTimeHasBeenSet =
true;
187 m_creationTime = std::forward<CreationTimeT>(value);
189 template <
typename CreationTimeT = Aws::Utils::DateTime>
198 long long m_scalingPlanVersion{0};
200 ApplicationSource m_applicationSource;
211 bool m_scalingPlanNameHasBeenSet =
false;
212 bool m_scalingPlanVersionHasBeenSet =
false;
213 bool m_applicationSourceHasBeenSet =
false;
214 bool m_scalingInstructionsHasBeenSet =
false;
215 bool m_statusCodeHasBeenSet =
false;
216 bool m_statusMessageHasBeenSet =
false;
217 bool m_statusStartTimeHasBeenSet =
false;
218 bool m_creationTimeHasBeenSet =
false;
bool ScalingPlanVersionHasBeenSet() const
const Aws::Utils::DateTime & GetCreationTime() const
ScalingPlan & WithStatusCode(ScalingPlanStatusCode value)
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingPlan & WithScalingInstructions(ScalingInstructionsT &&value)
ScalingPlan & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetStatusMessage() const
AWS_AUTOSCALINGPLANS_API ScalingPlan()=default
bool StatusCodeHasBeenSet() const
AWS_AUTOSCALINGPLANS_API ScalingPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
const ApplicationSource & GetApplicationSource() const
void SetScalingPlanName(ScalingPlanNameT &&value)
bool ApplicationSourceHasBeenSet() const
void SetApplicationSource(ApplicationSourceT &&value)
void SetScalingPlanVersion(long long value)
const Aws::Utils::DateTime & GetStatusStartTime() const
AWS_AUTOSCALINGPLANS_API ScalingPlan(Aws::Utils::Json::JsonView jsonValue)
void SetStatusMessage(StatusMessageT &&value)
void SetStatusCode(ScalingPlanStatusCode value)
ScalingPlan & WithScalingPlanName(ScalingPlanNameT &&value)
bool ScalingInstructionsHasBeenSet() const
const Aws::Vector< ScalingInstruction > & GetScalingInstructions() const
const Aws::String & GetScalingPlanName() const
ScalingPlan & WithScalingPlanVersion(long long value)
ScalingPlanStatusCode GetStatusCode() const
void SetScalingInstructions(ScalingInstructionsT &&value)
long long GetScalingPlanVersion() const
ScalingPlan & WithStatusMessage(StatusMessageT &&value)
void SetStatusStartTime(StatusStartTimeT &&value)
bool CreationTimeHasBeenSet() const
ScalingPlan & WithApplicationSource(ApplicationSourceT &&value)
bool StatusStartTimeHasBeenSet() const
bool StatusMessageHasBeenSet() const
ScalingPlan & WithStatusStartTime(StatusStartTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
ScalingPlan & AddScalingInstructions(ScalingInstructionsT &&value)
bool ScalingPlanNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue