AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteVpcEndpointDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
9#include <aws/opensearchserverless/model/VpcEndpointStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace OpenSearchServerless {
21namespace Model {
22
30 public:
31 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail() = default;
32 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
42 template <typename IdT = Aws::String>
43 void SetId(IdT&& value) {
44 m_idHasBeenSet = true;
45 m_id = std::forward<IdT>(value);
46 }
47 template <typename IdT = Aws::String>
49 SetId(std::forward<IdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline VpcEndpointStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(VpcEndpointStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87 private:
88 Aws::String m_id;
89
90 Aws::String m_name;
91
93 bool m_idHasBeenSet = false;
94 bool m_nameHasBeenSet = false;
95 bool m_statusHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace OpenSearchServerless
100} // namespace Aws
DeleteVpcEndpointDetail & WithStatus(VpcEndpointStatus value)
AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail()=default
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue