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
52 template<
typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
54 template<
typename ArnT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
112 inline void SetAttainment(
double value) { m_attainmentHasBeenSet =
true; m_attainment = value; }
123 inline void SetTotalBudgetSeconds(
int value) { m_totalBudgetSecondsHasBeenSet =
true; m_totalBudgetSeconds = value; }
179 template<
typename SliT = ServiceLevelIndicator>
180 void SetSli(SliT&& value) { m_sliHasBeenSet =
true; m_sli = std::forward<SliT>(value); }
181 template<
typename SliT = ServiceLevelIndicator>
189 template<
typename RequestBasedSliT = RequestBasedServiceLevelIndicator>
190 void SetRequestBasedSli(RequestBasedSliT&& value) { m_requestBasedSliHasBeenSet =
true; m_requestBasedSli = std::forward<RequestBasedSliT>(value); }
191 template<
typename RequestBasedSliT = RequestBasedServiceLevelIndicator>
199 template<
typename GoalT = Goal>
200 void SetGoal(GoalT&& value) { m_goalHasBeenSet =
true; m_goal = std::forward<GoalT>(value); }
201 template<
typename GoalT = Goal>
207 bool m_arnHasBeenSet =
false;
210 bool m_nameHasBeenSet =
false;
213 bool m_evaluationTypeHasBeenSet =
false;
216 bool m_budgetStatusHasBeenSet =
false;
218 double m_attainment{0.0};
219 bool m_attainmentHasBeenSet =
false;
221 int m_totalBudgetSeconds{0};
222 bool m_totalBudgetSecondsHasBeenSet =
false;
224 int m_budgetSecondsRemaining{0};
225 bool m_budgetSecondsRemainingHasBeenSet =
false;
227 int m_totalBudgetRequests{0};
228 bool m_totalBudgetRequestsHasBeenSet =
false;
230 int m_budgetRequestsRemaining{0};
231 bool m_budgetRequestsRemainingHasBeenSet =
false;
233 ServiceLevelIndicator m_sli;
234 bool m_sliHasBeenSet =
false;
236 RequestBasedServiceLevelIndicator m_requestBasedSli;
237 bool m_requestBasedSliHasBeenSet =
false;
240 bool m_goalHasBeenSet =
false;
const ServiceLevelIndicator & GetSli() const
void SetBudgetSecondsRemaining(int value)
void SetSli(SliT &&value)
int GetBudgetSecondsRemaining() const
EvaluationType GetEvaluationType() const
bool AttainmentHasBeenSet() const
bool NameHasBeenSet() const
bool GoalHasBeenSet() const
ServiceLevelObjectiveBudgetReport & WithBudgetRequestsRemaining(int value)
bool BudgetSecondsRemainingHasBeenSet() const
ServiceLevelObjectiveBudgetReport & WithArn(ArnT &&value)
bool TotalBudgetSecondsHasBeenSet() const
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveBudgetReport(Aws::Utils::Json::JsonView jsonValue)
void SetRequestBasedSli(RequestBasedSliT &&value)
ServiceLevelObjectiveBudgetReport & WithGoal(GoalT &&value)
int GetTotalBudgetRequests() const
ServiceLevelObjectiveBudgetReport & WithName(NameT &&value)
void SetArn(ArnT &&value)
ServiceLevelObjectiveBudgetReport & WithSli(SliT &&value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveBudgetReport()=default
bool BudgetRequestsRemainingHasBeenSet() const
ServiceLevelObjectiveBudgetReport & WithRequestBasedSli(RequestBasedSliT &&value)
void SetName(NameT &&value)
bool RequestBasedSliHasBeenSet() const
int GetTotalBudgetSeconds() const
ServiceLevelObjectiveBudgetStatus GetBudgetStatus() const
bool SliHasBeenSet() const
bool ArnHasBeenSet() const
void SetAttainment(double value)
const Goal & GetGoal() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTotalBudgetSeconds(int value)
const Aws::String & GetArn() const
ServiceLevelObjectiveBudgetReport & WithTotalBudgetRequests(int value)
AWS_APPLICATIONSIGNALS_API ServiceLevelObjectiveBudgetReport & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceLevelObjectiveBudgetReport & WithEvaluationType(EvaluationType value)
ServiceLevelObjectiveBudgetReport & WithAttainment(double value)
void SetTotalBudgetRequests(int value)
void SetGoal(GoalT &&value)
ServiceLevelObjectiveBudgetReport & WithTotalBudgetSeconds(int value)
ServiceLevelObjectiveBudgetReport & WithBudgetSecondsRemaining(int value)
const Aws::String & GetName() const
int GetBudgetRequestsRemaining() const
bool TotalBudgetRequestsHasBeenSet() const
bool EvaluationTypeHasBeenSet() const
double GetAttainment() const
bool BudgetStatusHasBeenSet() const
const RequestBasedServiceLevelIndicator & GetRequestBasedSli() const
void SetBudgetRequestsRemaining(int value)
ServiceLevelObjectiveBudgetReport & WithBudgetStatus(ServiceLevelObjectiveBudgetStatus value)
void SetEvaluationType(EvaluationType value)
void SetBudgetStatus(ServiceLevelObjectiveBudgetStatus value)
ServiceLevelObjectiveBudgetStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue