AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FileSystemEndpoint.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
36 {
37 public:
38 AWS_FSX_API FileSystemEndpoint();
42
43
45
46 inline const Aws::String& GetDNSName() const{ return m_dNSName; }
47 inline bool DNSNameHasBeenSet() const { return m_dNSNameHasBeenSet; }
48 inline void SetDNSName(const Aws::String& value) { m_dNSNameHasBeenSet = true; m_dNSName = value; }
49 inline void SetDNSName(Aws::String&& value) { m_dNSNameHasBeenSet = true; m_dNSName = std::move(value); }
50 inline void SetDNSName(const char* value) { m_dNSNameHasBeenSet = true; m_dNSName.assign(value); }
51 inline FileSystemEndpoint& WithDNSName(const Aws::String& value) { SetDNSName(value); return *this;}
52 inline FileSystemEndpoint& WithDNSName(Aws::String&& value) { SetDNSName(std::move(value)); return *this;}
53 inline FileSystemEndpoint& WithDNSName(const char* value) { SetDNSName(value); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetIpAddresses() const{ return m_ipAddresses; }
61 inline bool IpAddressesHasBeenSet() const { return m_ipAddressesHasBeenSet; }
62 inline void SetIpAddresses(const Aws::Vector<Aws::String>& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = value; }
63 inline void SetIpAddresses(Aws::Vector<Aws::String>&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses = std::move(value); }
64 inline FileSystemEndpoint& WithIpAddresses(const Aws::Vector<Aws::String>& value) { SetIpAddresses(value); return *this;}
65 inline FileSystemEndpoint& WithIpAddresses(Aws::Vector<Aws::String>&& value) { SetIpAddresses(std::move(value)); return *this;}
66 inline FileSystemEndpoint& AddIpAddresses(const Aws::String& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }
67 inline FileSystemEndpoint& AddIpAddresses(Aws::String&& value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(std::move(value)); return *this; }
68 inline FileSystemEndpoint& AddIpAddresses(const char* value) { m_ipAddressesHasBeenSet = true; m_ipAddresses.push_back(value); return *this; }
70 private:
71
72 Aws::String m_dNSName;
73 bool m_dNSNameHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_ipAddresses;
76 bool m_ipAddressesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace FSx
81} // namespace Aws
FileSystemEndpoint & WithDNSName(const Aws::String &value)
FileSystemEndpoint & WithDNSName(const char *value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
FileSystemEndpoint & WithIpAddresses(const Aws::Vector< Aws::String > &value)
FileSystemEndpoint & WithDNSName(Aws::String &&value)
void SetDNSName(Aws::String &&value)
AWS_FSX_API FileSystemEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetDNSName(const Aws::String &value)
FileSystemEndpoint & AddIpAddresses(const char *value)
void SetIpAddresses(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDNSName() const
AWS_FSX_API FileSystemEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
FileSystemEndpoint & AddIpAddresses(const Aws::String &value)
const Aws::Vector< Aws::String > & GetIpAddresses() const
void SetIpAddresses(Aws::Vector< Aws::String > &&value)
FileSystemEndpoint & WithIpAddresses(Aws::Vector< Aws::String > &&value)
FileSystemEndpoint & AddIpAddresses(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue