AWS SDK for C++  1.9.97
AWS SDK for C++
PackageVersionHistory.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
45 
49  inline bool PackageVersionHasBeenSet() const { return m_packageVersionHasBeenSet; }
50 
54  inline void SetPackageVersion(const Aws::String& value) { m_packageVersionHasBeenSet = true; m_packageVersion = value; }
55 
59  inline void SetPackageVersion(Aws::String&& value) { m_packageVersionHasBeenSet = true; m_packageVersion = std::move(value); }
60 
64  inline void SetPackageVersion(const char* value) { m_packageVersionHasBeenSet = true; m_packageVersion.assign(value); }
65 
69  inline PackageVersionHistory& WithPackageVersion(const Aws::String& value) { SetPackageVersion(value); return *this;}
70 
74  inline PackageVersionHistory& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
75 
79  inline PackageVersionHistory& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
80 
81 
85  inline const Aws::String& GetCommitMessage() const{ return m_commitMessage; }
86 
90  inline bool CommitMessageHasBeenSet() const { return m_commitMessageHasBeenSet; }
91 
95  inline void SetCommitMessage(const Aws::String& value) { m_commitMessageHasBeenSet = true; m_commitMessage = value; }
96 
100  inline void SetCommitMessage(Aws::String&& value) { m_commitMessageHasBeenSet = true; m_commitMessage = std::move(value); }
101 
105  inline void SetCommitMessage(const char* value) { m_commitMessageHasBeenSet = true; m_commitMessage.assign(value); }
106 
110  inline PackageVersionHistory& WithCommitMessage(const Aws::String& value) { SetCommitMessage(value); return *this;}
111 
115  inline PackageVersionHistory& WithCommitMessage(Aws::String&& value) { SetCommitMessage(std::move(value)); return *this;}
116 
120  inline PackageVersionHistory& WithCommitMessage(const char* value) { SetCommitMessage(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
127 
131  inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
132 
136  inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
137 
141  inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
142 
146  inline PackageVersionHistory& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
147 
151  inline PackageVersionHistory& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_packageVersion;
156  bool m_packageVersionHasBeenSet;
157 
158  Aws::String m_commitMessage;
159  bool m_commitMessageHasBeenSet;
160 
161  Aws::Utils::DateTime m_createdAt;
162  bool m_createdAtHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace ElasticsearchService
167 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ElasticsearchService::Model::PackageVersionHistory::PackageVersionHistory
PackageVersionHistory()
Aws::ElasticsearchService::Model::PackageVersionHistory::CreatedAtHasBeenSet
bool CreatedAtHasBeenSet() const
Definition: PackageVersionHistory.h:131
Aws::ElasticsearchService::Model::PackageVersionHistory::GetCreatedAt
const Aws::Utils::DateTime & GetCreatedAt() const
Definition: PackageVersionHistory.h:126
Aws::ElasticsearchService::Model::PackageVersionHistory::WithCommitMessage
PackageVersionHistory & WithCommitMessage(const Aws::String &value)
Definition: PackageVersionHistory.h:110
Aws::ElasticsearchService::Model::PackageVersionHistory::SetCommitMessage
void SetCommitMessage(const char *value)
Definition: PackageVersionHistory.h:105
DateTime.h
Aws::ElasticsearchService::Model::PackageVersionHistory::operator=
PackageVersionHistory & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::PackageVersionHistory::SetCommitMessage
void SetCommitMessage(Aws::String &&value)
Definition: PackageVersionHistory.h:100
Aws::ElasticsearchService::Model::PackageVersionHistory::WithCommitMessage
PackageVersionHistory & WithCommitMessage(const char *value)
Definition: PackageVersionHistory.h:120
Aws::ElasticsearchService::Model::PackageVersionHistory::SetPackageVersion
void SetPackageVersion(const char *value)
Definition: PackageVersionHistory.h:64
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::PackageVersionHistory::SetCreatedAt
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition: PackageVersionHistory.h:136
Aws::ElasticsearchService::Model::PackageVersionHistory
Definition: PackageVersionHistory.h:33
Aws::ElasticsearchService::Model::PackageVersionHistory::SetPackageVersion
void SetPackageVersion(const Aws::String &value)
Definition: PackageVersionHistory.h:54
Aws::ElasticsearchService::Model::PackageVersionHistory::WithCommitMessage
PackageVersionHistory & WithCommitMessage(Aws::String &&value)
Definition: PackageVersionHistory.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::PackageVersionHistory::PackageVersionHasBeenSet
bool PackageVersionHasBeenSet() const
Definition: PackageVersionHistory.h:49
Aws::ElasticsearchService::Model::PackageVersionHistory::WithPackageVersion
PackageVersionHistory & WithPackageVersion(const Aws::String &value)
Definition: PackageVersionHistory.h:69
Aws::ElasticsearchService::Model::PackageVersionHistory::GetCommitMessage
const Aws::String & GetCommitMessage() const
Definition: PackageVersionHistory.h:85
Aws::ElasticsearchService::Model::PackageVersionHistory::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::PackageVersionHistory::SetPackageVersion
void SetPackageVersion(Aws::String &&value)
Definition: PackageVersionHistory.h:59
Aws::ElasticsearchService::Model::PackageVersionHistory::WithCreatedAt
PackageVersionHistory & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition: PackageVersionHistory.h:151
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::PackageVersionHistory::PackageVersionHistory
PackageVersionHistory(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::PackageVersionHistory::WithPackageVersion
PackageVersionHistory & WithPackageVersion(const char *value)
Definition: PackageVersionHistory.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::PackageVersionHistory::SetCommitMessage
void SetCommitMessage(const Aws::String &value)
Definition: PackageVersionHistory.h:95
Aws::ElasticsearchService::Model::PackageVersionHistory::GetPackageVersion
const Aws::String & GetPackageVersion() const
Definition: PackageVersionHistory.h:44
Aws::ElasticsearchService::Model::PackageVersionHistory::WithPackageVersion
PackageVersionHistory & WithPackageVersion(Aws::String &&value)
Definition: PackageVersionHistory.h:74
Aws::ElasticsearchService::Model::PackageVersionHistory::SetCreatedAt
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition: PackageVersionHistory.h:141
Aws::ElasticsearchService::Model::PackageVersionHistory::CommitMessageHasBeenSet
bool CommitMessageHasBeenSet() const
Definition: PackageVersionHistory.h:90
Aws::ElasticsearchService::Model::PackageVersionHistory::WithCreatedAt
PackageVersionHistory & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition: PackageVersionHistory.h:146