AWS SDK for C++  1.9.104
AWS SDK for C++
ServiceChange.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace ServiceDiscovery
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetDescription() const{ return m_description; }
47 
51  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
52 
56  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 
61  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 
66  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
67 
71  inline ServiceChange& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 
76  inline ServiceChange& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
77 
81  inline ServiceChange& WithDescription(const char* value) { SetDescription(value); return *this;}
82 
83 
88  inline const DnsConfigChange& GetDnsConfig() const{ return m_dnsConfig; }
89 
94  inline bool DnsConfigHasBeenSet() const { return m_dnsConfigHasBeenSet; }
95 
100  inline void SetDnsConfig(const DnsConfigChange& value) { m_dnsConfigHasBeenSet = true; m_dnsConfig = value; }
101 
106  inline void SetDnsConfig(DnsConfigChange&& value) { m_dnsConfigHasBeenSet = true; m_dnsConfig = std::move(value); }
107 
112  inline ServiceChange& WithDnsConfig(const DnsConfigChange& value) { SetDnsConfig(value); return *this;}
113 
118  inline ServiceChange& WithDnsConfig(DnsConfigChange&& value) { SetDnsConfig(std::move(value)); return *this;}
119 
120 
126  inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; }
127 
133  inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
134 
140  inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; }
141 
147  inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); }
148 
154  inline ServiceChange& WithHealthCheckConfig(const HealthCheckConfig& value) { SetHealthCheckConfig(value); return *this;}
155 
161  inline ServiceChange& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;}
162 
163  private:
164 
165  Aws::String m_description;
166  bool m_descriptionHasBeenSet;
167 
168  DnsConfigChange m_dnsConfig;
169  bool m_dnsConfigHasBeenSet;
170 
171  HealthCheckConfig m_healthCheckConfig;
172  bool m_healthCheckConfigHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace ServiceDiscovery
177 } // namespace Aws
DnsConfigChange.h
Aws::ServiceDiscovery::Model::ServiceChange::GetHealthCheckConfig
const HealthCheckConfig & GetHealthCheckConfig() const
Definition: ServiceChange.h:126
Aws::ServiceDiscovery::Model::ServiceChange::GetDescription
const Aws::String & GetDescription() const
Definition: ServiceChange.h:46
AWS_SERVICEDISCOVERY_API
#define AWS_SERVICEDISCOVERY_API
Definition: ServiceDiscovery_EXPORTS.h:28
Aws::ServiceDiscovery::Model::HealthCheckConfig
Definition: HealthCheckConfig.h:75
Aws::ServiceDiscovery::Model::ServiceChange::WithDescription
ServiceChange & WithDescription(Aws::String &&value)
Definition: ServiceChange.h:76
Aws::ServiceDiscovery::Model::ServiceChange::SetHealthCheckConfig
void SetHealthCheckConfig(const HealthCheckConfig &value)
Definition: ServiceChange.h:140
ServiceDiscovery_EXPORTS.h
Aws::ServiceDiscovery::Model::ServiceChange::GetDnsConfig
const DnsConfigChange & GetDnsConfig() const
Definition: ServiceChange.h:88
Aws::ServiceDiscovery::Model::ServiceChange::SetDnsConfig
void SetDnsConfig(const DnsConfigChange &value)
Definition: ServiceChange.h:100
Aws::ServiceDiscovery::Model::ServiceChange::SetDescription
void SetDescription(const Aws::String &value)
Definition: ServiceChange.h:56
HealthCheckConfig.h
Aws::ServiceDiscovery::Model::ServiceChange::operator=
ServiceChange & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ServiceDiscovery::Model::ServiceChange::WithDnsConfig
ServiceChange & WithDnsConfig(DnsConfigChange &&value)
Definition: ServiceChange.h:118
Aws::ServiceDiscovery::Model::ServiceChange::WithDescription
ServiceChange & WithDescription(const Aws::String &value)
Definition: ServiceChange.h:71
Aws::ServiceDiscovery::Model::ServiceChange::SetDnsConfig
void SetDnsConfig(DnsConfigChange &&value)
Definition: ServiceChange.h:106
Aws::ServiceDiscovery::Model::ServiceChange::SetDescription
void SetDescription(Aws::String &&value)
Definition: ServiceChange.h:61
Aws::ServiceDiscovery::Model::ServiceChange::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ServiceDiscovery::Model::ServiceChange::WithDnsConfig
ServiceChange & WithDnsConfig(const DnsConfigChange &value)
Definition: ServiceChange.h:112
Aws::ServiceDiscovery::Model::ServiceChange::SetDescription
void SetDescription(const char *value)
Definition: ServiceChange.h:66
Aws::ServiceDiscovery::Model::ServiceChange
Definition: ServiceChange.h:35
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::ServiceDiscovery::Model::ServiceChange::SetHealthCheckConfig
void SetHealthCheckConfig(HealthCheckConfig &&value)
Definition: ServiceChange.h:147
AWSString.h
Aws::ServiceDiscovery::Model::ServiceChange::WithDescription
ServiceChange & WithDescription(const char *value)
Definition: ServiceChange.h:81
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ServiceDiscovery::Model::ServiceChange::ServiceChange
ServiceChange()
Aws
Definition: AccessManagementClient.h:15
Aws::ServiceDiscovery::Model::ServiceChange::DnsConfigHasBeenSet
bool DnsConfigHasBeenSet() const
Definition: ServiceChange.h:94
Aws::ServiceDiscovery::Model::DnsConfigChange
Definition: DnsConfigChange.h:35
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ServiceDiscovery::Model::ServiceChange::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ServiceChange.h:51
Aws::ServiceDiscovery::Model::ServiceChange::WithHealthCheckConfig
ServiceChange & WithHealthCheckConfig(const HealthCheckConfig &value)
Definition: ServiceChange.h:154
Aws::ServiceDiscovery::Model::ServiceChange::HealthCheckConfigHasBeenSet
bool HealthCheckConfigHasBeenSet() const
Definition: ServiceChange.h:133
Aws::ServiceDiscovery::Model::ServiceChange::WithHealthCheckConfig
ServiceChange & WithHealthCheckConfig(HealthCheckConfig &&value)
Definition: ServiceChange.h:161
Aws::ServiceDiscovery::Model::ServiceChange::ServiceChange
ServiceChange(Aws::Utils::Json::JsonView jsonValue)