7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/ApplicationSignalsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/application-signals/model/ServiceLevelIndicatorConfig.h>
11#include <aws/application-signals/model/RequestBasedServiceLevelIndicatorConfig.h>
12#include <aws/application-signals/model/Goal.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/application-signals/model/BurnRateConfiguration.h>
19namespace ApplicationSignals
47 template<
typename IdT = Aws::String>
48 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
49 template<
typename IdT = Aws::String>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
72 template<
typename SliConfigT = ServiceLevelIndicatorConfig>
73 void SetSliConfig(SliConfigT&& value) { m_sliConfigHasBeenSet =
true; m_sliConfig = std::forward<SliConfigT>(value); }
74 template<
typename SliConfigT = ServiceLevelIndicatorConfig>
87 template<
typename RequestBasedSliConfigT = RequestBasedServiceLevelIndicatorConfig>
88 void SetRequestBasedSliConfig(RequestBasedSliConfigT&& value) { m_requestBasedSliConfigHasBeenSet =
true; m_requestBasedSliConfig = std::forward<RequestBasedSliConfigT>(value); }
89 template<
typename RequestBasedSliConfigT = RequestBasedServiceLevelIndicatorConfig>
100 template<
typename GoalT = Goal>
101 void SetGoal(GoalT&& value) { m_goalHasBeenSet =
true; m_goal = std::forward<GoalT>(value); }
102 template<
typename GoalT = Goal>
114 template<
typename BurnRateConfigurationsT = Aws::Vector<BurnRateConfiguration>>
115 void SetBurnRateConfigurations(BurnRateConfigurationsT&& value) { m_burnRateConfigurationsHasBeenSet =
true; m_burnRateConfigurations = std::forward<BurnRateConfigurationsT>(value); }
116 template<
typename BurnRateConfigurationsT = Aws::Vector<BurnRateConfiguration>>
118 template<
typename BurnRateConfigurationsT = BurnRateConfiguration>
124 bool m_idHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
130 bool m_sliConfigHasBeenSet =
false;
133 bool m_requestBasedSliConfigHasBeenSet =
false;
136 bool m_goalHasBeenSet =
false;
139 bool m_burnRateConfigurationsHasBeenSet =
false;
const Aws::String & GetId() const
bool DescriptionHasBeenSet() const
AWS_APPLICATIONSIGNALS_API UpdateServiceLevelObjectiveRequest()=default
void SetRequestBasedSliConfig(RequestBasedSliConfigT &&value)
UpdateServiceLevelObjectiveRequest & WithId(IdT &&value)
UpdateServiceLevelObjectiveRequest & WithBurnRateConfigurations(BurnRateConfigurationsT &&value)
bool RequestBasedSliConfigHasBeenSet() const
bool SliConfigHasBeenSet() const
UpdateServiceLevelObjectiveRequest & AddBurnRateConfigurations(BurnRateConfigurationsT &&value)
UpdateServiceLevelObjectiveRequest & WithRequestBasedSliConfig(RequestBasedSliConfigT &&value)
UpdateServiceLevelObjectiveRequest & WithDescription(DescriptionT &&value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
bool GoalHasBeenSet() const
bool BurnRateConfigurationsHasBeenSet() const
const ServiceLevelIndicatorConfig & GetSliConfig() const
const RequestBasedServiceLevelIndicatorConfig & GetRequestBasedSliConfig() const
virtual const char * GetServiceRequestName() const override
UpdateServiceLevelObjectiveRequest & WithSliConfig(SliConfigT &&value)
bool IdHasBeenSet() const
void SetBurnRateConfigurations(BurnRateConfigurationsT &&value)
void SetDescription(DescriptionT &&value)
UpdateServiceLevelObjectiveRequest & WithGoal(GoalT &&value)
const Aws::String & GetDescription() const
const Goal & GetGoal() const
const Aws::Vector< BurnRateConfiguration > & GetBurnRateConfigurations() const
void SetSliConfig(SliConfigT &&value)
void SetGoal(GoalT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector