7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/ServiceType.h>
10#include <aws/servicediscovery/model/DnsConfig.h>
11#include <aws/servicediscovery/model/HealthCheckConfig.h>
12#include <aws/servicediscovery/model/HealthCheckCustomConfig.h>
13#include <aws/core/utils/DateTime.h>
26namespace ServiceDiscovery
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
65 template<
typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
67 template<
typename ArnT = Aws::String>
82 template<
typename ResourceOwnerT = Aws::String>
83 void SetResourceOwner(ResourceOwnerT&& value) { m_resourceOwnerHasBeenSet =
true; m_resourceOwner = std::forward<ResourceOwnerT>(value); }
84 template<
typename ResourceOwnerT = Aws::String>
94 template<
typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
96 template<
typename NameT = Aws::String>
121 template<
typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
123 template<
typename DescriptionT = Aws::String>
136 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
147 template<
typename DnsConfigT = DnsConfig>
148 void SetDnsConfig(DnsConfigT&& value) { m_dnsConfigHasBeenSet =
true; m_dnsConfig = std::forward<DnsConfigT>(value); }
149 template<
typename DnsConfigT = DnsConfig>
161 template<
typename HealthCheckConfigT = HealthCheckConfig>
162 void SetHealthCheckConfig(HealthCheckConfigT&& value) { m_healthCheckConfigHasBeenSet =
true; m_healthCheckConfig = std::forward<HealthCheckConfigT>(value); }
163 template<
typename HealthCheckConfigT = HealthCheckConfig>
184 template<
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
185 void SetHealthCheckCustomConfig(HealthCheckCustomConfigT&& value) { m_healthCheckCustomConfigHasBeenSet =
true; m_healthCheckCustomConfig = std::forward<HealthCheckCustomConfigT>(value); }
186 template<
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
196 template<
typename CreateDateT = Aws::Utils::DateTime>
197 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
198 template<
typename CreateDateT = Aws::Utils::DateTime>
213 template<
typename CreatedByAccountT = Aws::String>
214 void SetCreatedByAccount(CreatedByAccountT&& value) { m_createdByAccountHasBeenSet =
true; m_createdByAccount = std::forward<CreatedByAccountT>(value); }
215 template<
typename CreatedByAccountT = Aws::String>
221 bool m_idHasBeenSet =
false;
224 bool m_arnHasBeenSet =
false;
227 bool m_resourceOwnerHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
233 bool m_typeHasBeenSet =
false;
236 bool m_descriptionHasBeenSet =
false;
238 int m_instanceCount{0};
239 bool m_instanceCountHasBeenSet =
false;
241 DnsConfig m_dnsConfig;
242 bool m_dnsConfigHasBeenSet =
false;
244 HealthCheckConfig m_healthCheckConfig;
245 bool m_healthCheckConfigHasBeenSet =
false;
247 HealthCheckCustomConfig m_healthCheckCustomConfig;
248 bool m_healthCheckCustomConfigHasBeenSet =
false;
251 bool m_createDateHasBeenSet =
false;
254 bool m_createdByAccountHasBeenSet =
false;
AWS_SERVICEDISCOVERY_API ServiceSummary()=default
ServiceSummary & WithArn(ArnT &&value)
ServiceSummary & WithCreatedByAccount(CreatedByAccountT &&value)
int GetInstanceCount() const
bool TypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
ServiceSummary & WithHealthCheckConfig(HealthCheckConfigT &&value)
const HealthCheckConfig & GetHealthCheckConfig() const
const Aws::String & GetCreatedByAccount() const
bool ResourceOwnerHasBeenSet() const
bool HealthCheckCustomConfigHasBeenSet() const
void SetType(ServiceType value)
ServiceSummary & WithDnsConfig(DnsConfigT &&value)
bool CreatedByAccountHasBeenSet() const
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
const HealthCheckCustomConfig & GetHealthCheckCustomConfig() const
void SetInstanceCount(int value)
void SetCreateDate(CreateDateT &&value)
void SetHealthCheckCustomConfig(HealthCheckCustomConfigT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
ServiceSummary & WithDescription(DescriptionT &&value)
AWS_SERVICEDISCOVERY_API ServiceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceSummary & WithCreateDate(CreateDateT &&value)
AWS_SERVICEDISCOVERY_API ServiceSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceOwner() const
bool CreateDateHasBeenSet() const
ServiceSummary & WithHealthCheckCustomConfig(HealthCheckCustomConfigT &&value)
ServiceSummary & WithName(NameT &&value)
bool IdHasBeenSet() const
void SetResourceOwner(ResourceOwnerT &&value)
const Aws::String & GetId() const
ServiceSummary & WithResourceOwner(ResourceOwnerT &&value)
void SetHealthCheckConfig(HealthCheckConfigT &&value)
bool ArnHasBeenSet() const
const DnsConfig & GetDnsConfig() const
bool InstanceCountHasBeenSet() const
ServiceSummary & WithType(ServiceType value)
void SetName(NameT &&value)
ServiceType GetType() const
const Aws::String & GetArn() const
bool HealthCheckConfigHasBeenSet() const
void SetCreatedByAccount(CreatedByAccountT &&value)
void SetDnsConfig(DnsConfigT &&value)
bool DnsConfigHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetArn(ArnT &&value)
ServiceSummary & WithId(IdT &&value)
const Aws::String & GetDescription() const
ServiceSummary & WithInstanceCount(int value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue