AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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() = default;
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 template<typename VpcEndpointIdT = Aws::String>
49 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
50 template<typename VpcEndpointIdT = Aws::String>
51 VpcEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetVpcId() const { return m_vpcId; }
60 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
61 template<typename VpcIdT = Aws::String>
62 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
63 template<typename VpcIdT = Aws::String>
64 VpcEndpoint& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
66
68
72 inline const VpcOptions& GetVpcOptions() const { return m_vpcOptions; }
73 inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; }
74 template<typename VpcOptionsT = VpcOptions>
75 void SetVpcOptions(VpcOptionsT&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::forward<VpcOptionsT>(value); }
76 template<typename VpcOptionsT = VpcOptions>
77 VpcEndpoint& WithVpcOptions(VpcOptionsT&& value) { SetVpcOptions(std::forward<VpcOptionsT>(value)); return *this;}
79 private:
80
81 Aws::String m_vpcEndpointId;
82 bool m_vpcEndpointIdHasBeenSet = false;
83
84 Aws::String m_vpcId;
85 bool m_vpcIdHasBeenSet = false;
86
87 VpcOptions m_vpcOptions;
88 bool m_vpcOptionsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace OSIS
93} // namespace Aws
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpcOptions(VpcOptionsT &&value)
Definition VpcEndpoint.h:75
const Aws::String & GetVpcEndpointId() const
Definition VpcEndpoint.h:46
void SetVpcId(VpcIdT &&value)
Definition VpcEndpoint.h:62
const Aws::String & GetVpcId() const
Definition VpcEndpoint.h:59
VpcEndpoint & WithVpcId(VpcIdT &&value)
Definition VpcEndpoint.h:64
AWS_OSIS_API VpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OSIS_API VpcEndpoint()=default
bool VpcEndpointIdHasBeenSet() const
Definition VpcEndpoint.h:47
void SetVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:49
const VpcOptions & GetVpcOptions() const
Definition VpcEndpoint.h:72
VpcEndpoint & WithVpcEndpointId(VpcEndpointIdT &&value)
Definition VpcEndpoint.h:51
VpcEndpoint & WithVpcOptions(VpcOptionsT &&value)
Definition VpcEndpoint.h:77
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