AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceChange.h
1
6#pragma once
7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/DnsConfigChange.h>
10#include <aws/servicediscovery/model/HealthCheckConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ServiceDiscovery
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SERVICEDISCOVERY_API ServiceChange();
38 AWS_SERVICEDISCOVERY_API ServiceChange(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SERVICEDISCOVERY_API ServiceChange& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetDescription() const{ return m_description; }
48 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
49 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
50 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
51 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
52 inline ServiceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
53 inline ServiceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
54 inline ServiceChange& WithDescription(const char* value) { SetDescription(value); return *this;}
56
58
62 inline const DnsConfigChange& GetDnsConfig() const{ return m_dnsConfig; }
63 inline bool DnsConfigHasBeenSet() const { return m_dnsConfigHasBeenSet; }
64 inline void SetDnsConfig(const DnsConfigChange& value) { m_dnsConfigHasBeenSet = true; m_dnsConfig = value; }
65 inline void SetDnsConfig(DnsConfigChange&& value) { m_dnsConfigHasBeenSet = true; m_dnsConfig = std::move(value); }
66 inline ServiceChange& WithDnsConfig(const DnsConfigChange& value) { SetDnsConfig(value); return *this;}
67 inline ServiceChange& WithDnsConfig(DnsConfigChange&& value) { SetDnsConfig(std::move(value)); return *this;}
69
71
76 inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; }
77 inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
78 inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; }
79 inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); }
80 inline ServiceChange& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;}
81 inline ServiceChange& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87
88 DnsConfigChange m_dnsConfig;
89 bool m_dnsConfigHasBeenSet = false;
90
91 HealthCheckConfig m_healthCheckConfig;
92 bool m_healthCheckConfigHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ServiceDiscovery
97} // namespace Aws
ServiceChange & WithDnsConfig(const DnsConfigChange &value)
void SetDnsConfig(DnsConfigChange &&value)
AWS_SERVICEDISCOVERY_API ServiceChange & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceChange & WithDescription(Aws::String &&value)
AWS_SERVICEDISCOVERY_API ServiceChange(Aws::Utils::Json::JsonView jsonValue)
const HealthCheckConfig & GetHealthCheckConfig() const
void SetDnsConfig(const DnsConfigChange &value)
const DnsConfigChange & GetDnsConfig() const
void SetDescription(const Aws::String &value)
ServiceChange & WithHealthCheckConfig(const HealthCheckConfig &value)
ServiceChange & WithDescription(const char *value)
void SetHealthCheckConfig(const HealthCheckConfig &value)
ServiceChange & WithDnsConfig(DnsConfigChange &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceChange & WithDescription(const Aws::String &value)
AWS_SERVICEDISCOVERY_API ServiceChange()
ServiceChange & WithHealthCheckConfig(HealthCheckConfig &&value)
const Aws::String & GetDescription() const
void SetHealthCheckConfig(HealthCheckConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue