7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-signals/model/EvaluationType.h>
10#include <aws/application-signals/model/ServiceLevelObjectiveBudgetStatus.h>
11#include <aws/application-signals/model/ServiceLevelIndicator.h>
12#include <aws/application-signals/model/RequestBasedServiceLevelIndicator.h>
13#include <aws/application-signals/model/Goal.h>
26namespace ApplicationSignals
53 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
54 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
68 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
120 inline void SetAttainment(
double value) { m_attainmentHasBeenSet =
true; m_attainment = value; }
131 inline void SetTotalBudgetSeconds(
int value) { m_totalBudgetSecondsHasBeenSet =
true; m_totalBudgetSeconds = value; }
207 inline void SetGoal(
const Goal& value) { m_goalHasBeenSet =
true; m_goal = value; }
208 inline void SetGoal(
Goal&& value) { m_goalHasBeenSet =
true; m_goal = std::move(value); }
215 bool m_arnHasBeenSet =
false;
218 bool m_nameHasBeenSet =
false;
221 bool m_evaluationTypeHasBeenSet =
false;
224 bool m_budgetStatusHasBeenSet =
false;
227 bool m_attainmentHasBeenSet =
false;
229 int m_totalBudgetSeconds;
230 bool m_totalBudgetSecondsHasBeenSet =
false;
232 int m_budgetSecondsRemaining;
233 bool m_budgetSecondsRemainingHasBeenSet =
false;
235 int m_totalBudgetRequests;
236 bool m_totalBudgetRequestsHasBeenSet =
false;
238 int m_budgetRequestsRemaining;
239 bool m_budgetRequestsRemainingHasBeenSet =
false;
242 bool m_sliHasBeenSet =
false;
245 bool m_requestBasedSliHasBeenSet =
false;
248 bool m_goalHasBeenSet =
false;
ServiceLevelObjectiveBudgetReport & WithEvaluationType(const EvaluationType &value)
ServiceLevelObjectiveBudgetReport & WithArn(const char *value)
const ServiceLevelIndicator & GetSli() const
void SetBudgetStatus(const ServiceLevelObjectiveBudgetStatus &value)
ServiceLevelObjectiveBudgetReport & WithArn(const Aws::String &value)
void SetBudgetSecondsRemaining(int value)
void SetBudgetStatus(ServiceLevelObjectiveBudgetStatus &&value)
void SetName(const char *value)
int GetBudgetSecondsRemaining() const
bool AttainmentHasBeenSet() const
bool NameHasBeenSet() const
bool GoalHasBeenSet() const
ServiceLevelObjectiveBudgetReport & WithBudgetRequestsRemaining(int value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveBudgetReport()
bool BudgetSecondsRemainingHasBeenSet() const
ServiceLevelObjectiveBudgetReport & WithBudgetStatus(ServiceLevelObjectiveBudgetStatus &&value)
bool TotalBudgetSecondsHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveBudgetReport(Aws::Utils::Json::JsonView jsonValue)
int GetTotalBudgetRequests() const
ServiceLevelObjectiveBudgetReport & WithBudgetStatus(const ServiceLevelObjectiveBudgetStatus &value)
ServiceLevelObjectiveBudgetReport & WithName(Aws::String &&value)
void SetEvaluationType(EvaluationType &&value)
void SetSli(ServiceLevelIndicator &&value)
void SetRequestBasedSli(const RequestBasedServiceLevelIndicator &value)
ServiceLevelObjectiveBudgetReport & WithName(const Aws::String &value)
bool BudgetRequestsRemainingHasBeenSet() const
void SetRequestBasedSli(RequestBasedServiceLevelIndicator &&value)
void SetGoal(const Goal &value)
void SetName(Aws::String &&value)
bool RequestBasedSliHasBeenSet() const
int GetTotalBudgetSeconds() const
bool SliHasBeenSet() const
void SetArn(const Aws::String &value)
bool ArnHasBeenSet() const
void SetAttainment(double value)
const Goal & GetGoal() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceLevelObjectiveBudgetReport & WithName(const char *value)
void SetTotalBudgetSeconds(int value)
const Aws::String & GetArn() const
ServiceLevelObjectiveBudgetReport & WithTotalBudgetRequests(int value)
ServiceLevelObjectiveBudgetReport & WithSli(const ServiceLevelIndicator &value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveBudgetReport & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelObjectiveBudgetReport & WithAttainment(double value)
void SetTotalBudgetRequests(int value)
void SetGoal(Goal &&value)
ServiceLevelObjectiveBudgetReport & WithGoal(Goal &&value)
ServiceLevelObjectiveBudgetReport & WithTotalBudgetSeconds(int value)
ServiceLevelObjectiveBudgetReport & WithBudgetSecondsRemaining(int value)
ServiceLevelObjectiveBudgetReport & WithSli(ServiceLevelIndicator &&value)
const Aws::String & GetName() const
ServiceLevelObjectiveBudgetReport & WithArn(Aws::String &&value)
ServiceLevelObjectiveBudgetReport & WithEvaluationType(EvaluationType &&value)
int GetBudgetRequestsRemaining() const
bool TotalBudgetRequestsHasBeenSet() const
void SetSli(const ServiceLevelIndicator &value)
ServiceLevelObjectiveBudgetReport & WithRequestBasedSli(const RequestBasedServiceLevelIndicator &value)
void SetArn(const char *value)
ServiceLevelObjectiveBudgetReport & WithRequestBasedSli(RequestBasedServiceLevelIndicator &&value)
void SetName(const Aws::String &value)
void SetArn(Aws::String &&value)
ServiceLevelObjectiveBudgetReport & WithGoal(const Goal &value)
bool EvaluationTypeHasBeenSet() const
double GetAttainment() const
const ServiceLevelObjectiveBudgetStatus & GetBudgetStatus() const
bool BudgetStatusHasBeenSet() const
const RequestBasedServiceLevelIndicator & GetRequestBasedSli() const
const EvaluationType & GetEvaluationType() const
void SetBudgetRequestsRemaining(int value)
void SetEvaluationType(const EvaluationType &value)
ServiceLevelObjectiveBudgetStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue