AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpoint.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/osis/model/VpcOptions.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 OSIS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OSIS_API VpcEndpoint();
37 AWS_OSIS_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
47 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
48 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
49 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
50 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
51 inline VpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
52 inline VpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
53 inline VpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
55
57
61 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
62 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
63 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
64 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
65 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
66 inline VpcEndpoint& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
67 inline VpcEndpoint& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
68 inline VpcEndpoint& WithVpcId(const char* value) { SetVpcId(value); return *this;}
70
72
76 inline const VpcOptions& GetVpcOptions() const{ return m_vpcOptions; }
77 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
78 inline void SetVpcOptions(const VpcOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; }
79 inline void SetVpcOptions(VpcOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); }
80 inline VpcEndpoint& WithVpcOptions(const VpcOptions& value) { SetVpcOptions(value); return *this;}
81 inline VpcEndpoint& WithVpcOptions(VpcOptions&& value) { SetVpcOptions(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_vpcEndpointId;
86 bool m_vpcEndpointIdHasBeenSet = false;
87
88 Aws::String m_vpcId;
89 bool m_vpcIdHasBeenSet = false;
90
91 VpcOptions m_vpcOptions;
92 bool m_vpcOptionsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace OSIS
97} // namespace Aws
VpcEndpoint & WithVpcEndpointId(const char *value)
Definition VpcEndpoint.h:53
void SetVpcOptions(VpcOptions &&value)
Definition VpcEndpoint.h:79
VpcEndpoint & WithVpcId(const char *value)
Definition VpcEndpoint.h:68
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcEndpointId(const char *value)
Definition VpcEndpoint.h:50
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:46
void SetVpcId(const char *value)
Definition VpcEndpoint.h:65
VpcEndpoint & WithVpcId(const Aws::String &value)
Definition VpcEndpoint.h:66
void SetVpcId(const Aws::String &value)
Definition VpcEndpoint.h:63
const Aws::String & GetVpcId() const
Definition VpcEndpoint.h:61
VpcEndpoint & WithVpcOptions(const VpcOptions &value)
Definition VpcEndpoint.h:80
VpcEndpoint & WithVpcId(Aws::String &&value)
Definition VpcEndpoint.h:67
AWS_OSIS_API VpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVpcOptions(const VpcOptions &value)
Definition VpcEndpoint.h:78
VpcEndpoint & WithVpcOptions(VpcOptions &&value)
Definition VpcEndpoint.h:81
bool VpcEndpointIdHasBeenSet() const
Definition VpcEndpoint.h:47
VpcEndpoint & WithVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:52
void SetVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:48
void SetVpcEndpointId(Aws::String &&value)
Definition VpcEndpoint.h:49
VpcEndpoint & WithVpcEndpointId(const Aws::String &value)
Definition VpcEndpoint.h:51
const VpcOptions & GetVpcOptions() const
Definition VpcEndpoint.h:76
void SetVpcId(Aws::String &&value)
Definition VpcEndpoint.h:64
AWS_OSIS_API VpcEndpoint(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue