7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-autoscaling/model/ServiceNamespace.h>
10#include <aws/application-autoscaling/model/ScalableDimension.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/application-autoscaling/model/ScalingActivityStatusCode.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/application-autoscaling/model/NotScaledReason.h>
27namespace ApplicationAutoScaling
54 inline void SetActivityId(
const char* value) { m_activityIdHasBeenSet =
true; m_activityId.assign(value); }
139 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
213 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
227 inline void SetCause(
const char* value) { m_causeHasBeenSet =
true; m_cause.assign(value); }
277 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
291 inline void SetDetails(
const char* value) { m_detailsHasBeenSet =
true; m_details.assign(value); }
316 bool m_activityIdHasBeenSet =
false;
319 bool m_serviceNamespaceHasBeenSet =
false;
322 bool m_resourceIdHasBeenSet =
false;
325 bool m_scalableDimensionHasBeenSet =
false;
328 bool m_descriptionHasBeenSet =
false;
331 bool m_causeHasBeenSet =
false;
334 bool m_startTimeHasBeenSet =
false;
337 bool m_endTimeHasBeenSet =
false;
340 bool m_statusCodeHasBeenSet =
false;
343 bool m_statusMessageHasBeenSet =
false;
346 bool m_detailsHasBeenSet =
false;
349 bool m_notScaledReasonsHasBeenSet =
false;
ScalingActivity & WithDetails(Aws::String &&value)
void SetActivityId(const Aws::String &value)
const Aws::String & GetDetails() const
void SetStatusMessage(const Aws::String &value)
ScalingActivity & WithStatusCode(ScalingActivityStatusCode &&value)
bool CauseHasBeenSet() const
const Aws::String & GetResourceId() const
void SetStatusMessage(const char *value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
ScalingActivity & WithStatusMessage(const char *value)
void SetCause(const char *value)
void SetDescription(const Aws::String &value)
bool StatusCodeHasBeenSet() const
void SetDetails(Aws::String &&value)
bool DetailsHasBeenSet() const
void SetCause(Aws::String &&value)
ScalingActivity & WithStartTime(Aws::Utils::DateTime &&value)
void SetNotScaledReasons(const Aws::Vector< NotScaledReason > &value)
const ServiceNamespace & GetServiceNamespace() const
void SetEndTime(const Aws::Utils::DateTime &value)
ScalingActivity & WithDescription(Aws::String &&value)
ScalingActivity & WithResourceId(const Aws::String &value)
const Aws::String & GetStatusMessage() const
ScalingActivity & WithServiceNamespace(const ServiceNamespace &value)
ScalingActivity & WithScalableDimension(ScalableDimension &&value)
ScalingActivity & WithResourceId(Aws::String &&value)
ScalingActivity & AddNotScaledReasons(NotScaledReason &&value)
void SetDetails(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
void SetDescription(Aws::String &&value)
const Aws::String & GetCause() const
ScalingActivity & WithCause(const Aws::String &value)
bool ServiceNamespaceHasBeenSet() const
ScalingActivity & WithEndTime(Aws::Utils::DateTime &&value)
bool EndTimeHasBeenSet() const
ScalingActivity & WithActivityId(const Aws::String &value)
void SetResourceId(const char *value)
ScalingActivity & WithServiceNamespace(ServiceNamespace &&value)
bool ActivityIdHasBeenSet() const
void SetScalableDimension(ScalableDimension &&value)
ScalingActivity & WithNotScaledReasons(Aws::Vector< NotScaledReason > &&value)
AWS_APPLICATIONAUTOSCALING_API ScalingActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
ScalingActivity & WithScalableDimension(const ScalableDimension &value)
ScalingActivity & WithNotScaledReasons(const Aws::Vector< NotScaledReason > &value)
void SetDetails(const char *value)
const ScalingActivityStatusCode & GetStatusCode() const
void SetStartTime(const Aws::Utils::DateTime &value)
ScalingActivity & WithStatusCode(const ScalingActivityStatusCode &value)
ScalingActivity & WithEndTime(const Aws::Utils::DateTime &value)
ScalingActivity & WithDetails(const Aws::String &value)
bool ScalableDimensionHasBeenSet() const
void SetNotScaledReasons(Aws::Vector< NotScaledReason > &&value)
ScalingActivity & WithCause(const char *value)
const Aws::Vector< NotScaledReason > & GetNotScaledReasons() const
void SetServiceNamespace(const ServiceNamespace &value)
bool StatusMessageHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
ScalingActivity & WithResourceId(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
ScalingActivity & WithDetails(const char *value)
AWS_APPLICATIONAUTOSCALING_API ScalingActivity(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
bool NotScaledReasonsHasBeenSet() const
void SetStatusCode(ScalingActivityStatusCode &&value)
void SetServiceNamespace(ServiceNamespace &&value)
AWS_APPLICATIONAUTOSCALING_API ScalingActivity()
ScalingActivity & WithDescription(const char *value)
void SetResourceId(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
bool StartTimeHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetEndTime() const
void SetScalableDimension(const ScalableDimension &value)
ScalingActivity & WithCause(Aws::String &&value)
bool ResourceIdHasBeenSet() const
const ScalableDimension & GetScalableDimension() const
ScalingActivity & AddNotScaledReasons(const NotScaledReason &value)
void SetCause(const Aws::String &value)
ScalingActivity & WithActivityId(Aws::String &&value)
void SetActivityId(const char *value)
ScalingActivity & WithStatusMessage(Aws::String &&value)
void SetResourceId(const Aws::String &value)
const Aws::String & GetActivityId() const
bool DescriptionHasBeenSet() const
void SetStatusCode(const ScalingActivityStatusCode &value)
ScalingActivity & WithActivityId(const char *value)
ScalingActivity & WithStatusMessage(const Aws::String &value)
void SetActivityId(Aws::String &&value)
ScalingActivity & WithDescription(const Aws::String &value)
ScalingActivity & WithStartTime(const Aws::Utils::DateTime &value)
ScalingActivityStatusCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue