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/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICSEARCHSERVICE_API PackageVersionHistory();
36 AWS_ELASTICSEARCHSERVICE_API PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICSEARCHSERVICE_API PackageVersionHistory& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
46 inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
47 inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
48 inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
49 inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
50 inline PackageVersionHistory& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
51 inline PackageVersionHistory& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
52 inline PackageVersionHistory& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
54
56
59 inline const Aws::String& GetCommitMessage() const{ return m_commitMessage; }
60 inline bool CommitMessageHasBeenSet() const { return m_commitMessageHasBeenSet; }
61 inline void SetCommitMessage(const Aws::String& value) { m_commitMessageHasBeenSet = true; m_commitMessage = value; }
62 inline void SetCommitMessage(Aws::String&& value) { m_commitMessageHasBeenSet = true; m_commitMessage = std::move(value); }
63 inline void SetCommitMessage(const char* value) { m_commitMessageHasBeenSet = true; m_commitMessage.assign(value); }
64 inline PackageVersionHistory& WithCommitMessage(const Aws::String& value) { SetCommitMessage(value); return *this;}
65 inline PackageVersionHistory& WithCommitMessage(Aws::String&& value) { SetCommitMessage(std::move(value)); return *this;}
66 inline PackageVersionHistory& WithCommitMessage(const char* value) { SetCommitMessage(value); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
74 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
75 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
76 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
77 inline PackageVersionHistory& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
78 inline PackageVersionHistory& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_packageVersion;
83 bool m_packageVersionHasBeenSet = false;
84
85 Aws::String m_commitMessage;
86 bool m_commitMessageHasBeenSet = false;
87
88 Aws::Utils::DateTime m_createdAt;
89 bool m_createdAtHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ElasticsearchService
94} // namespace Aws
PackageVersionHistory & WithCommitMessage(const Aws::String &value)
PackageVersionHistory & WithCommitMessage(const char *value)
PackageVersionHistory & WithPackageVersion(const char *value)
PackageVersionHistory & WithCreatedAt(Aws::Utils::DateTime &&value)
AWS_ELASTICSEARCHSERVICE_API PackageVersionHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageVersionHistory & WithPackageVersion(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API PackageVersionHistory()
PackageVersionHistory & WithCommitMessage(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
PackageVersionHistory & WithCreatedAt(const Aws::Utils::DateTime &value)
PackageVersionHistory & WithPackageVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue