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>
79 template<
typename ResourceOwnerT = Aws::String>
80 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
81 template<
typename ResourceOwnerT = Aws::String>
93 template<
typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
95 template<
typename NameT = Aws::String>
115 template<
typename DescriptionT = Aws::String>
116 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
117 template<
typename DescriptionT = Aws::String>
127 inline void SetServiceCount(
int value) { m_serviceCountHasBeenSet =
true; m_serviceCount = value; }
137 template<
typename PropertiesT = NamespaceProperties>
138 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
139 template<
typename PropertiesT = NamespaceProperties>
149 template<
typename CreateDateT = Aws::Utils::DateTime>
150 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
151 template<
typename CreateDateT = Aws::Utils::DateTime>
157 bool m_idHasBeenSet =
false;
160 bool m_arnHasBeenSet =
false;
163 bool m_resourceOwnerHasBeenSet =
false;
166 bool m_nameHasBeenSet =
false;
169 bool m_typeHasBeenSet =
false;
172 bool m_descriptionHasBeenSet =
false;
174 int m_serviceCount{0};
175 bool m_serviceCountHasBeenSet =
false;
177 NamespaceProperties m_properties;
178 bool m_propertiesHasBeenSet =
false;
181 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