AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline PluginProperties& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline PluginProperties& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline PluginProperties& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline PluginProperties& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline PluginProperties& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline PluginProperties& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetVersion() const{ return m_version; }
73 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
74 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
75 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
76 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
77 inline PluginProperties& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
78 inline PluginProperties& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
79 inline PluginProperties& WithVersion(const char* value) { SetVersion(value); return *this;}
81
83
86 inline const Aws::String& GetClassName() const{ return m_className; }
87 inline bool ClassNameHasBeenSet() const { return m_classNameHasBeenSet; }
88 inline void SetClassName(const Aws::String& value) { m_classNameHasBeenSet = true; m_className = value; }
89 inline void SetClassName(Aws::String&& value) { m_classNameHasBeenSet = true; m_className = std::move(value); }
90 inline void SetClassName(const char* value) { m_classNameHasBeenSet = true; m_className.assign(value); }
91 inline PluginProperties& WithClassName(const Aws::String& value) { SetClassName(value); return *this;}
92 inline PluginProperties& WithClassName(Aws::String&& value) { SetClassName(std::move(value)); return *this;}
93 inline PluginProperties& WithClassName(const char* value) { SetClassName(value); return *this;}
95
97
100 inline long long GetUncompressedSizeInBytes() const{ return m_uncompressedSizeInBytes; }
101 inline bool UncompressedSizeInBytesHasBeenSet() const { return m_uncompressedSizeInBytesHasBeenSet; }
102 inline void SetUncompressedSizeInBytes(long long value) { m_uncompressedSizeInBytesHasBeenSet = true; m_uncompressedSizeInBytes = value; }
103 inline PluginProperties& WithUncompressedSizeInBytes(long long value) { SetUncompressedSizeInBytes(value); return *this;}
105 private:
106
107 Aws::String m_name;
108 bool m_nameHasBeenSet = false;
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112
113 Aws::String m_version;
114 bool m_versionHasBeenSet = false;
115
116 Aws::String m_className;
117 bool m_classNameHasBeenSet = false;
118
119 long long m_uncompressedSizeInBytes;
120 bool m_uncompressedSizeInBytesHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace OpenSearchService
125} // namespace Aws
PluginProperties & WithVersion(Aws::String &&value)
PluginProperties & WithClassName(const char *value)
AWS_OPENSEARCHSERVICE_API PluginProperties()
PluginProperties & WithUncompressedSizeInBytes(long long value)
PluginProperties & WithDescription(const Aws::String &value)
PluginProperties & WithVersion(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHSERVICE_API PluginProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
PluginProperties & WithName(const Aws::String &value)
PluginProperties & WithVersion(const char *value)
PluginProperties & WithClassName(const Aws::String &value)
PluginProperties & WithClassName(Aws::String &&value)
PluginProperties & WithName(const char *value)
AWS_OPENSEARCHSERVICE_API PluginProperties(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const Aws::String &value)
PluginProperties & WithDescription(Aws::String &&value)
PluginProperties & WithName(Aws::String &&value)
PluginProperties & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue