AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PluginProperties.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace OpenSearchService
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OPENSEARCHSERVICE_API PluginProperties() = default;
35 AWS_OPENSEARCHSERVICE_API PluginProperties(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OPENSEARCHSERVICE_API PluginProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 PluginProperties& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 PluginProperties& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetVersion() const { return m_version; }
69 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
70 template<typename VersionT = Aws::String>
71 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
72 template<typename VersionT = Aws::String>
73 PluginProperties& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
75
77
80 inline const Aws::String& GetClassName() const { return m_className; }
81 inline bool ClassNameHasBeenSet() const { return m_classNameHasBeenSet; }
82 template<typename ClassNameT = Aws::String>
83 void SetClassName(ClassNameT&& value) { m_classNameHasBeenSet = true; m_className = std::forward<ClassNameT>(value); }
84 template<typename ClassNameT = Aws::String>
85 PluginProperties& WithClassName(ClassNameT&& value) { SetClassName(std::forward<ClassNameT>(value)); return *this;}
87
89
92 inline long long GetUncompressedSizeInBytes() const { return m_uncompressedSizeInBytes; }
93 inline bool UncompressedSizeInBytesHasBeenSet() const { return m_uncompressedSizeInBytesHasBeenSet; }
94 inline void SetUncompressedSizeInBytes(long long value) { m_uncompressedSizeInBytesHasBeenSet = true; m_uncompressedSizeInBytes = value; }
95 inline PluginProperties& WithUncompressedSizeInBytes(long long value) { SetUncompressedSizeInBytes(value); return *this;}
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 Aws::String m_version;
106 bool m_versionHasBeenSet = false;
107
108 Aws::String m_className;
109 bool m_classNameHasBeenSet = false;
110
111 long long m_uncompressedSizeInBytes{0};
112 bool m_uncompressedSizeInBytesHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace OpenSearchService
117} // 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