AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceConnectClientAlias.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ECS
22{
23namespace Model
24{
25
42 {
43 public:
48
49
51
59 inline int GetPort() const{ return m_port; }
60 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
61 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
62 inline ServiceConnectClientAlias& WithPort(int value) { SetPort(value); return *this;}
64
66
83 inline const Aws::String& GetDnsName() const{ return m_dnsName; }
84 inline bool DnsNameHasBeenSet() const { return m_dnsNameHasBeenSet; }
85 inline void SetDnsName(const Aws::String& value) { m_dnsNameHasBeenSet = true; m_dnsName = value; }
86 inline void SetDnsName(Aws::String&& value) { m_dnsNameHasBeenSet = true; m_dnsName = std::move(value); }
87 inline void SetDnsName(const char* value) { m_dnsNameHasBeenSet = true; m_dnsName.assign(value); }
88 inline ServiceConnectClientAlias& WithDnsName(const Aws::String& value) { SetDnsName(value); return *this;}
89 inline ServiceConnectClientAlias& WithDnsName(Aws::String&& value) { SetDnsName(std::move(value)); return *this;}
90 inline ServiceConnectClientAlias& WithDnsName(const char* value) { SetDnsName(value); return *this;}
92 private:
93
94 int m_port;
95 bool m_portHasBeenSet = false;
96
97 Aws::String m_dnsName;
98 bool m_dnsNameHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ECS
103} // namespace Aws
AWS_ECS_API ServiceConnectClientAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectClientAlias & WithDnsName(const Aws::String &value)
ServiceConnectClientAlias & WithDnsName(Aws::String &&value)
ServiceConnectClientAlias & WithPort(int value)
AWS_ECS_API ServiceConnectClientAlias(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectClientAlias & WithDnsName(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue