7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
9#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
10#include <aws/resiliencehubv2/model/ServiceFunctionCriticality.h>
15namespace resiliencehubv2 {
36 template <
typename ServiceArnT = Aws::String>
38 m_serviceArnHasBeenSet =
true;
39 m_serviceArn = std::forward<ServiceArnT>(value);
41 template <
typename ServiceArnT = Aws::String>
54 template <
typename ServiceFunctionIdT = Aws::String>
56 m_serviceFunctionIdHasBeenSet =
true;
57 m_serviceFunctionId = std::forward<ServiceFunctionIdT>(value);
59 template <
typename ServiceFunctionIdT = Aws::String>
70 template <
typename NameT = Aws::String>
72 m_nameHasBeenSet =
true;
73 m_name = std::forward<NameT>(value);
75 template <
typename NameT = Aws::String>
77 SetName(std::forward<NameT>(value));
86 template <
typename DescriptionT = Aws::String>
88 m_descriptionHasBeenSet =
true;
89 m_description = std::forward<DescriptionT>(value);
91 template <
typename DescriptionT = Aws::String>
105 m_criticalityHasBeenSet =
true;
106 m_criticality = value;
123 bool m_serviceArnHasBeenSet =
false;
124 bool m_serviceFunctionIdHasBeenSet =
false;
125 bool m_nameHasBeenSet =
false;
126 bool m_descriptionHasBeenSet =
false;
127 bool m_criticalityHasBeenSet =
false;
const Aws::String & GetServiceFunctionId() const
UpdateServiceFunctionRequest & WithCriticality(ServiceFunctionCriticality value)
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUBV2_API UpdateServiceFunctionRequest()=default
UpdateServiceFunctionRequest & WithServiceFunctionId(ServiceFunctionIdT &&value)
bool NameHasBeenSet() const
void SetServiceArn(ServiceArnT &&value)
void SetName(NameT &&value)
const Aws::String & GetServiceArn() const
virtual const char * GetServiceRequestName() const override
void SetCriticality(ServiceFunctionCriticality value)
ServiceFunctionCriticality GetCriticality() const
bool CriticalityHasBeenSet() const
UpdateServiceFunctionRequest & WithName(NameT &&value)
UpdateServiceFunctionRequest & WithDescription(DescriptionT &&value)
void SetServiceFunctionId(ServiceFunctionIdT &&value)
UpdateServiceFunctionRequest & WithServiceArn(ServiceArnT &&value)
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool ServiceFunctionIdHasBeenSet() const
const Aws::String & GetDescription() const
bool ServiceArnHasBeenSet() const
ServiceFunctionCriticality
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String