7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/NamespaceType.h>
10#include <aws/servicediscovery/model/NamespaceProperties.h>
11#include <aws/core/utils/DateTime.h>
24namespace ServiceDiscovery
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
63 template<
typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
65 template<
typename ArnT = Aws::String>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 template<
typename NameT = Aws::String>
99 template<
typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
101 template<
typename DescriptionT = Aws::String>
111 inline void SetServiceCount(
int value) { m_serviceCountHasBeenSet =
true; m_serviceCount = value; }
121 template<
typename PropertiesT = NamespaceProperties>
122 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
123 template<
typename PropertiesT = NamespaceProperties>
133 template<
typename CreateDateT = Aws::Utils::DateTime>
134 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
135 template<
typename CreateDateT = Aws::Utils::DateTime>
141 bool m_idHasBeenSet =
false;
144 bool m_arnHasBeenSet =
false;
147 bool m_nameHasBeenSet =
false;
150 bool m_typeHasBeenSet =
false;
153 bool m_descriptionHasBeenSet =
false;
155 int m_serviceCount{0};
156 bool m_serviceCountHasBeenSet =
false;
158 NamespaceProperties m_properties;
159 bool m_propertiesHasBeenSet =
false;
162 bool m_createDateHasBeenSet =
false;
bool ServiceCountHasBeenSet() const
const NamespaceProperties & GetProperties() const
void SetName(NameT &&value)
NamespaceSummary & WithServiceCount(int value)
void SetProperties(PropertiesT &&value)
bool CreateDateHasBeenSet() const
NamespaceSummary & WithArn(ArnT &&value)
void SetType(NamespaceType value)
const Aws::Utils::DateTime & GetCreateDate() const
NamespaceSummary & WithProperties(PropertiesT &&value)
bool IdHasBeenSet() const
NamespaceSummary & WithName(NameT &&value)
const Aws::String & GetId() const
void SetCreateDate(CreateDateT &&value)
AWS_SERVICEDISCOVERY_API NamespaceSummary()=default
NamespaceSummary & WithDescription(DescriptionT &&value)
NamespaceType GetType() const
const Aws::String & GetName() const
void SetServiceCount(int value)
void SetDescription(DescriptionT &&value)
void SetArn(ArnT &&value)
NamespaceSummary & WithType(NamespaceType value)
bool PropertiesHasBeenSet() const
NamespaceSummary & WithId(IdT &&value)
AWS_SERVICEDISCOVERY_API NamespaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
NamespaceSummary & WithCreateDate(CreateDateT &&value)
bool TypeHasBeenSet() const
int GetServiceCount() const
bool NameHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AWS_SERVICEDISCOVERY_API NamespaceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue