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>
75 template<
typename NameT = Aws::String>
76 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
77 template<
typename NameT = Aws::String>
104 template<
typename DescriptionT = Aws::String>
105 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
106 template<
typename DescriptionT = Aws::String>
116 inline void SetServiceCount(
int value) { m_serviceCountHasBeenSet =
true; m_serviceCount = value; }
127 template<
typename PropertiesT = NamespaceProperties>
128 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
129 template<
typename PropertiesT = NamespaceProperties>
142 template<
typename CreateDateT = Aws::Utils::DateTime>
143 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
144 template<
typename CreateDateT = Aws::Utils::DateTime>
155 template<
typename CreatorRequestIdT = Aws::String>
156 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
157 template<
typename CreatorRequestIdT = Aws::String>
163 bool m_idHasBeenSet =
false;
166 bool m_arnHasBeenSet =
false;
169 bool m_nameHasBeenSet =
false;
172 bool m_typeHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
177 int m_serviceCount{0};
178 bool m_serviceCountHasBeenSet =
false;
180 NamespaceProperties m_properties;
181 bool m_propertiesHasBeenSet =
false;
184 bool m_createDateHasBeenSet =
false;
187 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
bool DescriptionHasBeenSet() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
bool ArnHasBeenSet() const
bool IdHasBeenSet() const
const Aws::String & GetDescription() const
Namespace & WithProperties(PropertiesT &&value)
void SetServiceCount(int value)
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