AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
54 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
55 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
56 inline SimulationAppEndpointInfo& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
57 inline SimulationAppEndpointInfo& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
58 inline SimulationAppEndpointInfo& WithAddress(const char* value) { SetAddress(value); return *this;}
60
62
66 inline const Aws::Vector<SimulationAppPortMapping>& GetIngressPortMappings() const{ return m_ingressPortMappings; }
67 inline bool IngressPortMappingsHasBeenSet() const { return m_ingressPortMappingsHasBeenSet; }
68 inline void SetIngressPortMappings(const Aws::Vector<SimulationAppPortMapping>& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings = value; }
69 inline void SetIngressPortMappings(Aws::Vector<SimulationAppPortMapping>&& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings = std::move(value); }
72 inline SimulationAppEndpointInfo& AddIngressPortMappings(const SimulationAppPortMapping& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings.push_back(value); return *this; }
73 inline SimulationAppEndpointInfo& AddIngressPortMappings(SimulationAppPortMapping&& value) { m_ingressPortMappingsHasBeenSet = true; m_ingressPortMappings.push_back(std::move(value)); return *this; }
75 private:
76
77 Aws::String m_address;
78 bool m_addressHasBeenSet = false;
79
80 Aws::Vector<SimulationAppPortMapping> m_ingressPortMappings;
81 bool m_ingressPortMappingsHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SimSpaceWeaver
86} // namespace Aws
SimulationAppEndpointInfo & WithAddress(const char *value)
void SetIngressPortMappings(Aws::Vector< SimulationAppPortMapping > &&value)
void SetIngressPortMappings(const Aws::Vector< SimulationAppPortMapping > &value)
SimulationAppEndpointInfo & AddIngressPortMappings(SimulationAppPortMapping &&value)
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
SimulationAppEndpointInfo & WithIngressPortMappings(Aws::Vector< SimulationAppPortMapping > &&value)
SimulationAppEndpointInfo & WithAddress(Aws::String &&value)
AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SIMSPACEWEAVER_API SimulationAppEndpointInfo(Aws::Utils::Json::JsonView jsonValue)
SimulationAppEndpointInfo & AddIngressPortMappings(const SimulationAppPortMapping &value)
SimulationAppEndpointInfo & WithIngressPortMappings(const Aws::Vector< SimulationAppPortMapping > &value)
const Aws::Vector< SimulationAppPortMapping > & GetIngressPortMappings() const
SimulationAppEndpointInfo & WithAddress(const 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