AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SimulationAppEndpointInfo.h
1
6#pragma once
7#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/simspaceweaver/model/SimulationAppPortMapping.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SimSpaceWeaver
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo() = default;
41 AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::String& GetAddress() const { return m_address; }
52 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
53 template<typename AddressT = Aws::String>
54 void SetAddress(AddressT&& value) { m_addressHasBeenSet = true; m_address = std::forward<AddressT>(value); }
55 template<typename AddressT = Aws::String>
56 SimulationAppEndpointInfo& WithAddress(AddressT&& value) { SetAddress(std::forward<AddressT>(value)); return *this;}
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) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings = std::forward<IngressPortMappingsT>(value); }
68 template<typename IngressPortMappingsT = Aws::Vector<SimulationAppPortMapping>>
69 SimulationAppEndpointInfo& WithIngressPortMappings(IngressPortMappingsT&& value) { SetIngressPortMappings(std::forward<IngressPortMappingsT>(value)); return *this;}
70 template<typename IngressPortMappingsT = SimulationAppPortMapping>
71 SimulationAppEndpointInfo& AddIngressPortMappings(IngressPortMappingsT&& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings.emplace_back(std::forward<IngressPortMappingsT>(value)); return *this; }
73 private:
74
75 Aws::String m_address;
76 bool m_addressHasBeenSet = false;
77
78 Aws::Vector<SimulationAppPortMapping> m_ingressPortMappings;
79 bool m_ingressPortMappingsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace SimSpaceWeaver
84} // 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