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/Tag.h>
19namespace ApplicationSignals
48 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
62 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
105 inline void SetGoal(
const Goal& value) { m_goalHasBeenSet =
true; m_goal = value; }
106 inline void SetGoal(
Goal&& value) { m_goalHasBeenSet =
true; m_goal = std::move(value); }
132 bool m_nameHasBeenSet =
false;
135 bool m_descriptionHasBeenSet =
false;
138 bool m_sliConfigHasBeenSet =
false;
141 bool m_requestBasedSliConfigHasBeenSet =
false;
144 bool m_goalHasBeenSet =
false;
147 bool m_tagsHasBeenSet =
false;
CreateServiceLevelObjectiveRequest & WithDescription(const Aws::String &value)
void SetRequestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig &&value)
CreateServiceLevelObjectiveRequest & AddTags(Tag &&value)
void SetSliConfig(ServiceLevelIndicatorConfig &&value)
AWS_APPLICATIONSIGNALS_API CreateServiceLevelObjectiveRequest()
CreateServiceLevelObjectiveRequest & WithSliConfig(ServiceLevelIndicatorConfig &&value)
CreateServiceLevelObjectiveRequest & WithRequestBasedSliConfig(const RequestBasedServiceLevelIndicatorConfig &value)
CreateServiceLevelObjectiveRequest & WithRequestBasedSliConfig(RequestBasedServiceLevelIndicatorConfig &&value)
CreateServiceLevelObjectiveRequest & WithName(Aws::String &&value)
CreateServiceLevelObjectiveRequest & WithDescription(const char *value)
CreateServiceLevelObjectiveRequest & WithSliConfig(const ServiceLevelIndicatorConfig &value)
CreateServiceLevelObjectiveRequest & WithGoal(Goal &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
void SetTags(const Aws::Vector< Tag > &value)
CreateServiceLevelObjectiveRequest & WithDescription(Aws::String &&value)
CreateServiceLevelObjectiveRequest & WithTags(Aws::Vector< Tag > &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateServiceLevelObjectiveRequest & WithTags(const Aws::Vector< Tag > &value)
void SetName(const Aws::String &value)
void SetDescription(const char *value)
void SetSliConfig(const ServiceLevelIndicatorConfig &value)
void SetGoal(Goal &&value)
const ServiceLevelIndicatorConfig & GetSliConfig() const
void SetName(const char *value)
void SetRequestBasedSliConfig(const RequestBasedServiceLevelIndicatorConfig &value)
bool RequestBasedSliConfigHasBeenSet() const
bool SliConfigHasBeenSet() const
void SetDescription(const Aws::String &value)
CreateServiceLevelObjectiveRequest & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetTags(Aws::Vector< Tag > &&value)
bool NameHasBeenSet() const
void SetDescription(Aws::String &&value)
const RequestBasedServiceLevelIndicatorConfig & GetRequestBasedSliConfig() const
CreateServiceLevelObjectiveRequest & WithGoal(const Goal &value)
CreateServiceLevelObjectiveRequest & AddTags(const Tag &value)
const Goal & GetGoal() const
void SetGoal(const Goal &value)
void SetName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
bool GoalHasBeenSet() const
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
CreateServiceLevelObjectiveRequest & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector