AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace OpenSearchService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API PackageVersionHistory();
37 AWS_OPENSEARCHSERVICE_API PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API PackageVersionHistory& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
47 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
48 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
49 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
50 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
51 inline PackageVersionHistory& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
52 inline PackageVersionHistory& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
53 inline PackageVersionHistory& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
55
57
60 inline const Aws::String& GetCommitMessage() const{ return m_commitMessage; }
61 inline bool CommitMessageHasBeenSet() const { return m_commitMessageHasBeenSet; }
62 inline void SetCommitMessage(const Aws::String& value) { m_commitMessageHasBeenSet = true; m_commitMessage = value; }
63 inline void SetCommitMessage(Aws::String&& value) { m_commitMessageHasBeenSet = true; m_commitMessage = std::move(value); }
64 inline void SetCommitMessage(const char* value) { m_commitMessageHasBeenSet = true; m_commitMessage.assign(value); }
65 inline PackageVersionHistory& WithCommitMessage(const Aws::String& value) { SetCommitMessage(value); return *this;}
66 inline PackageVersionHistory& WithCommitMessage(Aws::String&& value) { SetCommitMessage(std::move(value)); return *this;}
67 inline PackageVersionHistory& WithCommitMessage(const char* value) { SetCommitMessage(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
75 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
76 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
77 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
78 inline PackageVersionHistory& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
79 inline PackageVersionHistory& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
81
83
87 inline const PluginProperties& GetPluginProperties() const{ return m_pluginProperties; }
88 inline bool PluginPropertiesHasBeenSet() const { return m_pluginPropertiesHasBeenSet; }
89 inline void SetPluginProperties(const PluginProperties& value) { m_pluginPropertiesHasBeenSet = true; m_pluginProperties = value; }
90 inline void SetPluginProperties(PluginProperties&& value) { m_pluginPropertiesHasBeenSet = true; m_pluginProperties = std::move(value); }
92 inline PackageVersionHistory& WithPluginProperties(PluginProperties&& value) { SetPluginProperties(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_packageVersion;
97 bool m_packageVersionHasBeenSet = false;
98
99 Aws::String m_commitMessage;
100 bool m_commitMessageHasBeenSet = false;
101
102 Aws::Utils::DateTime m_createdAt;
103 bool m_createdAtHasBeenSet = false;
104
105 PluginProperties m_pluginProperties;
106 bool m_pluginPropertiesHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace OpenSearchService
111} // namespace Aws
AWS_OPENSEARCHSERVICE_API PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue)
PackageVersionHistory & WithPackageVersion(const Aws::String &value)
void SetPluginProperties(const PluginProperties &value)
PackageVersionHistory & WithCommitMessage(const Aws::String &value)
PackageVersionHistory & WithCreatedAt(const Aws::Utils::DateTime &value)
PackageVersionHistory & WithPackageVersion(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
PackageVersionHistory & WithPluginProperties(const PluginProperties &value)
PackageVersionHistory & WithCreatedAt(Aws::Utils::DateTime &&value)
PackageVersionHistory & WithPluginProperties(PluginProperties &&value)
PackageVersionHistory & WithCommitMessage(const char *value)
AWS_OPENSEARCHSERVICE_API PackageVersionHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageVersionHistory & WithPackageVersion(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVersionHistory & WithCommitMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue