AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVpcEndpointDetail.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
37 {
38 public:
39 AWS_OPENSEARCHSERVERLESS_API CreateVpcEndpointDetail();
40 AWS_OPENSEARCHSERVERLESS_API CreateVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue);
41 AWS_OPENSEARCHSERVERLESS_API CreateVpcEndpointDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline CreateVpcEndpointDetail& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline CreateVpcEndpointDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline CreateVpcEndpointDetail& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetName() const{ return m_name; }
64 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
65 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
67 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
68 inline CreateVpcEndpointDetail& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline CreateVpcEndpointDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline CreateVpcEndpointDetail& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline const VpcEndpointStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const VpcEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(VpcEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline CreateVpcEndpointDetail& WithStatus(const VpcEndpointStatus& value) { SetStatus(value); return *this;}
82 inline CreateVpcEndpointDetail& WithStatus(VpcEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
84 private:
85
86 Aws::String m_id;
87 bool m_idHasBeenSet = false;
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
92 VpcEndpointStatus m_status;
93 bool m_statusHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace OpenSearchServerless
98} // namespace Aws
CreateVpcEndpointDetail & WithName(const Aws::String &value)
CreateVpcEndpointDetail & WithId(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
CreateVpcEndpointDetail & WithId(const Aws::String &value)
CreateVpcEndpointDetail & WithName(const char *value)
CreateVpcEndpointDetail & WithStatus(const VpcEndpointStatus &value)
CreateVpcEndpointDetail & WithStatus(VpcEndpointStatus &&value)
AWS_OPENSEARCHSERVERLESS_API CreateVpcEndpointDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API CreateVpcEndpointDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateVpcEndpointDetail & WithId(Aws::String &&value)
CreateVpcEndpointDetail & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue