7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
19namespace resiliencehubv2 {
40 template <
typename ServiceIdT = Aws::String>
42 m_serviceIdHasBeenSet =
true;
43 m_serviceId = std::forward<ServiceIdT>(value);
45 template <
typename ServiceIdT = Aws::String>
58 template <
typename ServiceNameT = Aws::String>
60 m_serviceNameHasBeenSet =
true;
61 m_serviceName = std::forward<ServiceNameT>(value);
63 template <
typename ServiceNameT = Aws::String>
73 bool m_serviceIdHasBeenSet =
false;
74 bool m_serviceNameHasBeenSet =
false;
bool ServiceNameHasBeenSet() const
const Aws::String & GetServiceName() const
ServiceReference & WithServiceName(ServiceNameT &&value)
AWS_RESILIENCEHUBV2_API ServiceReference & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceReference & WithServiceId(ServiceIdT &&value)
AWS_RESILIENCEHUBV2_API ServiceReference()=default
void SetServiceId(ServiceIdT &&value)
void SetServiceName(ServiceNameT &&value)
bool ServiceIdHasBeenSet() const
AWS_RESILIENCEHUBV2_API ServiceReference(Aws::Utils::Json::JsonView jsonValue)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue