AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DiscoveryData.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace GroundStation {
21namespace Model {
22
29 public:
30 AWS_GROUNDSTATION_API DiscoveryData() = default;
31 AWS_GROUNDSTATION_API DiscoveryData(Aws::Utils::Json::JsonView jsonValue);
32 AWS_GROUNDSTATION_API DiscoveryData& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<Aws::String>& GetPublicIpAddresses() const { return m_publicIpAddresses; }
40 inline bool PublicIpAddressesHasBeenSet() const { return m_publicIpAddressesHasBeenSet; }
41 template <typename PublicIpAddressesT = Aws::Vector<Aws::String>>
42 void SetPublicIpAddresses(PublicIpAddressesT&& value) {
43 m_publicIpAddressesHasBeenSet = true;
44 m_publicIpAddresses = std::forward<PublicIpAddressesT>(value);
45 }
46 template <typename PublicIpAddressesT = Aws::Vector<Aws::String>>
47 DiscoveryData& WithPublicIpAddresses(PublicIpAddressesT&& value) {
48 SetPublicIpAddresses(std::forward<PublicIpAddressesT>(value));
49 return *this;
50 }
51 template <typename PublicIpAddressesT = Aws::String>
52 DiscoveryData& AddPublicIpAddresses(PublicIpAddressesT&& value) {
53 m_publicIpAddressesHasBeenSet = true;
54 m_publicIpAddresses.emplace_back(std::forward<PublicIpAddressesT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::Vector<Aws::String>& GetPrivateIpAddresses() const { return m_privateIpAddresses; }
64 inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; }
65 template <typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
66 void SetPrivateIpAddresses(PrivateIpAddressesT&& value) {
67 m_privateIpAddressesHasBeenSet = true;
68 m_privateIpAddresses = std::forward<PrivateIpAddressesT>(value);
69 }
70 template <typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
71 DiscoveryData& WithPrivateIpAddresses(PrivateIpAddressesT&& value) {
72 SetPrivateIpAddresses(std::forward<PrivateIpAddressesT>(value));
73 return *this;
74 }
75 template <typename PrivateIpAddressesT = Aws::String>
76 DiscoveryData& AddPrivateIpAddresses(PrivateIpAddressesT&& value) {
77 m_privateIpAddressesHasBeenSet = true;
78 m_privateIpAddresses.emplace_back(std::forward<PrivateIpAddressesT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Vector<Aws::String>& GetCapabilityArns() const { return m_capabilityArns; }
88 inline bool CapabilityArnsHasBeenSet() const { return m_capabilityArnsHasBeenSet; }
89 template <typename CapabilityArnsT = Aws::Vector<Aws::String>>
90 void SetCapabilityArns(CapabilityArnsT&& value) {
91 m_capabilityArnsHasBeenSet = true;
92 m_capabilityArns = std::forward<CapabilityArnsT>(value);
93 }
94 template <typename CapabilityArnsT = Aws::Vector<Aws::String>>
95 DiscoveryData& WithCapabilityArns(CapabilityArnsT&& value) {
96 SetCapabilityArns(std::forward<CapabilityArnsT>(value));
97 return *this;
98 }
99 template <typename CapabilityArnsT = Aws::String>
100 DiscoveryData& AddCapabilityArns(CapabilityArnsT&& value) {
101 m_capabilityArnsHasBeenSet = true;
102 m_capabilityArns.emplace_back(std::forward<CapabilityArnsT>(value));
103 return *this;
104 }
106 private:
107 Aws::Vector<Aws::String> m_publicIpAddresses;
108
109 Aws::Vector<Aws::String> m_privateIpAddresses;
110
111 Aws::Vector<Aws::String> m_capabilityArns;
112 bool m_publicIpAddressesHasBeenSet = false;
113 bool m_privateIpAddressesHasBeenSet = false;
114 bool m_capabilityArnsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace GroundStation
119} // namespace Aws
const Aws::Vector< Aws::String > & GetCapabilityArns() const
DiscoveryData & AddCapabilityArns(CapabilityArnsT &&value)
DiscoveryData & WithPublicIpAddresses(PublicIpAddressesT &&value)
AWS_GROUNDSTATION_API DiscoveryData()=default
void SetPrivateIpAddresses(PrivateIpAddressesT &&value)
const Aws::Vector< Aws::String > & GetPrivateIpAddresses() const
DiscoveryData & WithPrivateIpAddresses(PrivateIpAddressesT &&value)
DiscoveryData & AddPublicIpAddresses(PublicIpAddressesT &&value)
void SetCapabilityArns(CapabilityArnsT &&value)
DiscoveryData & WithCapabilityArns(CapabilityArnsT &&value)
void SetPublicIpAddresses(PublicIpAddressesT &&value)
AWS_GROUNDSTATION_API DiscoveryData(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API DiscoveryData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
DiscoveryData & AddPrivateIpAddresses(PrivateIpAddressesT &&value)
const Aws::Vector< Aws::String > & GetPublicIpAddresses() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue