AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPackageVersionReadmeResult.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeArtifact
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODEARTIFACT_API GetPackageVersionReadmeResult();
34
35
37
40 inline const PackageFormat& GetFormat() const{ return m_format; }
41 inline void SetFormat(const PackageFormat& value) { m_format = value; }
42 inline void SetFormat(PackageFormat&& value) { m_format = std::move(value); }
43 inline GetPackageVersionReadmeResult& WithFormat(const PackageFormat& value) { SetFormat(value); return *this;}
44 inline GetPackageVersionReadmeResult& WithFormat(PackageFormat&& value) { SetFormat(std::move(value)); return *this;}
46
48
58 inline const Aws::String& GetNamespace() const{ return m_namespace; }
59 inline void SetNamespace(const Aws::String& value) { m_namespace = value; }
60 inline void SetNamespace(Aws::String&& value) { m_namespace = std::move(value); }
61 inline void SetNamespace(const char* value) { m_namespace.assign(value); }
62 inline GetPackageVersionReadmeResult& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
63 inline GetPackageVersionReadmeResult& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
64 inline GetPackageVersionReadmeResult& WithNamespace(const char* value) { SetNamespace(value); return *this;}
66
68
71 inline const Aws::String& GetPackage() const{ return m_package; }
72 inline void SetPackage(const Aws::String& value) { m_package = value; }
73 inline void SetPackage(Aws::String&& value) { m_package = std::move(value); }
74 inline void SetPackage(const char* value) { m_package.assign(value); }
75 inline GetPackageVersionReadmeResult& WithPackage(const Aws::String& value) { SetPackage(value); return *this;}
76 inline GetPackageVersionReadmeResult& WithPackage(Aws::String&& value) { SetPackage(std::move(value)); return *this;}
77 inline GetPackageVersionReadmeResult& WithPackage(const char* value) { SetPackage(value); return *this;}
79
81
84 inline const Aws::String& GetVersion() const{ return m_version; }
85 inline void SetVersion(const Aws::String& value) { m_version = value; }
86 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
87 inline void SetVersion(const char* value) { m_version.assign(value); }
88 inline GetPackageVersionReadmeResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
89 inline GetPackageVersionReadmeResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
90 inline GetPackageVersionReadmeResult& WithVersion(const char* value) { SetVersion(value); return *this;}
92
94
97 inline const Aws::String& GetVersionRevision() const{ return m_versionRevision; }
98 inline void SetVersionRevision(const Aws::String& value) { m_versionRevision = value; }
99 inline void SetVersionRevision(Aws::String&& value) { m_versionRevision = std::move(value); }
100 inline void SetVersionRevision(const char* value) { m_versionRevision.assign(value); }
102 inline GetPackageVersionReadmeResult& WithVersionRevision(Aws::String&& value) { SetVersionRevision(std::move(value)); return *this;}
103 inline GetPackageVersionReadmeResult& WithVersionRevision(const char* value) { SetVersionRevision(value); return *this;}
105
107
110 inline const Aws::String& GetReadme() const{ return m_readme; }
111 inline void SetReadme(const Aws::String& value) { m_readme = value; }
112 inline void SetReadme(Aws::String&& value) { m_readme = std::move(value); }
113 inline void SetReadme(const char* value) { m_readme.assign(value); }
114 inline GetPackageVersionReadmeResult& WithReadme(const Aws::String& value) { SetReadme(value); return *this;}
115 inline GetPackageVersionReadmeResult& WithReadme(Aws::String&& value) { SetReadme(std::move(value)); return *this;}
116 inline GetPackageVersionReadmeResult& WithReadme(const char* value) { SetReadme(value); return *this;}
118
120
121 inline const Aws::String& GetRequestId() const{ return m_requestId; }
122 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
123 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
124 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
125 inline GetPackageVersionReadmeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
126 inline GetPackageVersionReadmeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
127 inline GetPackageVersionReadmeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
129 private:
130
131 PackageFormat m_format;
132
133 Aws::String m_namespace;
134
135 Aws::String m_package;
136
137 Aws::String m_version;
138
139 Aws::String m_versionRevision;
140
141 Aws::String m_readme;
142
143 Aws::String m_requestId;
144 };
145
146} // namespace Model
147} // namespace CodeArtifact
148} // namespace Aws
GetPackageVersionReadmeResult & WithReadme(Aws::String &&value)
GetPackageVersionReadmeResult & WithPackage(const char *value)
GetPackageVersionReadmeResult & WithRequestId(const Aws::String &value)
GetPackageVersionReadmeResult & WithRequestId(const char *value)
GetPackageVersionReadmeResult & WithVersion(const char *value)
GetPackageVersionReadmeResult & WithVersionRevision(const char *value)
GetPackageVersionReadmeResult & WithNamespace(Aws::String &&value)
GetPackageVersionReadmeResult & WithVersionRevision(Aws::String &&value)
GetPackageVersionReadmeResult & WithFormat(const PackageFormat &value)
GetPackageVersionReadmeResult & WithReadme(const char *value)
GetPackageVersionReadmeResult & WithNamespace(const char *value)
GetPackageVersionReadmeResult & WithNamespace(const Aws::String &value)
GetPackageVersionReadmeResult & WithVersion(Aws::String &&value)
AWS_CODEARTIFACT_API GetPackageVersionReadmeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageVersionReadmeResult & WithVersion(const Aws::String &value)
AWS_CODEARTIFACT_API GetPackageVersionReadmeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPackageVersionReadmeResult & WithReadme(const Aws::String &value)
GetPackageVersionReadmeResult & WithFormat(PackageFormat &&value)
GetPackageVersionReadmeResult & WithPackage(const Aws::String &value)
GetPackageVersionReadmeResult & WithVersionRevision(const Aws::String &value)
GetPackageVersionReadmeResult & WithRequestId(Aws::String &&value)
GetPackageVersionReadmeResult & WithPackage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue