AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteVpcEndpointDetail.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/opensearchserverless/model/VpcEndpointStatus.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 OpenSearchServerless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail() = default;
37 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 DeleteVpcEndpointDetail& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 DeleteVpcEndpointDetail& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline VpcEndpointStatus GetStatus() const { return m_status; }
71 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
72 inline void SetStatus(VpcEndpointStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline DeleteVpcEndpointDetail& WithStatus(VpcEndpointStatus value) { SetStatus(value); return *this;}
75 private:
76
77 Aws::String m_id;
78 bool m_idHasBeenSet = false;
79
80 Aws::String m_name;
81 bool m_nameHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace OpenSearchServerless
89} // 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