7#include <aws/application-signals/ApplicationSignalsRequest.h>
8#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
9#include <aws/application-signals/model/BurnRateConfiguration.h>
10#include <aws/application-signals/model/Goal.h>
11#include <aws/application-signals/model/RequestBasedServiceLevelIndicatorConfig.h>
12#include <aws/application-signals/model/ServiceLevelIndicatorConfig.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19namespace ApplicationSignals {
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 template <
typename SliConfigT = ServiceLevelIndicatorConfig>
82 m_sliConfigHasBeenSet =
true;
83 m_sliConfig = std::forward<SliConfigT>(value);
85 template <
typename SliConfigT = ServiceLevelIndicatorConfig>
101 template <
typename RequestBasedSliConfigT = RequestBasedServiceLevelIndicatorConfig>
103 m_requestBasedSliConfigHasBeenSet =
true;
104 m_requestBasedSliConfig = std::forward<RequestBasedSliConfigT>(value);
106 template <
typename RequestBasedSliConfigT = RequestBasedServiceLevelIndicatorConfig>
120 template <
typename GoalT = Goal>
122 m_goalHasBeenSet =
true;
123 m_goal = std::forward<GoalT>(value);
125 template <
typename GoalT = Goal>
127 SetGoal(std::forward<GoalT>(value));
140 template <
typename BurnRateConfigurationsT = Aws::Vector<BurnRateConfiguration>>
142 m_burnRateConfigurationsHasBeenSet =
true;
143 m_burnRateConfigurations = std::forward<BurnRateConfigurationsT>(value);
145 template <
typename BurnRateConfigurationsT = Aws::Vector<BurnRateConfiguration>>
150 template <
typename BurnRateConfigurationsT = BurnRateConfiguration>
152 m_burnRateConfigurationsHasBeenSet =
true;
153 m_burnRateConfigurations.emplace_back(std::forward<BurnRateConfigurationsT>(value));
159 bool m_idHasBeenSet =
false;
162 bool m_descriptionHasBeenSet =
false;
165 bool m_sliConfigHasBeenSet =
false;
168 bool m_requestBasedSliConfigHasBeenSet =
false;
171 bool m_goalHasBeenSet =
false;
174 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