AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VpcEndpointSummary.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
29 public:
30 AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary() = default;
31 AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetId() const { return m_id; }
40 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
47 VpcEndpointSummary& WithId(IdT&& value) {
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
65 VpcEndpointSummary& WithName(NameT&& value) {
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
75 inline VpcEndpointStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(VpcEndpointStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86 private:
87 Aws::String m_id;
88
89 Aws::String m_name;
90
92 bool m_idHasBeenSet = false;
93 bool m_nameHasBeenSet = false;
94 bool m_statusHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace OpenSearchServerless
99} // namespace Aws
VpcEndpointSummary & WithStatus(VpcEndpointStatus value)
AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary()=default
AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVERLESS_API VpcEndpointSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue