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>
103 template <
typename NameT = Aws::String>
105 m_nameHasBeenSet =
true;
106 m_name = std::forward<NameT>(value);
108 template <
typename NameT = Aws::String>
110 SetName(std::forward<NameT>(value));
129 m_typeHasBeenSet =
true;
144 template <
typename DescriptionT = Aws::String>
146 m_descriptionHasBeenSet =
true;
147 m_description = std::forward<DescriptionT>(value);
149 template <
typename DescriptionT = Aws::String>
163 m_serviceCountHasBeenSet =
true;
164 m_serviceCount = value;
179 template <
typename PropertiesT = NamespaceProperties>
181 m_propertiesHasBeenSet =
true;
182 m_properties = std::forward<PropertiesT>(value);
184 template <
typename PropertiesT = NamespaceProperties>
200 template <
typename CreateDateT = Aws::Utils::DateTime>
202 m_createDateHasBeenSet =
true;
203 m_createDate = std::forward<CreateDateT>(value);
205 template <
typename CreateDateT = Aws::Utils::DateTime>
219 template <
typename CreatorRequestIdT = Aws::String>
221 m_creatorRequestIdHasBeenSet =
true;
222 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
224 template <
typename CreatorRequestIdT = Aws::String>
243 int m_serviceCount{0};
245 NamespaceProperties m_properties;
250 bool m_idHasBeenSet =
false;
251 bool m_arnHasBeenSet =
false;
252 bool m_resourceOwnerHasBeenSet =
false;
253 bool m_nameHasBeenSet =
false;
254 bool m_typeHasBeenSet =
false;
255 bool m_descriptionHasBeenSet =
false;
256 bool m_serviceCountHasBeenSet =
false;
257 bool m_propertiesHasBeenSet =
false;
258 bool m_createDateHasBeenSet =
false;
259 bool m_creatorRequestIdHasBeenSet =
false;
void SetCreateDate(CreateDateT &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
Namespace & WithId(IdT &&value)
AWS_SERVICEDISCOVERY_API Namespace(Aws::Utils::Json::JsonView jsonValue)
bool TypeHasBeenSet() const
void SetResourceOwner(ResourceOwnerT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetResourceOwner() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
bool ArnHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetDescription() const
Namespace & WithProperties(PropertiesT &&value)
Namespace & WithResourceOwner(ResourceOwnerT &&value)
void SetServiceCount(int value)
bool ResourceOwnerHasBeenSet() const
bool NameHasBeenSet() const
Namespace & WithDescription(DescriptionT &&value)
Namespace & WithServiceCount(int value)
bool CreatorRequestIdHasBeenSet() const
void SetArn(ArnT &&value)
AWS_SERVICEDISCOVERY_API Namespace & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PropertiesHasBeenSet() const
Namespace & WithArn(ArnT &&value)
NamespaceType GetType() const
Namespace & WithCreatorRequestId(CreatorRequestIdT &&value)
bool ServiceCountHasBeenSet() const
const Aws::Utils::DateTime & GetCreateDate() const
Namespace & WithCreateDate(CreateDateT &&value)
const NamespaceProperties & GetProperties() const
const Aws::String & GetName() const
int GetServiceCount() const
const Aws::String & GetCreatorRequestId() const
void SetProperties(PropertiesT &&value)
bool CreateDateHasBeenSet() const
AWS_SERVICEDISCOVERY_API Namespace()=default
Namespace & WithType(NamespaceType value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
void SetName(NameT &&value)
void SetType(NamespaceType value)
Namespace & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue