AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename EgressConfigurationT = EgressConfiguration>
51 void SetEgressConfiguration(EgressConfigurationT&& value) { m_egressConfigurationHasBeenSet = true; m_egressConfiguration = std::forward<EgressConfigurationT>(value); }
52 template<typename EgressConfigurationT = EgressConfiguration>
53 NetworkConfiguration& WithEgressConfiguration(EgressConfigurationT&& value) { SetEgressConfiguration(std::forward<EgressConfigurationT>(value)); return *this;}
55
57
60 inline const IngressConfiguration& GetIngressConfiguration() const { return m_ingressConfiguration; }
61 inline bool IngressConfigurationHasBeenSet() const { return m_ingressConfigurationHasBeenSet; }
62 template<typename IngressConfigurationT = IngressConfiguration>
63 void SetIngressConfiguration(IngressConfigurationT&& value) { m_ingressConfigurationHasBeenSet = true; m_ingressConfiguration = std::forward<IngressConfigurationT>(value); }
64 template<typename IngressConfigurationT = IngressConfiguration>
65 NetworkConfiguration& WithIngressConfiguration(IngressConfigurationT&& value) { SetIngressConfiguration(std::forward<IngressConfigurationT>(value)); return *this;}
67
69
80 inline IpAddressType GetIpAddressType() const { return m_ipAddressType; }
81 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
82 inline void SetIpAddressType(IpAddressType value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; }
85 private:
86
87 EgressConfiguration m_egressConfiguration;
88 bool m_egressConfigurationHasBeenSet = false;
89
90 IngressConfiguration m_ingressConfiguration;
91 bool m_ingressConfigurationHasBeenSet = false;
92
94 bool m_ipAddressTypeHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AppRunner
99} // namespace Aws
const IngressConfiguration & GetIngressConfiguration() const
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkConfiguration & WithIpAddressType(IpAddressType value)
AWS_APPRUNNER_API NetworkConfiguration()=default
NetworkConfiguration & WithEgressConfiguration(EgressConfigurationT &&value)
void SetIngressConfiguration(IngressConfigurationT &&value)
NetworkConfiguration & WithIngressConfiguration(IngressConfigurationT &&value)
AWS_APPRUNNER_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
const EgressConfiguration & GetEgressConfiguration() const
void SetEgressConfiguration(EgressConfigurationT &&value)
AWS_APPRUNNER_API NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue