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>
91 template<
typename NameT = Aws::String>
92 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
93 template<
typename NameT = Aws::String>
120 template<
typename DescriptionT = Aws::String>
121 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
122 template<
typename DescriptionT = Aws::String>
132 inline void SetServiceCount(
int value) { m_serviceCountHasBeenSet =
true; m_serviceCount = value; }
143 template<
typename PropertiesT = NamespaceProperties>
144 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
145 template<
typename PropertiesT = NamespaceProperties>
158 template<
typename CreateDateT = Aws::Utils::DateTime>
159 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
160 template<
typename CreateDateT = Aws::Utils::DateTime>
171 template<
typename CreatorRequestIdT = Aws::String>
172 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
173 template<
typename CreatorRequestIdT = Aws::String>
179 bool m_idHasBeenSet =
false;
182 bool m_arnHasBeenSet =
false;
185 bool m_resourceOwnerHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
191 bool m_typeHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
196 int m_serviceCount{0};
197 bool m_serviceCountHasBeenSet =
false;
199 NamespaceProperties m_properties;
200 bool m_propertiesHasBeenSet =
false;
203 bool m_createDateHasBeenSet =
false;
206 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