7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehubv2/Resiliencehubv2Request.h>
10#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
11#include <aws/resiliencehubv2/model/ServiceFunctionCriticality.h>
16namespace resiliencehubv2 {
37 template <
typename NameT = Aws::String>
39 m_nameHasBeenSet =
true;
40 m_name = std::forward<NameT>(value);
42 template <
typename NameT = Aws::String>
44 SetName(std::forward<NameT>(value));
53 template <
typename ServiceArnT = Aws::String>
55 m_serviceArnHasBeenSet =
true;
56 m_serviceArn = std::forward<ServiceArnT>(value);
58 template <
typename ServiceArnT = Aws::String>
69 template <
typename DescriptionT = Aws::String>
71 m_descriptionHasBeenSet =
true;
72 m_description = std::forward<DescriptionT>(value);
74 template <
typename DescriptionT = Aws::String>
88 m_criticalityHasBeenSet =
true;
89 m_criticality = value;
101 template <
typename ClientTokenT = Aws::String>
103 m_clientTokenHasBeenSet =
true;
104 m_clientToken = std::forward<ClientTokenT>(value);
106 template <
typename ClientTokenT = Aws::String>
122 bool m_nameHasBeenSet =
false;
123 bool m_serviceArnHasBeenSet =
false;
124 bool m_descriptionHasBeenSet =
false;
125 bool m_criticalityHasBeenSet =
false;
126 bool m_clientTokenHasBeenSet =
true;
static Aws::Utils::UUID PseudoRandomUUID()
void SetName(NameT &&value)
CreateServiceFunctionRequest & WithName(NameT &&value)
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
CreateServiceFunctionRequest & WithClientToken(ClientTokenT &&value)
void SetCriticality(ServiceFunctionCriticality value)
ServiceFunctionCriticality GetCriticality() const
bool ServiceArnHasBeenSet() const
AWS_RESILIENCEHUBV2_API CreateServiceFunctionRequest()=default
CreateServiceFunctionRequest & WithServiceArn(ServiceArnT &&value)
virtual const char * GetServiceRequestName() const override
CreateServiceFunctionRequest & WithCriticality(ServiceFunctionCriticality value)
bool CriticalityHasBeenSet() const
const Aws::String & GetName() const
void SetClientToken(ClientTokenT &&value)
CreateServiceFunctionRequest & WithDescription(DescriptionT &&value)
void SetServiceArn(ServiceArnT &&value)
bool ClientTokenHasBeenSet() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetClientToken() const
AWS_RESILIENCEHUBV2_API Aws::String SerializePayload() const override
bool NameHasBeenSet() const
const Aws::String & GetServiceArn() const
ServiceFunctionCriticality
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String