7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/autoscaling-plans/model/ApplicationSource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/autoscaling-plans/model/ScalingPlanStatusCode.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/autoscaling-plans/model/ScalingInstruction.h>
26namespace AutoScalingPlans
51 template<
typename ScalingPlanNameT = Aws::String>
52 void SetScalingPlanName(ScalingPlanNameT&& value) { m_scalingPlanNameHasBeenSet =
true; m_scalingPlanName = std::forward<ScalingPlanNameT>(value); }
53 template<
typename ScalingPlanNameT = Aws::String>
63 inline void SetScalingPlanVersion(
long long value) { m_scalingPlanVersionHasBeenSet =
true; m_scalingPlanVersion = value; }
74 template<
typename ApplicationSourceT = ApplicationSource>
75 void SetApplicationSource(ApplicationSourceT&& value) { m_applicationSourceHasBeenSet =
true; m_applicationSource = std::forward<ApplicationSourceT>(value); }
76 template<
typename ApplicationSourceT = ApplicationSource>
86 template<
typename ScalingInstructionsT = Aws::Vector<ScalingInstruction>>
87 void SetScalingInstructions(ScalingInstructionsT&& value) { m_scalingInstructionsHasBeenSet =
true; m_scalingInstructions = std::forward<ScalingInstructionsT>(value); }
88 template<
typename ScalingInstructionsT = Aws::Vector<ScalingInstruction>>
90 template<
typename ScalingInstructionsT = ScalingInstruction>
91 ScalingPlan&
AddScalingInstructions(ScalingInstructionsT&& value) { m_scalingInstructionsHasBeenSet =
true; m_scalingInstructions.emplace_back(std::forward<ScalingInstructionsT>(value));
return *
this; }
120 template<
typename StatusMessageT = Aws::String>
121 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
122 template<
typename StatusMessageT = Aws::String>
132 template<
typename StatusStartTimeT = Aws::Utils::DateTime>
133 void SetStatusStartTime(StatusStartTimeT&& value) { m_statusStartTimeHasBeenSet =
true; m_statusStartTime = std::forward<StatusStartTimeT>(value); }
134 template<
typename StatusStartTimeT = Aws::Utils::DateTime>
144 template<
typename CreationTimeT = Aws::Utils::DateTime>
145 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
146 template<
typename CreationTimeT = Aws::Utils::DateTime>
152 bool m_scalingPlanNameHasBeenSet =
false;
154 long long m_scalingPlanVersion{0};
155 bool m_scalingPlanVersionHasBeenSet =
false;
157 ApplicationSource m_applicationSource;
158 bool m_applicationSourceHasBeenSet =
false;
161 bool m_scalingInstructionsHasBeenSet =
false;
164 bool m_statusCodeHasBeenSet =
false;
167 bool m_statusMessageHasBeenSet =
false;
170 bool m_statusStartTimeHasBeenSet =
false;
173 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