AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PackageVersionHistory.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/opensearch/model/PluginProperties.h>
11#include <aws/opensearch/model/PackageConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace OpenSearchService
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_OPENSEARCHSERVICE_API PackageVersionHistory() = default;
38 AWS_OPENSEARCHSERVICE_API PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API PackageVersionHistory& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetPackageVersion() const { return m_packageVersion; }
48 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
49 template<typename PackageVersionT = Aws::String>
50 void SetPackageVersion(PackageVersionT&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::forward<PackageVersionT>(value); }
51 template<typename PackageVersionT = Aws::String>
52 PackageVersionHistory& WithPackageVersion(PackageVersionT&& value) { SetPackageVersion(std::forward<PackageVersionT>(value)); return *this;}
54
56
59 inline const Aws::String& GetCommitMessage() const { return m_commitMessage; }
60 inline bool CommitMessageHasBeenSet() const { return m_commitMessageHasBeenSet; }
61 template<typename CommitMessageT = Aws::String>
62 void SetCommitMessage(CommitMessageT&& value) { m_commitMessageHasBeenSet = true; m_commitMessage = std::forward<CommitMessageT>(value); }
63 template<typename CommitMessageT = Aws::String>
64 PackageVersionHistory& WithCommitMessage(CommitMessageT&& value) { SetCommitMessage(std::forward<CommitMessageT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
72 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
73 template<typename CreatedAtT = Aws::Utils::DateTime>
74 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
75 template<typename CreatedAtT = Aws::Utils::DateTime>
76 PackageVersionHistory& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
78
80
84 inline const PluginProperties& GetPluginProperties() const { return m_pluginProperties; }
85 inline bool PluginPropertiesHasBeenSet() const { return m_pluginPropertiesHasBeenSet; }
86 template<typename PluginPropertiesT = PluginProperties>
87 void SetPluginProperties(PluginPropertiesT&& value) { m_pluginPropertiesHasBeenSet = true; m_pluginProperties = std::forward<PluginPropertiesT>(value); }
88 template<typename PluginPropertiesT = PluginProperties>
89 PackageVersionHistory& WithPluginProperties(PluginPropertiesT&& value) { SetPluginProperties(std::forward<PluginPropertiesT>(value)); return *this;}
91
93
96 inline const PackageConfiguration& GetPackageConfiguration() const { return m_packageConfiguration; }
97 inline bool PackageConfigurationHasBeenSet() const { return m_packageConfigurationHasBeenSet; }
98 template<typename PackageConfigurationT = PackageConfiguration>
99 void SetPackageConfiguration(PackageConfigurationT&& value) { m_packageConfigurationHasBeenSet = true; m_packageConfiguration = std::forward<PackageConfigurationT>(value); }
100 template<typename PackageConfigurationT = PackageConfiguration>
101 PackageVersionHistory& WithPackageConfiguration(PackageConfigurationT&& value) { SetPackageConfiguration(std::forward<PackageConfigurationT>(value)); return *this;}
103 private:
104
105 Aws::String m_packageVersion;
106 bool m_packageVersionHasBeenSet = false;
107
108 Aws::String m_commitMessage;
109 bool m_commitMessageHasBeenSet = false;
110
111 Aws::Utils::DateTime m_createdAt{};
112 bool m_createdAtHasBeenSet = false;
113
114 PluginProperties m_pluginProperties;
115 bool m_pluginPropertiesHasBeenSet = false;
116
117 PackageConfiguration m_packageConfiguration;
118 bool m_packageConfigurationHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace OpenSearchService
123} // namespace Aws
AWS_OPENSEARCHSERVICE_API PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue)
const PackageConfiguration & GetPackageConfiguration() const
AWS_OPENSEARCHSERVICE_API PackageVersionHistory()=default
PackageVersionHistory & WithCommitMessage(CommitMessageT &&value)
PackageVersionHistory & WithPackageConfiguration(PackageConfigurationT &&value)
PackageVersionHistory & WithPackageVersion(PackageVersionT &&value)
PackageVersionHistory & WithPluginProperties(PluginPropertiesT &&value)
AWS_OPENSEARCHSERVICE_API PackageVersionHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPackageConfiguration(PackageConfigurationT &&value)
PackageVersionHistory & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue