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>
17namespace ApplicationSignals
46 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
47 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
102 inline void SetGoal(
const Goal& value) { m_goalHasBeenSet =
true; m_goal = value; }
103 inline void SetGoal(
Goal&& value) { m_goalHasBeenSet =
true; m_goal = std::move(value); }
110 bool m_idHasBeenSet =
false;
113 bool m_descriptionHasBeenSet =
false;
116 bool m_sliConfigHasBeenSet =
false;
119 bool m_requestBasedSliConfigHasBeenSet =
false;
122 bool m_goalHasBeenSet =
false;
const Aws::String & GetId() const
void SetGoal(const Goal &value)
AWS_APPLICATIONSIGNALS_API UpdateServiceLevelObjectiveRequest()
bool DescriptionHasBeenSet() const
UpdateServiceLevelObjectiveRequest & WithRequestBasedSliConfig(const RequestBasedServiceLevelIndicatorConfig &value)
void SetRequestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig &&value)
UpdateServiceLevelObjectiveRequest & WithGoal(const Goal &value)
UpdateServiceLevelObjectiveRequest & WithId(Aws::String &&value)
UpdateServiceLevelObjectiveRequest & WithId(const Aws::String &value)
UpdateServiceLevelObjectiveRequest & WithDescription(Aws::String &&value)
bool RequestBasedSliConfigHasBeenSet() const
UpdateServiceLevelObjectiveRequest & WithId(const char *value)
bool SliConfigHasBeenSet() const
UpdateServiceLevelObjectiveRequest & WithDescription(const char *value)
UpdateServiceLevelObjectiveRequest & WithSliConfig(const ServiceLevelIndicatorConfig &value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
bool GoalHasBeenSet() const
const ServiceLevelIndicatorConfig & GetSliConfig() const
const RequestBasedServiceLevelIndicatorConfig & GetRequestBasedSliConfig() const
virtual const char * GetServiceRequestName() const override
void SetSliConfig(ServiceLevelIndicatorConfig &&value)
UpdateServiceLevelObjectiveRequest & WithRequestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig &&value)
bool IdHasBeenSet() const
void SetDescription(Aws::String &&value)
void SetId(const Aws::String &value)
UpdateServiceLevelObjectiveRequest & WithSliConfig(ServiceLevelIndicatorConfig &&value)
void SetGoal(Goal &&value)
void SetRequestBasedSliConfig(const RequestBasedServiceLevelIndicatorConfig &value)
void SetDescription(const Aws::String &value)
void SetId(Aws::String &&value)
const Aws::String & GetDescription() const
const Goal & GetGoal() const
void SetSliConfig(const ServiceLevelIndicatorConfig &value)
void SetDescription(const char *value)
void SetId(const char *value)
UpdateServiceLevelObjectiveRequest & WithDescription(const Aws::String &value)
UpdateServiceLevelObjectiveRequest & WithGoal(Goal &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String