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>
77 template<
typename NameT = Aws::String>
78 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
79 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>
119 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
130 template<
typename DnsConfigT = DnsConfig>
131 void SetDnsConfig(DnsConfigT&& value) { m_dnsConfigHasBeenSet =
true; m_dnsConfig = std::forward<DnsConfigT>(value); }
132 template<
typename DnsConfigT = DnsConfig>
144 template<
typename HealthCheckConfigT = HealthCheckConfig>
145 void SetHealthCheckConfig(HealthCheckConfigT&& value) { m_healthCheckConfigHasBeenSet =
true; m_healthCheckConfig = std::forward<HealthCheckConfigT>(value); }
146 template<
typename HealthCheckConfigT = HealthCheckConfig>
167 template<
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
168 void SetHealthCheckCustomConfig(HealthCheckCustomConfigT&& value) { m_healthCheckCustomConfigHasBeenSet =
true; m_healthCheckCustomConfig = std::forward<HealthCheckCustomConfigT>(value); }
169 template<
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
179 template<
typename CreateDateT = Aws::Utils::DateTime>
180 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet =
true; m_createDate = std::forward<CreateDateT>(value); }
181 template<
typename CreateDateT = Aws::Utils::DateTime>
187 bool m_idHasBeenSet =
false;
190 bool m_arnHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
196 bool m_typeHasBeenSet =
false;
199 bool m_descriptionHasBeenSet =
false;
201 int m_instanceCount{0};
202 bool m_instanceCountHasBeenSet =
false;
204 DnsConfig m_dnsConfig;
205 bool m_dnsConfigHasBeenSet =
false;
207 HealthCheckConfig m_healthCheckConfig;
208 bool m_healthCheckConfigHasBeenSet =
false;
210 HealthCheckCustomConfig m_healthCheckCustomConfig;
211 bool m_healthCheckCustomConfigHasBeenSet =
false;
214 bool m_createDateHasBeenSet =
false;
AWS_SERVICEDISCOVERY_API ServiceSummary()=default
ServiceSummary & WithArn(ArnT &&value)
int GetInstanceCount() const
bool TypeHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool NameHasBeenSet() const
ServiceSummary & WithHealthCheckConfig(HealthCheckConfigT &&value)
const HealthCheckConfig & GetHealthCheckConfig() const
bool HealthCheckCustomConfigHasBeenSet() const
void SetType(ServiceType value)
ServiceSummary & WithDnsConfig(DnsConfigT &&value)
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)
bool CreateDateHasBeenSet() const
ServiceSummary & WithHealthCheckCustomConfig(HealthCheckCustomConfigT &&value)
ServiceSummary & WithName(NameT &&value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
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 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