AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
EgressConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/apprunner/model/EgressType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppRunner
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPRUNNER_API EgressConfiguration() = default;
37 AWS_APPRUNNER_API EgressConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline EgressType GetEgressType() const { return m_egressType; }
50 inline bool EgressTypeHasBeenSet() const { return m_egressTypeHasBeenSet; }
51 inline void SetEgressType(EgressType value) { m_egressTypeHasBeenSet = true; m_egressType = value; }
52 inline EgressConfiguration& WithEgressType(EgressType value) { SetEgressType(value); return *this;}
54
56
61 inline const Aws::String& GetVpcConnectorArn() const { return m_vpcConnectorArn; }
62 inline bool VpcConnectorArnHasBeenSet() const { return m_vpcConnectorArnHasBeenSet; }
63 template<typename VpcConnectorArnT = Aws::String>
64 void SetVpcConnectorArn(VpcConnectorArnT&& value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn = std::forward<VpcConnectorArnT>(value); }
65 template<typename VpcConnectorArnT = Aws::String>
66 EgressConfiguration& WithVpcConnectorArn(VpcConnectorArnT&& value) { SetVpcConnectorArn(std::forward<VpcConnectorArnT>(value)); return *this;}
68 private:
69
70 EgressType m_egressType{EgressType::NOT_SET};
71 bool m_egressTypeHasBeenSet = false;
72
73 Aws::String m_vpcConnectorArn;
74 bool m_vpcConnectorArnHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppRunner
79} // namespace Aws
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
EgressConfiguration & WithEgressType(EgressType value)
AWS_APPRUNNER_API EgressConfiguration()=default
AWS_APPRUNNER_API EgressConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API EgressConfiguration(Aws::Utils::Json::JsonView jsonValue)
EgressConfiguration & WithVpcConnectorArn(VpcConnectorArnT &&value)
void SetVpcConnectorArn(VpcConnectorArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue