AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IpAddresses.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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 deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API IpAddresses();
36 AWS_DEADLINE_API IpAddresses(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DEADLINE_API IpAddresses& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetIpV4Addresses() const{ return m_ipV4Addresses; }
46 inline bool IpV4AddressesHasBeenSet() const { return m_ipV4AddressesHasBeenSet; }
47 inline void SetIpV4Addresses(const Aws::Vector<Aws::String>& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses = value; }
48 inline void SetIpV4Addresses(Aws::Vector<Aws::String>&& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses = std::move(value); }
49 inline IpAddresses& WithIpV4Addresses(const Aws::Vector<Aws::String>& value) { SetIpV4Addresses(value); return *this;}
50 inline IpAddresses& WithIpV4Addresses(Aws::Vector<Aws::String>&& value) { SetIpV4Addresses(std::move(value)); return *this;}
51 inline IpAddresses& AddIpV4Addresses(const Aws::String& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses.push_back(value); return *this; }
52 inline IpAddresses& AddIpV4Addresses(Aws::String&& value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses.push_back(std::move(value)); return *this; }
53 inline IpAddresses& AddIpV4Addresses(const char* value) { m_ipV4AddressesHasBeenSet = true; m_ipV4Addresses.push_back(value); return *this; }
55
57
60 inline const Aws::Vector<Aws::String>& GetIpV6Addresses() const{ return m_ipV6Addresses; }
61 inline bool IpV6AddressesHasBeenSet() const { return m_ipV6AddressesHasBeenSet; }
62 inline void SetIpV6Addresses(const Aws::Vector<Aws::String>& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses = value; }
63 inline void SetIpV6Addresses(Aws::Vector<Aws::String>&& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses = std::move(value); }
64 inline IpAddresses& WithIpV6Addresses(const Aws::Vector<Aws::String>& value) { SetIpV6Addresses(value); return *this;}
65 inline IpAddresses& WithIpV6Addresses(Aws::Vector<Aws::String>&& value) { SetIpV6Addresses(std::move(value)); return *this;}
66 inline IpAddresses& AddIpV6Addresses(const Aws::String& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses.push_back(value); return *this; }
67 inline IpAddresses& AddIpV6Addresses(Aws::String&& value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses.push_back(std::move(value)); return *this; }
68 inline IpAddresses& AddIpV6Addresses(const char* value) { m_ipV6AddressesHasBeenSet = true; m_ipV6Addresses.push_back(value); return *this; }
70 private:
71
72 Aws::Vector<Aws::String> m_ipV4Addresses;
73 bool m_ipV4AddressesHasBeenSet = false;
74
75 Aws::Vector<Aws::String> m_ipV6Addresses;
76 bool m_ipV6AddressesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace deadline
81} // namespace Aws
const Aws::Vector< Aws::String > & GetIpV4Addresses() const
Definition IpAddresses.h:45
IpAddresses & AddIpV4Addresses(const Aws::String &value)
Definition IpAddresses.h:51
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
IpAddresses & AddIpV6Addresses(Aws::String &&value)
Definition IpAddresses.h:67
AWS_DEADLINE_API IpAddresses(Aws::Utils::Json::JsonView jsonValue)
void SetIpV4Addresses(const Aws::Vector< Aws::String > &value)
Definition IpAddresses.h:47
IpAddresses & AddIpV4Addresses(const char *value)
Definition IpAddresses.h:53
IpAddresses & AddIpV6Addresses(const char *value)
Definition IpAddresses.h:68
IpAddresses & WithIpV4Addresses(Aws::Vector< Aws::String > &&value)
Definition IpAddresses.h:50
IpAddresses & AddIpV6Addresses(const Aws::String &value)
Definition IpAddresses.h:66
IpAddresses & WithIpV6Addresses(const Aws::Vector< Aws::String > &value)
Definition IpAddresses.h:64
void SetIpV6Addresses(const Aws::Vector< Aws::String > &value)
Definition IpAddresses.h:62
IpAddresses & AddIpV4Addresses(Aws::String &&value)
Definition IpAddresses.h:52
const Aws::Vector< Aws::String > & GetIpV6Addresses() const
Definition IpAddresses.h:60
IpAddresses & WithIpV6Addresses(Aws::Vector< Aws::String > &&value)
Definition IpAddresses.h:65
void SetIpV4Addresses(Aws::Vector< Aws::String > &&value)
Definition IpAddresses.h:48
AWS_DEADLINE_API IpAddresses & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIpV6Addresses(Aws::Vector< Aws::String > &&value)
Definition IpAddresses.h:63
IpAddresses & WithIpV4Addresses(const Aws::Vector< Aws::String > &value)
Definition IpAddresses.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue