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/DnsConfig.h>
11#include <aws/servicediscovery/model/HealthCheckConfig.h>
12#include <aws/servicediscovery/model/HealthCheckCustomConfig.h>
13#include <aws/servicediscovery/model/ServiceType.h>
24namespace ServiceDiscovery {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
65 template <
typename ArnT = Aws::String>
67 m_arnHasBeenSet =
true;
68 m_arn = std::forward<ArnT>(value);
70 template <
typename ArnT = Aws::String>
72 SetArn(std::forward<ArnT>(value));
88 template <
typename ResourceOwnerT = Aws::String>
90 m_resourceOwnerHasBeenSet =
true;
91 m_resourceOwner = std::forward<ResourceOwnerT>(value);
93 template <
typename ResourceOwnerT = Aws::String>
106 template <
typename NameT = Aws::String>
108 m_nameHasBeenSet =
true;
109 m_name = std::forward<NameT>(value);
111 template <
typename NameT = Aws::String>
113 SetName(std::forward<NameT>(value));
130 m_typeHasBeenSet =
true;
145 template <
typename DescriptionT = Aws::String>
147 m_descriptionHasBeenSet =
true;
148 m_description = std::forward<DescriptionT>(value);
150 template <
typename DescriptionT = Aws::String>
167 m_instanceCountHasBeenSet =
true;
168 m_instanceCount = value;
183 template <
typename DnsConfigT = DnsConfig>
185 m_dnsConfigHasBeenSet =
true;
186 m_dnsConfig = std::forward<DnsConfigT>(value);
188 template <
typename DnsConfigT = DnsConfig>
203 template <
typename HealthCheckConfigT = HealthCheckConfig>
205 m_healthCheckConfigHasBeenSet =
true;
206 m_healthCheckConfig = std::forward<HealthCheckConfigT>(value);
208 template <
typename HealthCheckConfigT = HealthCheckConfig>
232 template <
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
234 m_healthCheckCustomConfigHasBeenSet =
true;
235 m_healthCheckCustomConfig = std::forward<HealthCheckCustomConfigT>(value);
237 template <
typename HealthCheckCustomConfigT = HealthCheckCustomConfig>
250 template <
typename CreateDateT = Aws::Utils::DateTime>
252 m_createDateHasBeenSet =
true;
253 m_createDate = std::forward<CreateDateT>(value);
255 template <
typename CreateDateT = Aws::Utils::DateTime>
273 template <
typename CreatedByAccountT = Aws::String>
275 m_createdByAccountHasBeenSet =
true;
276 m_createdByAccount = std::forward<CreatedByAccountT>(value);
278 template <
typename CreatedByAccountT = Aws::String>
297 int m_instanceCount{0};
299 DnsConfig m_dnsConfig;
301 HealthCheckConfig m_healthCheckConfig;
303 HealthCheckCustomConfig m_healthCheckCustomConfig;
308 bool m_idHasBeenSet =
false;
309 bool m_arnHasBeenSet =
false;
310 bool m_resourceOwnerHasBeenSet =
false;
311 bool m_nameHasBeenSet =
false;
312 bool m_typeHasBeenSet =
false;
313 bool m_descriptionHasBeenSet =
false;
314 bool m_instanceCountHasBeenSet =
false;
315 bool m_dnsConfigHasBeenSet =
false;
316 bool m_healthCheckConfigHasBeenSet =
false;
317 bool m_healthCheckCustomConfigHasBeenSet =
false;
318 bool m_createDateHasBeenSet =
false;
319 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