AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCapabilityArns(const Aws::Vector<Aws::String>& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns = value; }
48 inline void SetCapabilityArns(Aws::Vector<Aws::String>&& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns = std::move(value); }
49 inline DiscoveryData& WithCapabilityArns(const Aws::Vector<Aws::String>& value) { SetCapabilityArns(value); return *this;}
50 inline DiscoveryData& WithCapabilityArns(Aws::Vector<Aws::String>&& value) { SetCapabilityArns(std::move(value)); return *this;}
51 inline DiscoveryData& AddCapabilityArns(const Aws::String& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.push_back(value); return *this; }
52 inline DiscoveryData& AddCapabilityArns(Aws::String&& value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.push_back(std::move(value)); return *this; }
53 inline DiscoveryData& AddCapabilityArns(const char* value) { m_capabilityArnsHasBeenSet = true; m_capabilityArns.push_back(value); return *this; }
55
57
60 inline const Aws::Vector<Aws::String>& GetPrivateIpAddresses() const{ return m_privateIpAddresses; }
61 inline bool PrivateIpAddressesHasBeenSet() const { return m_privateIpAddressesHasBeenSet; }
62 inline void SetPrivateIpAddresses(const Aws::Vector<Aws::String>& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = value; }
63 inline void SetPrivateIpAddresses(Aws::Vector<Aws::String>&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses = std::move(value); }
65 inline DiscoveryData& WithPrivateIpAddresses(Aws::Vector<Aws::String>&& value) { SetPrivateIpAddresses(std::move(value)); return *this;}
66 inline DiscoveryData& AddPrivateIpAddresses(const Aws::String& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; }
67 inline DiscoveryData& AddPrivateIpAddresses(Aws::String&& value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(std::move(value)); return *this; }
68 inline DiscoveryData& AddPrivateIpAddresses(const char* value) { m_privateIpAddressesHasBeenSet = true; m_privateIpAddresses.push_back(value); return *this; }
70
72
75 inline const Aws::Vector<Aws::String>& GetPublicIpAddresses() const{ return m_publicIpAddresses; }
76 inline bool PublicIpAddressesHasBeenSet() const { return m_publicIpAddressesHasBeenSet; }
77 inline void SetPublicIpAddresses(const Aws::Vector<Aws::String>& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses = value; }
78 inline void SetPublicIpAddresses(Aws::Vector<Aws::String>&& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses = std::move(value); }
80 inline DiscoveryData& WithPublicIpAddresses(Aws::Vector<Aws::String>&& value) { SetPublicIpAddresses(std::move(value)); return *this;}
81 inline DiscoveryData& AddPublicIpAddresses(const Aws::String& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.push_back(value); return *this; }
82 inline DiscoveryData& AddPublicIpAddresses(Aws::String&& value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.push_back(std::move(value)); return *this; }
83 inline DiscoveryData& AddPublicIpAddresses(const char* value) { m_publicIpAddressesHasBeenSet = true; m_publicIpAddresses.push_back(value); return *this; }
85 private:
86
87 Aws::Vector<Aws::String> m_capabilityArns;
88 bool m_capabilityArnsHasBeenSet = false;
89
90 Aws::Vector<Aws::String> m_privateIpAddresses;
91 bool m_privateIpAddressesHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_publicIpAddresses;
94 bool m_publicIpAddressesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace GroundStation
99} // namespace Aws
const Aws::Vector< Aws::String > & GetCapabilityArns() const
DiscoveryData & WithPublicIpAddresses(const Aws::Vector< Aws::String > &value)
DiscoveryData & AddCapabilityArns(const char *value)
DiscoveryData & AddCapabilityArns(const Aws::String &value)
DiscoveryData & AddPublicIpAddresses(Aws::String &&value)
DiscoveryData & WithPrivateIpAddresses(Aws::Vector< Aws::String > &&value)
DiscoveryData & AddPrivateIpAddresses(const Aws::String &value)
void SetCapabilityArns(const Aws::Vector< Aws::String > &value)
DiscoveryData & WithPrivateIpAddresses(const Aws::Vector< Aws::String > &value)
void SetPrivateIpAddresses(Aws::Vector< Aws::String > &&value)
DiscoveryData & AddPublicIpAddresses(const Aws::String &value)
const Aws::Vector< Aws::String > & GetPrivateIpAddresses() const
void SetCapabilityArns(Aws::Vector< Aws::String > &&value)
DiscoveryData & AddCapabilityArns(Aws::String &&value)
DiscoveryData & WithCapabilityArns(const Aws::Vector< Aws::String > &value)
DiscoveryData & AddPrivateIpAddresses(const char *value)
AWS_GROUNDSTATION_API DiscoveryData(Aws::Utils::Json::JsonView jsonValue)
void SetPrivateIpAddresses(const Aws::Vector< Aws::String > &value)
AWS_GROUNDSTATION_API DiscoveryData & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPublicIpAddresses(const Aws::Vector< Aws::String > &value)
void SetPublicIpAddresses(Aws::Vector< Aws::String > &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API DiscoveryData()
DiscoveryData & WithPublicIpAddresses(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetPublicIpAddresses() const
DiscoveryData & AddPrivateIpAddresses(Aws::String &&value)
DiscoveryData & AddPublicIpAddresses(const char *value)
DiscoveryData & WithCapabilityArns(Aws::Vector< 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