AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
ServiceVpcEndpoint.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/osis/model/VpcEndpointServiceName.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 OSIS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OSIS_API ServiceVpcEndpoint() = default;
40
41
43
46 inline VpcEndpointServiceName GetServiceName() const { return m_serviceName; }
47 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
48 inline void SetServiceName(VpcEndpointServiceName value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
51
53
56 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
57 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
58 template<typename VpcEndpointIdT = Aws::String>
59 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
60 template<typename VpcEndpointIdT = Aws::String>
61 ServiceVpcEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) { SetVpcEndpointId(std::forward<VpcEndpointIdT>(value)); return *this;}
63 private:
64
66 bool m_serviceNameHasBeenSet = false;
67
68 Aws::String m_vpcEndpointId;
69 bool m_vpcEndpointIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace OSIS
74} // namespace Aws
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceVpcEndpoint & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_OSIS_API ServiceVpcEndpoint()=default
AWS_OSIS_API ServiceVpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OSIS_API ServiceVpcEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVpcEndpointId() const
VpcEndpointServiceName GetServiceName() const
void SetServiceName(VpcEndpointServiceName value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
ServiceVpcEndpoint & WithServiceName(VpcEndpointServiceName value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue