AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AppRunner {
21namespace Model {
22
30 public:
31 AWS_APPRUNNER_API EgressConfiguration() = default;
32 AWS_APPRUNNER_API EgressConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline EgressType GetEgressType() const { return m_egressType; }
44 inline bool EgressTypeHasBeenSet() const { return m_egressTypeHasBeenSet; }
45 inline void SetEgressType(EgressType value) {
46 m_egressTypeHasBeenSet = true;
47 m_egressType = value;
48 }
50 SetEgressType(value);
51 return *this;
52 }
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) {
65 m_vpcConnectorArnHasBeenSet = true;
66 m_vpcConnectorArn = std::forward<VpcConnectorArnT>(value);
67 }
68 template <typename VpcConnectorArnT = Aws::String>
69 EgressConfiguration& WithVpcConnectorArn(VpcConnectorArnT&& value) {
70 SetVpcConnectorArn(std::forward<VpcConnectorArnT>(value));
71 return *this;
72 }
74 private:
75 EgressType m_egressType{EgressType::NOT_SET};
76
77 Aws::String m_vpcConnectorArn;
78 bool m_egressTypeHasBeenSet = false;
79 bool m_vpcConnectorArnHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace AppRunner
84} // 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