AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const VpcEndpointServiceName& GetServiceName() const{ return m_serviceName; }
47 inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
48 inline void SetServiceName(const VpcEndpointServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
49 inline void SetServiceName(VpcEndpointServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
50 inline ServiceVpcEndpoint& WithServiceName(const VpcEndpointServiceName& value) { SetServiceName(value); return *this;}
51 inline ServiceVpcEndpoint& WithServiceName(VpcEndpointServiceName&& value) { SetServiceName(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; }
59 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
60 inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; }
61 inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); }
62 inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); }
63 inline ServiceVpcEndpoint& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;}
64 inline ServiceVpcEndpoint& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;}
65 inline ServiceVpcEndpoint& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;}
67 private:
68
69 VpcEndpointServiceName m_serviceName;
70 bool m_serviceNameHasBeenSet = false;
71
72 Aws::String m_vpcEndpointId;
73 bool m_vpcEndpointIdHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace OSIS
78} // namespace Aws
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceName(const VpcEndpointServiceName &value)
AWS_OSIS_API ServiceVpcEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceVpcEndpoint & WithServiceName(const VpcEndpointServiceName &value)
AWS_OSIS_API ServiceVpcEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetServiceName(VpcEndpointServiceName &&value)
const Aws::String & GetVpcEndpointId() const
ServiceVpcEndpoint & WithVpcEndpointId(const char *value)
void SetVpcEndpointId(const Aws::String &value)
const VpcEndpointServiceName & GetServiceName() const
void SetVpcEndpointId(Aws::String &&value)
ServiceVpcEndpoint & WithServiceName(VpcEndpointServiceName &&value)
ServiceVpcEndpoint & WithVpcEndpointId(const Aws::String &value)
ServiceVpcEndpoint & WithVpcEndpointId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue