AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
PluginProperties.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace OpenSearchService {
20namespace Model {
21
28 public:
29 AWS_OPENSEARCHSERVICE_API PluginProperties() = default;
30 AWS_OPENSEARCHSERVICE_API PluginProperties(Aws::Utils::Json::JsonView jsonValue);
31 AWS_OPENSEARCHSERVICE_API PluginProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
46 PluginProperties& WithName(NameT&& value) {
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
64 PluginProperties& WithDescription(DescriptionT&& value) {
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetVersion() const { return m_version; }
75 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
76 template <typename VersionT = Aws::String>
77 void SetVersion(VersionT&& value) {
78 m_versionHasBeenSet = true;
79 m_version = std::forward<VersionT>(value);
80 }
81 template <typename VersionT = Aws::String>
82 PluginProperties& WithVersion(VersionT&& value) {
83 SetVersion(std::forward<VersionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetClassName() const { return m_className; }
93 inline bool ClassNameHasBeenSet() const { return m_classNameHasBeenSet; }
94 template <typename ClassNameT = Aws::String>
95 void SetClassName(ClassNameT&& value) {
96 m_classNameHasBeenSet = true;
97 m_className = std::forward<ClassNameT>(value);
98 }
99 template <typename ClassNameT = Aws::String>
100 PluginProperties& WithClassName(ClassNameT&& value) {
101 SetClassName(std::forward<ClassNameT>(value));
102 return *this;
103 }
105
107
110 inline long long GetUncompressedSizeInBytes() const { return m_uncompressedSizeInBytes; }
111 inline bool UncompressedSizeInBytesHasBeenSet() const { return m_uncompressedSizeInBytesHasBeenSet; }
112 inline void SetUncompressedSizeInBytes(long long value) {
113 m_uncompressedSizeInBytesHasBeenSet = true;
114 m_uncompressedSizeInBytes = value;
115 }
118 return *this;
119 }
121 private:
122 Aws::String m_name;
123
124 Aws::String m_description;
125
126 Aws::String m_version;
127
128 Aws::String m_className;
129
130 long long m_uncompressedSizeInBytes{0};
131 bool m_nameHasBeenSet = false;
132 bool m_descriptionHasBeenSet = false;
133 bool m_versionHasBeenSet = false;
134 bool m_classNameHasBeenSet = false;
135 bool m_uncompressedSizeInBytesHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace OpenSearchService
140} // namespace Aws
PluginProperties & WithDescription(DescriptionT &&value)
PluginProperties & WithName(NameT &&value)
PluginProperties & WithUncompressedSizeInBytes(long long value)
AWS_OPENSEARCHSERVICE_API PluginProperties()=default
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API PluginProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
PluginProperties & WithVersion(VersionT &&value)
PluginProperties & WithClassName(ClassNameT &&value)
AWS_OPENSEARCHSERVICE_API PluginProperties(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue