AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VpcEndpointSummary.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
33 {
34 public:
35 AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary();
36 AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline VpcEndpointSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline VpcEndpointSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline VpcEndpointSummary& WithId(const char* value) { SetId(value); return *this;}
54
56
59 inline const Aws::String& GetName() const{ return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
62 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
63 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 inline VpcEndpointSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
65 inline VpcEndpointSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
66 inline VpcEndpointSummary& WithName(const char* value) { SetName(value); return *this;}
68
70
73 inline const VpcEndpointStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const VpcEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(VpcEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline VpcEndpointSummary& WithStatus(const VpcEndpointStatus& value) { SetStatus(value); return *this;}
78 inline VpcEndpointSummary& WithStatus(VpcEndpointStatus&& value) { SetStatus(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_id;
83 bool m_idHasBeenSet = false;
84
85 Aws::String m_name;
86 bool m_nameHasBeenSet = false;
87
88 VpcEndpointStatus m_status;
89 bool m_statusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace OpenSearchServerless
94} // namespace Aws
VpcEndpointSummary & WithName(const char *value)
VpcEndpointSummary & WithId(Aws::String &&value)
VpcEndpointSummary & WithId(const char *value)
VpcEndpointSummary & WithId(const Aws::String &value)
VpcEndpointSummary & WithStatus(VpcEndpointStatus &&value)
VpcEndpointSummary & WithStatus(const VpcEndpointStatus &value)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
VpcEndpointSummary & WithName(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary()
VpcEndpointSummary & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue