AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/EgressConfiguration.h>
9#include <aws/apprunner/model/IngressConfiguration.h>
10#include <aws/apprunner/model/IpAddressType.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 AppRunner
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_APPRUNNER_API NetworkConfiguration();
41 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const EgressConfiguration& GetEgressConfiguration() const{ return m_egressConfiguration; }
49 inline bool EgressConfigurationHasBeenSet() const { return m_egressConfigurationHasBeenSet; }
50 inline void SetEgressConfiguration(const EgressConfiguration& value) { m_egressConfigurationHasBeenSet = true; m_egressConfiguration = value; }
51 inline void SetEgressConfiguration(EgressConfiguration&& value) { m_egressConfigurationHasBeenSet = true; m_egressConfiguration = std::move(value); }
55
57
60 inline const IngressConfiguration& GetIngressConfiguration() const{ return m_ingressConfiguration; }
61 inline bool IngressConfigurationHasBeenSet() const { return m_ingressConfigurationHasBeenSet; }
62 inline void SetIngressConfiguration(const IngressConfiguration& value) { m_ingressConfigurationHasBeenSet = true; m_ingressConfiguration = value; }
63 inline void SetIngressConfiguration(IngressConfiguration&& value) { m_ingressConfigurationHasBeenSet = true; m_ingressConfiguration = std::move(value); }
67
69
80 inline const IpAddressType& GetIpAddressType() const{ return m_ipAddressType; }
81 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
82 inline void SetIpAddressType(const IpAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
83 inline void SetIpAddressType(IpAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); }
84 inline NetworkConfiguration& WithIpAddressType(const IpAddressType& value) { SetIpAddressType(value); return *this;}
85 inline NetworkConfiguration& WithIpAddressType(IpAddressType&& value) { SetIpAddressType(std::move(value)); return *this;}
87 private:
88
89 EgressConfiguration m_egressConfiguration;
90 bool m_egressConfigurationHasBeenSet = false;
91
92 IngressConfiguration m_ingressConfiguration;
93 bool m_ingressConfigurationHasBeenSet = false;
94
95 IpAddressType m_ipAddressType;
96 bool m_ipAddressTypeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace AppRunner
101} // namespace Aws
NetworkConfiguration & WithEgressConfiguration(const EgressConfiguration &value)
NetworkConfiguration & WithIpAddressType(const IpAddressType &value)
const IngressConfiguration & GetIngressConfiguration() const
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpAddressType(const IpAddressType &value)
void SetIngressConfiguration(const IngressConfiguration &value)
NetworkConfiguration & WithIngressConfiguration(const IngressConfiguration &value)
void SetIngressConfiguration(IngressConfiguration &&value)
void SetEgressConfiguration(const EgressConfiguration &value)
NetworkConfiguration & WithEgressConfiguration(EgressConfiguration &&value)
NetworkConfiguration & WithIpAddressType(IpAddressType &&value)
AWS_APPRUNNER_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetEgressConfiguration(EgressConfiguration &&value)
const EgressConfiguration & GetEgressConfiguration() const
NetworkConfiguration & WithIngressConfiguration(IngressConfiguration &&value)
AWS_APPRUNNER_API NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue