AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
47 inline const Aws::String& GetDNSName() const{ return m_dNSName; }
48 inline bool DNSNameHasBeenSet() const { return m_dNSNameHasBeenSet; }
49 inline void SetDNSName(const Aws::String& value) { m_dNSNameHasBeenSet = true; m_dNSName = value; }
50 inline void SetDNSName(Aws::String&& value) { m_dNSNameHasBeenSet = true; m_dNSName = std::move(value); }
51 inline void SetDNSName(const char* value) { m_dNSNameHasBeenSet = true; m_dNSName.assign(value); }
52 inline SvmEndpoint& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;}
53 inline SvmEndpoint& WithDNSName(Aws::String&& value) { SetDNSName(std::move(value)); return *this;}
54 inline SvmEndpoint& WithDNSName(const char* value) { SetDNSName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetIpAddresses() const{ return m_ipAddresses; }
62 inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }
63 inline void SetIpAddresses(const Aws::Vector<Aws::String>& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; }
64 inline void SetIpAddresses(Aws::Vector<Aws::String>&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); }
65 inline SvmEndpoint& WithIpAddresses(const Aws::Vector<Aws::String>& value) { SetIpAddresses(value); return *this;}
66 inline SvmEndpoint& WithIpAddresses(Aws::Vector<Aws::String>&& value) { SetIpAddresses(std::move(value)); return *this;}
67 inline SvmEndpoint& AddIpAddresses(const Aws::String& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }
68 inline SvmEndpoint& AddIpAddresses(Aws::String&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(std::move(value)); return *this; }
69 inline SvmEndpoint& AddIpAddresses(const char* value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }
71 private:
72
73 Aws::String m_dNSName;
74 bool m_dNSNameHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_ipAddresses;
77 bool m_ipAddressesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace FSx
82} // namespace Aws
AWS_FSX_API SvmEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetIpAddresses() const
Definition SvmEndpoint.h:61
const Aws::String & GetDNSName() const
Definition SvmEndpoint.h:47
SvmEndpoint & AddIpAddresses(const Aws::String &value)
Definition SvmEndpoint.h:67
void SetDNSName(Aws::String &&value)
Definition SvmEndpoint.h:50
SvmEndpoint & WithDNSName(const char *value)
Definition SvmEndpoint.h:54
void SetDNSName(const Aws::String &value)
Definition SvmEndpoint.h:49
void SetDNSName(const char *value)
Definition SvmEndpoint.h:51
SvmEndpoint & WithIpAddresses(const Aws::Vector< Aws::String > &value)
Definition SvmEndpoint.h:65
void SetIpAddresses(Aws::Vector< Aws::String > &&value)
Definition SvmEndpoint.h:64
bool IpAddressesHasBeenSet() const
Definition SvmEndpoint.h:62
SvmEndpoint & AddIpAddresses(Aws::String &&value)
Definition SvmEndpoint.h:68
SvmEndpoint & WithDNSName(const Aws::String &value)
Definition SvmEndpoint.h:52
void SetIpAddresses(const Aws::Vector< Aws::String > &value)
Definition SvmEndpoint.h:63
SvmEndpoint & WithDNSName(Aws::String &&value)
Definition SvmEndpoint.h:53
SvmEndpoint & WithIpAddresses(Aws::Vector< Aws::String > &&value)
Definition SvmEndpoint.h:66
AWS_FSX_API SvmEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
SvmEndpoint & AddIpAddresses(const char *value)
Definition SvmEndpoint.h:69
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