7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
10#include <aws/servicediscovery/model/NamespaceProperties.h>
11#include <aws/servicediscovery/model/NamespaceType.h>
22namespace ServiceDiscovery {
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
85 template <
typename ResourceOwnerT = Aws::String>
87 m_resourceOwnerHasBeenSet =
true;
88 m_resourceOwner = std::forward<ResourceOwnerT>(value);
90 template <
typename ResourceOwnerT = Aws::String>
105 template <
typename NameT = Aws::String>
107 m_nameHasBeenSet =
true;
108 m_name = std::forward<NameT>(value);
110 template <
typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
124 m_typeHasBeenSet =
true;
139 template <
typename DescriptionT = Aws::String>
141 m_descriptionHasBeenSet =
true;
142 m_description = std::forward<DescriptionT>(value);
144 template <
typename DescriptionT = Aws::String>
158 m_serviceCountHasBeenSet =
true;
159 m_serviceCount = value;
173 template <
typename PropertiesT = NamespaceProperties>
175 m_propertiesHasBeenSet =
true;
176 m_properties = std::forward<PropertiesT>(value);
178 template <
typename PropertiesT = NamespaceProperties>
191 template <
typename CreateDateT = Aws::Utils::DateTime>
193 m_createDateHasBeenSet =
true;
194 m_createDate = std::forward<CreateDateT>(value);
196 template <
typename CreateDateT = Aws::Utils::DateTime>
215 int m_serviceCount{0};
217 NamespaceProperties m_properties;
220 bool m_idHasBeenSet =
false;
221 bool m_arnHasBeenSet =
false;
222 bool m_resourceOwnerHasBeenSet =
false;
223 bool m_nameHasBeenSet =
false;
224 bool m_typeHasBeenSet =
false;
225 bool m_descriptionHasBeenSet =
false;
226 bool m_serviceCountHasBeenSet =
false;
227 bool m_propertiesHasBeenSet =
false;
228 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)
NamespaceSummary & WithResourceOwner(ResourceOwnerT &&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 ResourceOwnerHasBeenSet() const
bool ArnHasBeenSet() const
const Aws::String & GetResourceOwner() const
const Aws::String & GetDescription() const
bool DescriptionHasBeenSet() const
AWS_SERVICEDISCOVERY_API NamespaceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
void SetResourceOwner(ResourceOwnerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue