AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IngressVpcConfiguration.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AppRunner
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_APPRUNNER_API IngressVpcConfiguration();
40 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
48 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
49 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
50 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
51 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
52 inline IngressVpcConfiguration& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
53 inline IngressVpcConfiguration& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
54 inline IngressVpcConfiguration& WithVpcId(const char* value) { SetVpcId(value); return *this;}
56
58
61 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
62 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
63 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
64 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
65 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
66 inline IngressVpcConfiguration& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
67 inline IngressVpcConfiguration& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
68 inline IngressVpcConfiguration& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
70 private:
71
72 Aws::String m_vpcId;
73 bool m_vpcIdHasBeenSet = false;
74
75 Aws::String m_vpcEndpointId;
76 bool m_vpcEndpointIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AppRunner
81} // namespace Aws
IngressVpcConfiguration & WithVpcId(const char *value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
IngressVpcConfiguration & WithVpcEndpointId(const Aws::String &value)
IngressVpcConfiguration & WithVpcId(Aws::String &&value)
IngressVpcConfiguration & WithVpcId(const Aws::String &value)
AWS_APPRUNNER_API IngressVpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
IngressVpcConfiguration & WithVpcEndpointId(const char *value)
IngressVpcConfiguration & WithVpcEndpointId(Aws::String &&value)
AWS_APPRUNNER_API IngressVpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue