AWS SDK for C++  1.9.14
AWS SDK for C++
ServiceDiscovery.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppMesh
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const AwsCloudMapServiceDiscovery& GetAwsCloudMap() const{ return m_awsCloudMap; }
46 
50  inline bool AwsCloudMapHasBeenSet() const { return m_awsCloudMapHasBeenSet; }
51 
55  inline void SetAwsCloudMap(const AwsCloudMapServiceDiscovery& value) { m_awsCloudMapHasBeenSet = true; m_awsCloudMap = value; }
56 
60  inline void SetAwsCloudMap(AwsCloudMapServiceDiscovery&& value) { m_awsCloudMapHasBeenSet = true; m_awsCloudMap = std::move(value); }
61 
65  inline ServiceDiscovery& WithAwsCloudMap(const AwsCloudMapServiceDiscovery& value) { SetAwsCloudMap(value); return *this;}
66 
70  inline ServiceDiscovery& WithAwsCloudMap(AwsCloudMapServiceDiscovery&& value) { SetAwsCloudMap(std::move(value)); return *this;}
71 
72 
76  inline const DnsServiceDiscovery& GetDns() const{ return m_dns; }
77 
81  inline bool DnsHasBeenSet() const { return m_dnsHasBeenSet; }
82 
86  inline void SetDns(const DnsServiceDiscovery& value) { m_dnsHasBeenSet = true; m_dns = value; }
87 
91  inline void SetDns(DnsServiceDiscovery&& value) { m_dnsHasBeenSet = true; m_dns = std::move(value); }
92 
96  inline ServiceDiscovery& WithDns(const DnsServiceDiscovery& value) { SetDns(value); return *this;}
97 
101  inline ServiceDiscovery& WithDns(DnsServiceDiscovery&& value) { SetDns(std::move(value)); return *this;}
102 
103  private:
104 
105  AwsCloudMapServiceDiscovery m_awsCloudMap;
106  bool m_awsCloudMapHasBeenSet;
107 
108  DnsServiceDiscovery m_dns;
109  bool m_dnsHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace AppMesh
114 } // namespace Aws
Aws::AppMesh::Model::ServiceDiscovery::SetDns
void SetDns(const DnsServiceDiscovery &value)
Definition: ServiceDiscovery.h:86
Aws::AppMesh::Model::ServiceDiscovery::DnsHasBeenSet
bool DnsHasBeenSet() const
Definition: ServiceDiscovery.h:81
Aws::AppMesh::Model::ServiceDiscovery::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::DnsServiceDiscovery
Definition: DnsServiceDiscovery.h:33
AwsCloudMapServiceDiscovery.h
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ServiceDiscovery::SetDns
void SetDns(DnsServiceDiscovery &&value)
Definition: ServiceDiscovery.h:91
Aws::AppMesh::Model::ServiceDiscovery::WithAwsCloudMap
ServiceDiscovery & WithAwsCloudMap(AwsCloudMapServiceDiscovery &&value)
Definition: ServiceDiscovery.h:70
Aws::AppMesh::Model::ServiceDiscovery::operator=
ServiceDiscovery & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsServiceDiscovery.h
Aws::AppMesh::Model::ServiceDiscovery::WithDns
ServiceDiscovery & WithDns(const DnsServiceDiscovery &value)
Definition: ServiceDiscovery.h:96
Aws::AppMesh::Model::ServiceDiscovery::WithDns
ServiceDiscovery & WithDns(DnsServiceDiscovery &&value)
Definition: ServiceDiscovery.h:101
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::AppMesh::Model::ServiceDiscovery::GetAwsCloudMap
const AwsCloudMapServiceDiscovery & GetAwsCloudMap() const
Definition: ServiceDiscovery.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::AwsCloudMapServiceDiscovery
Definition: AwsCloudMapServiceDiscovery.h:36
Aws::AppMesh::Model::ServiceDiscovery
Definition: ServiceDiscovery.h:34
Aws::AppMesh::Model::ServiceDiscovery::ServiceDiscovery
ServiceDiscovery()
Aws
Definition: AccessManagementClient.h:15
Aws::AppMesh::Model::ServiceDiscovery::SetAwsCloudMap
void SetAwsCloudMap(const AwsCloudMapServiceDiscovery &value)
Definition: ServiceDiscovery.h:55
Aws::AppMesh::Model::ServiceDiscovery::GetDns
const DnsServiceDiscovery & GetDns() const
Definition: ServiceDiscovery.h:76
Aws::AppMesh::Model::ServiceDiscovery::ServiceDiscovery
ServiceDiscovery(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ServiceDiscovery::AwsCloudMapHasBeenSet
bool AwsCloudMapHasBeenSet() const
Definition: ServiceDiscovery.h:50
Aws::AppMesh::Model::ServiceDiscovery::SetAwsCloudMap
void SetAwsCloudMap(AwsCloudMapServiceDiscovery &&value)
Definition: ServiceDiscovery.h:60
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28
Aws::AppMesh::Model::ServiceDiscovery::WithAwsCloudMap
ServiceDiscovery & WithAwsCloudMap(const AwsCloudMapServiceDiscovery &value)
Definition: ServiceDiscovery.h:65