AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DiscoveryData.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_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 GroundStation
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GROUNDSTATION_API DiscoveryData() = default;
36 AWS_GROUNDSTATION_API DiscoveryData(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API DiscoveryData& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetCapabilityArns() const { return m_capabilityArns; }
46 inline bool CapabilityArnsHasBeenSet() const { return m_capabilityArnsHasBeenSet; }
47 template<typename CapabilityArnsT = Aws::Vector<Aws::String>>
48 void SetCapabilityArns(CapabilityArnsT&& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns = std::forward<CapabilityArnsT>(value); }
49 template<typename CapabilityArnsT = Aws::Vector<Aws::String>>
50 DiscoveryData& WithCapabilityArns(CapabilityArnsT&& value) { SetCapabilityArns(std::forward<CapabilityArnsT>(value)); return *this;}
51 template<typename CapabilityArnsT = Aws::String>
52 DiscoveryData& AddCapabilityArns(CapabilityArnsT&& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.emplace_back(std::forward<CapabilityArnsT>(value)); return *this; }
54
56
59 inline const Aws::Vector<Aws::String>& GetPrivateIpAddresses() const { return m_privateIpAddresses; }
60 inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; }
61 template<typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
62 void SetPrivateIpAddresses(PrivateIpAddressesT&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = std::forward<PrivateIpAddressesT>(value); }
63 template<typename PrivateIpAddressesT = Aws::Vector<Aws::String>>
64 DiscoveryData& WithPrivateIpAddresses(PrivateIpAddressesT&& value) { SetPrivateIpAddresses(std::forward<PrivateIpAddressesT>(value)); return *this;}
65 template<typename PrivateIpAddressesT = Aws::String>
66 DiscoveryData& AddPrivateIpAddresses(PrivateIpAddressesT&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.emplace_back(std::forward<PrivateIpAddressesT>(value)); return *this; }
68
70
73 inline const Aws::Vector<Aws::String>& GetPublicIpAddresses() const { return m_publicIpAddresses; }
74 inline bool PublicIpAddressesHasBeenSet() const { return m_publicIpAddressesHasBeenSet; }
75 template<typename PublicIpAddressesT = Aws::Vector<Aws::String>>
76 void SetPublicIpAddresses(PublicIpAddressesT&& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses = std::forward<PublicIpAddressesT>(value); }
77 template<typename PublicIpAddressesT = Aws::Vector<Aws::String>>
78 DiscoveryData& WithPublicIpAddresses(PublicIpAddressesT&& value) { SetPublicIpAddresses(std::forward<PublicIpAddressesT>(value)); return *this;}
79 template<typename PublicIpAddressesT = Aws::String>
80 DiscoveryData& AddPublicIpAddresses(PublicIpAddressesT&& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.emplace_back(std::forward<PublicIpAddressesT>(value)); return *this; }
82 private:
83
84 Aws::Vector<Aws::String> m_capabilityArns;
85 bool m_capabilityArnsHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_privateIpAddresses;
88 bool m_privateIpAddressesHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_publicIpAddresses;
91 bool m_publicIpAddressesHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace GroundStation
96} // 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