AWS SDK for C++  1.9.153
AWS SDK for C++
GetPackageVersionReadmeResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace CodeArtifact
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const PackageFormat& GetFormat() const{ return m_format; }
42 
48  inline void SetFormat(const PackageFormat& value) { m_format = value; }
49 
55  inline void SetFormat(PackageFormat&& value) { m_format = std::move(value); }
56 
62  inline GetPackageVersionReadmeResult& WithFormat(const PackageFormat& value) { SetFormat(value); return *this;}
63 
69  inline GetPackageVersionReadmeResult& WithFormat(PackageFormat&& value) { SetFormat(std::move(value)); return *this;}
70 
71 
80  inline const Aws::String& GetNamespace() const{ return m_namespace; }
81 
90  inline void SetNamespace(const Aws::String& value) { m_namespace = value; }
91 
100  inline void SetNamespace(Aws::String&& value) { m_namespace = std::move(value); }
101 
110  inline void SetNamespace(const char* value) { m_namespace.assign(value); }
111 
120  inline GetPackageVersionReadmeResult& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
121 
130  inline GetPackageVersionReadmeResult& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
131 
140  inline GetPackageVersionReadmeResult& WithNamespace(const char* value) { SetNamespace(value); return *this;}
141 
142 
146  inline const Aws::String& GetPackage() const{ return m_package; }
147 
151  inline void SetPackage(const Aws::String& value) { m_package = value; }
152 
156  inline void SetPackage(Aws::String&& value) { m_package = std::move(value); }
157 
161  inline void SetPackage(const char* value) { m_package.assign(value); }
162 
166  inline GetPackageVersionReadmeResult& WithPackage(const Aws::String& value) { SetPackage(value); return *this;}
167 
171  inline GetPackageVersionReadmeResult& WithPackage(Aws::String&& value) { SetPackage(std::move(value)); return *this;}
172 
176  inline GetPackageVersionReadmeResult& WithPackage(const char* value) { SetPackage(value); return *this;}
177 
178 
182  inline const Aws::String& GetVersion() const{ return m_version; }
183 
187  inline void SetVersion(const Aws::String& value) { m_version = value; }
188 
192  inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
193 
197  inline void SetVersion(const char* value) { m_version.assign(value); }
198 
202  inline GetPackageVersionReadmeResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
203 
207  inline GetPackageVersionReadmeResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
208 
212  inline GetPackageVersionReadmeResult& WithVersion(const char* value) { SetVersion(value); return *this;}
213 
214 
218  inline const Aws::String& GetVersionRevision() const{ return m_versionRevision; }
219 
223  inline void SetVersionRevision(const Aws::String& value) { m_versionRevision = value; }
224 
228  inline void SetVersionRevision(Aws::String&& value) { m_versionRevision = std::move(value); }
229 
233  inline void SetVersionRevision(const char* value) { m_versionRevision.assign(value); }
234 
238  inline GetPackageVersionReadmeResult& WithVersionRevision(const Aws::String& value) { SetVersionRevision(value); return *this;}
239 
243  inline GetPackageVersionReadmeResult& WithVersionRevision(Aws::String&& value) { SetVersionRevision(std::move(value)); return *this;}
244 
248  inline GetPackageVersionReadmeResult& WithVersionRevision(const char* value) { SetVersionRevision(value); return *this;}
249 
250 
254  inline const Aws::String& GetReadme() const{ return m_readme; }
255 
259  inline void SetReadme(const Aws::String& value) { m_readme = value; }
260 
264  inline void SetReadme(Aws::String&& value) { m_readme = std::move(value); }
265 
269  inline void SetReadme(const char* value) { m_readme.assign(value); }
270 
274  inline GetPackageVersionReadmeResult& WithReadme(const Aws::String& value) { SetReadme(value); return *this;}
275 
279  inline GetPackageVersionReadmeResult& WithReadme(Aws::String&& value) { SetReadme(std::move(value)); return *this;}
280 
284  inline GetPackageVersionReadmeResult& WithReadme(const char* value) { SetReadme(value); return *this;}
285 
286  private:
287 
288  PackageFormat m_format;
289 
290  Aws::String m_namespace;
291 
292  Aws::String m_package;
293 
294  Aws::String m_version;
295 
296  Aws::String m_versionRevision;
297 
298  Aws::String m_readme;
299  };
300 
301 } // namespace Model
302 } // namespace CodeArtifact
303 } // namespace Aws
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetVersion
void SetVersion(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:187
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithVersionRevision
GetPackageVersionReadmeResult & WithVersionRevision(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:238
CodeArtifact_EXPORTS.h
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetPackage
void SetPackage(const char *value)
Definition: GetPackageVersionReadmeResult.h:161
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetNamespace
void SetNamespace(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:100
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithReadme
GetPackageVersionReadmeResult & WithReadme(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:274
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithNamespace
GetPackageVersionReadmeResult & WithNamespace(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:130
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetNamespace
const Aws::String & GetNamespace() const
Definition: GetPackageVersionReadmeResult.h:80
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithPackage
GetPackageVersionReadmeResult & WithPackage(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:166
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetVersion
const Aws::String & GetVersion() const
Definition: GetPackageVersionReadmeResult.h:182
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetNamespace
void SetNamespace(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:90
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetPackageVersionReadmeResult
GetPackageVersionReadmeResult()
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetReadme
void SetReadme(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:259
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetVersionRevision
void SetVersionRevision(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:223
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithReadme
GetPackageVersionReadmeResult & WithReadme(const char *value)
Definition: GetPackageVersionReadmeResult.h:284
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetVersionRevision
void SetVersionRevision(const char *value)
Definition: GetPackageVersionReadmeResult.h:233
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithFormat
GetPackageVersionReadmeResult & WithFormat(PackageFormat &&value)
Definition: GetPackageVersionReadmeResult.h:69
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithFormat
GetPackageVersionReadmeResult & WithFormat(const PackageFormat &value)
Definition: GetPackageVersionReadmeResult.h:62
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithVersion
GetPackageVersionReadmeResult & WithVersion(const char *value)
Definition: GetPackageVersionReadmeResult.h:212
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetPackageVersionReadmeResult
GetPackageVersionReadmeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithPackage
GetPackageVersionReadmeResult & WithPackage(const char *value)
Definition: GetPackageVersionReadmeResult.h:176
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetReadme
void SetReadme(const char *value)
Definition: GetPackageVersionReadmeResult.h:269
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetFormat
void SetFormat(PackageFormat &&value)
Definition: GetPackageVersionReadmeResult.h:55
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithVersionRevision
GetPackageVersionReadmeResult & WithVersionRevision(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:243
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetVersion
void SetVersion(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:192
PackageFormat.h
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetPackage
void SetPackage(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:151
AWSString.h
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetReadme
void SetReadme(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:264
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetReadme
const Aws::String & GetReadme() const
Definition: GetPackageVersionReadmeResult.h:254
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetPackage
void SetPackage(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:156
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetFormat
void SetFormat(const PackageFormat &value)
Definition: GetPackageVersionReadmeResult.h:48
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::operator=
GetPackageVersionReadmeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetVersionRevision
void SetVersionRevision(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:228
AWS_CODEARTIFACT_API
#define AWS_CODEARTIFACT_API
Definition: CodeArtifact_EXPORTS.h:28
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetNamespace
void SetNamespace(const char *value)
Definition: GetPackageVersionReadmeResult.h:110
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::CodeArtifact::Model::PackageFormat
PackageFormat
Definition: PackageFormat.h:17
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult
Definition: GetPackageVersionReadmeResult.h:29
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetVersionRevision
const Aws::String & GetVersionRevision() const
Definition: GetPackageVersionReadmeResult.h:218
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithNamespace
GetPackageVersionReadmeResult & WithNamespace(const char *value)
Definition: GetPackageVersionReadmeResult.h:140
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithNamespace
GetPackageVersionReadmeResult & WithNamespace(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:120
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetPackage
const Aws::String & GetPackage() const
Definition: GetPackageVersionReadmeResult.h:146
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithVersionRevision
GetPackageVersionReadmeResult & WithVersionRevision(const char *value)
Definition: GetPackageVersionReadmeResult.h:248
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::SetVersion
void SetVersion(const char *value)
Definition: GetPackageVersionReadmeResult.h:197
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::GetFormat
const PackageFormat & GetFormat() const
Definition: GetPackageVersionReadmeResult.h:41
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithPackage
GetPackageVersionReadmeResult & WithPackage(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:171
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithVersion
GetPackageVersionReadmeResult & WithVersion(const Aws::String &value)
Definition: GetPackageVersionReadmeResult.h:202
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithReadme
GetPackageVersionReadmeResult & WithReadme(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:279
Aws::CodeArtifact::Model::GetPackageVersionReadmeResult::WithVersion
GetPackageVersionReadmeResult & WithVersion(Aws::String &&value)
Definition: GetPackageVersionReadmeResult.h:207