AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SvmEndpoint.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FSx
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_FSX_API SvmEndpoint() = default;
43
44
46
47 inline const Aws::String& GetDNSName() const { return m_dNSName; }
48 inline bool DNSNameHasBeenSet() const { return m_dNSNameHasBeenSet; }
49 template<typename DNSNameT = Aws::String>
50 void SetDNSName(DNSNameT&& value) { m_dNSNameHasBeenSet = true; m_dNSName = std::forward<DNSNameT>(value); }
51 template<typename DNSNameT = Aws::String>
52 SvmEndpoint& WithDNSName(DNSNameT&& value) { SetDNSName(std::forward<DNSNameT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetIpAddresses() const { return m_ipAddresses; }
60 inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }
61 template<typename IpAddressesT = Aws::Vector<Aws::String>>
62 void SetIpAddresses(IpAddressesT&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::forward<IpAddressesT>(value); }
63 template<typename IpAddressesT = Aws::Vector<Aws::String>>
64 SvmEndpoint& WithIpAddresses(IpAddressesT&& value) { SetIpAddresses(std::forward<IpAddressesT>(value)); return *this;}
65 template<typename IpAddressesT = Aws::String>
66 SvmEndpoint& AddIpAddresses(IpAddressesT&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.emplace_back(std::forward<IpAddressesT>(value)); return *this; }
68 private:
69
70 Aws::String m_dNSName;
71 bool m_dNSNameHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_ipAddresses;
74 bool m_ipAddressesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace FSx
79} // namespace Aws
AWS_FSX_API SvmEndpoint()=default
AWS_FSX_API SvmEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetIpAddresses() const
Definition SvmEndpoint.h:59
SvmEndpoint & AddIpAddresses(IpAddressesT &&value)
Definition SvmEndpoint.h:66
const Aws::String & GetDNSName() const
Definition SvmEndpoint.h:47
void SetIpAddresses(IpAddressesT &&value)
Definition SvmEndpoint.h:62
void SetDNSName(DNSNameT &&value)
Definition SvmEndpoint.h:50
SvmEndpoint & WithDNSName(DNSNameT &&value)
Definition SvmEndpoint.h:52
SvmEndpoint & WithIpAddresses(IpAddressesT &&value)
Definition SvmEndpoint.h:64
bool IpAddressesHasBeenSet() const
Definition SvmEndpoint.h:60
AWS_FSX_API SvmEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue