AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
SimulationAppEndpointInfo.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/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
10#include <aws/simspaceweaver/model/SimulationAppPortMapping.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SimSpaceWeaver {
22namespace Model {
23
34 public:
35 AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo() = default;
36 AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline const Aws::String& GetAddress() const { return m_address; }
46 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
47 template <typename AddressT = Aws::String>
48 void SetAddress(AddressT&& value) {
49 m_addressHasBeenSet = true;
50 m_address = std::forward<AddressT>(value);
51 }
52 template <typename AddressT = Aws::String>
54 SetAddress(std::forward<AddressT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::Vector<SimulationAppPortMapping>& GetIngressPortMappings() const { return m_ingressPortMappings; }
65 inline bool IngressPortMappingsHasBeenSet() const { return m_ingressPortMappingsHasBeenSet; }
66 template <typename IngressPortMappingsT = Aws::Vector<SimulationAppPortMapping>>
67 void SetIngressPortMappings(IngressPortMappingsT&& value) {
68 m_ingressPortMappingsHasBeenSet = true;
69 m_ingressPortMappings = std::forward<IngressPortMappingsT>(value);
70 }
71 template <typename IngressPortMappingsT = Aws::Vector<SimulationAppPortMapping>>
72 SimulationAppEndpointInfo& WithIngressPortMappings(IngressPortMappingsT&& value) {
73 SetIngressPortMappings(std::forward<IngressPortMappingsT>(value));
74 return *this;
75 }
76 template <typename IngressPortMappingsT = SimulationAppPortMapping>
77 SimulationAppEndpointInfo& AddIngressPortMappings(IngressPortMappingsT&& value) {
78 m_ingressPortMappingsHasBeenSet = true;
79 m_ingressPortMappings.emplace_back(std::forward<IngressPortMappingsT>(value));
80 return *this;
81 }
83 private:
84 Aws::String m_address;
85
86 Aws::Vector<SimulationAppPortMapping> m_ingressPortMappings;
87 bool m_addressHasBeenSet = false;
88 bool m_ingressPortMappingsHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace SimSpaceWeaver
93} // namespace Aws
AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo()=default
SimulationAppEndpointInfo & WithAddress(AddressT &&value)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo(Aws::Utils::Json::JsonView jsonValue)
SimulationAppEndpointInfo & AddIngressPortMappings(IngressPortMappingsT &&value)
SimulationAppEndpointInfo & WithIngressPortMappings(IngressPortMappingsT &&value)
const Aws::Vector< SimulationAppPortMapping > & GetIngressPortMappings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue