7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/application-signals/model/ServiceLevelIndicator.h>
11#include <aws/application-signals/model/RequestBasedServiceLevelIndicator.h>
12#include <aws/application-signals/model/EvaluationType.h>
13#include <aws/application-signals/model/Goal.h>
26namespace ApplicationSignals
59 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
60 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
74 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
88 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
164 inline void SetGoal(
const Goal& value) { m_goalHasBeenSet =
true; m_goal = value; }
165 inline void SetGoal(
Goal&& value) { m_goalHasBeenSet =
true; m_goal = std::move(value); }
172 bool m_arnHasBeenSet =
false;
175 bool m_nameHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_createdTimeHasBeenSet =
false;
184 bool m_lastUpdatedTimeHasBeenSet =
false;
187 bool m_sliHasBeenSet =
false;
190 bool m_requestBasedSliHasBeenSet =
false;
193 bool m_evaluationTypeHasBeenSet =
false;
196 bool m_goalHasBeenSet =
false;
void SetRequestBasedSli(RequestBasedServiceLevelIndicator &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjective(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelObjective & WithName(const char *value)
void SetName(const Aws::String &value)
void SetArn(Aws::String &&value)
const ServiceLevelIndicator & GetSli() const
ServiceLevelObjective & WithGoal(Goal &&value)
void SetArn(const char *value)
void SetGoal(const Goal &value)
const Aws::String & GetName() const
ServiceLevelObjective & WithDescription(const Aws::String &value)
ServiceLevelObjective & WithSli(const ServiceLevelIndicator &value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjective & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedTime() const
ServiceLevelObjective & WithName(const Aws::String &value)
void SetEvaluationType(const EvaluationType &value)
ServiceLevelObjective & WithName(Aws::String &&value)
void SetSli(const ServiceLevelIndicator &value)
bool CreatedTimeHasBeenSet() const
ServiceLevelObjective & WithDescription(Aws::String &&value)
bool EvaluationTypeHasBeenSet() const
ServiceLevelObjective & WithGoal(const Goal &value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
ServiceLevelObjective & WithEvaluationType(const EvaluationType &value)
void SetRequestBasedSli(const RequestBasedServiceLevelIndicator &value)
bool DescriptionHasBeenSet() const
ServiceLevelObjective & WithArn(const char *value)
const RequestBasedServiceLevelIndicator & GetRequestBasedSli() const
bool SliHasBeenSet() const
void SetDescription(const Aws::String &value)
ServiceLevelObjective & WithRequestBasedSli(RequestBasedServiceLevelIndicator &&value)
ServiceLevelObjective & WithEvaluationType(EvaluationType &&value)
ServiceLevelObjective & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
void SetSli(ServiceLevelIndicator &&value)
bool LastUpdatedTimeHasBeenSet() const
void SetEvaluationType(EvaluationType &&value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
ServiceLevelObjective & WithCreatedTime(Aws::Utils::DateTime &&value)
bool GoalHasBeenSet() const
void SetArn(const Aws::String &value)
ServiceLevelObjective & WithDescription(const char *value)
ServiceLevelObjective & WithRequestBasedSli(const RequestBasedServiceLevelIndicator &value)
ServiceLevelObjective & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjective()
const Aws::String & GetArn() const
void SetDescription(Aws::String &&value)
void SetDescription(const char *value)
ServiceLevelObjective & WithCreatedTime(const Aws::Utils::DateTime &value)
ServiceLevelObjective & WithArn(const Aws::String &value)
ServiceLevelObjective & WithArn(Aws::String &&value)
void SetGoal(Goal &&value)
const EvaluationType & GetEvaluationType() const
bool RequestBasedSliHasBeenSet() const
void SetName(const char *value)
const Aws::String & GetDescription() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
ServiceLevelObjective & WithSli(ServiceLevelIndicator &&value)
void SetName(Aws::String &&value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Goal & GetGoal() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue