AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ServiceNetworkEndpoint.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/odb/Odb_EXPORTS.h>
9#include <aws/odb/model/VpcEndpointType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace odb {
21namespace Model {
22
30 public:
31 AWS_ODB_API ServiceNetworkEndpoint() = default;
35
37
40 inline const Aws::String& GetVpcEndpointId() const { return m_vpcEndpointId; }
41 inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; }
42 template <typename VpcEndpointIdT = Aws::String>
43 void SetVpcEndpointId(VpcEndpointIdT&& value) {
44 m_vpcEndpointIdHasBeenSet = true;
45 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
46 }
47 template <typename VpcEndpointIdT = Aws::String>
48 ServiceNetworkEndpoint& WithVpcEndpointId(VpcEndpointIdT&& value) {
49 SetVpcEndpointId(std::forward<VpcEndpointIdT>(value));
50 return *this;
51 }
53
55
58 inline VpcEndpointType GetVpcEndpointType() const { return m_vpcEndpointType; }
59 inline bool VpcEndpointTypeHasBeenSet() const { return m_vpcEndpointTypeHasBeenSet; }
61 m_vpcEndpointTypeHasBeenSet = true;
62 m_vpcEndpointType = value;
63 }
65 SetVpcEndpointType(value);
66 return *this;
67 }
69 private:
70 Aws::String m_vpcEndpointId;
71
73 bool m_vpcEndpointIdHasBeenSet = false;
74 bool m_vpcEndpointTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace odb
79} // namespace Aws
AWS_ODB_API ServiceNetworkEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceNetworkEndpoint & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_ODB_API ServiceNetworkEndpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ODB_API ServiceNetworkEndpoint()=default
ServiceNetworkEndpoint & WithVpcEndpointType(VpcEndpointType value)
void SetVpcEndpointId(VpcEndpointIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue