AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const EgressType& GetEgressType() const{ return m_egressType; }
50 inline bool EgressTypeHasBeenSet() const { return m_egressTypeHasBeenSet; }
51 inline void SetEgressType(const EgressType& value) { m_egressTypeHasBeenSet = true; m_egressType = value; }
52 inline void SetEgressType(EgressType&& value) { m_egressTypeHasBeenSet = true; m_egressType = std::move(value); }
53 inline EgressConfiguration& WithEgressType(const EgressType& value) { SetEgressType(value); return *this;}
54 inline EgressConfiguration& WithEgressType(EgressType&& value) { SetEgressType(std::move(value)); return *this;}
56
58
63 inline const Aws::String& GetVpcConnectorArn() const{ return m_vpcConnectorArn; }
64 inline bool VpcConnectorArnHasBeenSet() const { return m_vpcConnectorArnHasBeenSet; }
65 inline void SetVpcConnectorArn(const Aws::String& value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn = value; }
66 inline void SetVpcConnectorArn(Aws::String&& value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn = std::move(value); }
67 inline void SetVpcConnectorArn(const char* value) { m_vpcConnectorArnHasBeenSet = true; m_vpcConnectorArn.assign(value); }
68 inline EgressConfiguration& WithVpcConnectorArn(const Aws::String& value) { SetVpcConnectorArn(value); return *this;}
69 inline EgressConfiguration& WithVpcConnectorArn(Aws::String&& value) { SetVpcConnectorArn(std::move(value)); return *this;}
70 inline EgressConfiguration& WithVpcConnectorArn(const char* value) { SetVpcConnectorArn(value); return *this;}
72 private:
73
74 EgressType m_egressType;
75 bool m_egressTypeHasBeenSet = false;
76
77 Aws::String m_vpcConnectorArn;
78 bool m_vpcConnectorArnHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace AppRunner
83} // namespace Aws
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcConnectorArn(const Aws::String &value)
EgressConfiguration & WithEgressType(EgressType &&value)
EgressConfiguration & WithVpcConnectorArn(const Aws::String &value)
void SetEgressType(const EgressType &value)
EgressConfiguration & WithEgressType(const EgressType &value)
AWS_APPRUNNER_API EgressConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPRUNNER_API EgressConfiguration(Aws::Utils::Json::JsonView jsonValue)
EgressConfiguration & WithVpcConnectorArn(Aws::String &&value)
EgressConfiguration & WithVpcConnectorArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue