AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetPackageVersionAssetResult.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/stream/ResponseStream.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace CodeArtifact
19{
20namespace Model
21{
23 {
24 public:
25 AWS_CODEARTIFACT_API GetPackageVersionAssetResult();
26 //We have to define these because Microsoft doesn't auto generate them
29 //we delete these because Microsoft doesn't handle move generation correctly
30 //and we therefore don't trust them to get it right here either.
33
34
37
38
39
41
44 inline Aws::IOStream& GetAsset() const { return m_asset.GetUnderlyingStream(); }
45 inline void ReplaceBody(Aws::IOStream* body) { m_asset = Aws::Utils::Stream::ResponseStream(body); }
46
48
50
53 inline const Aws::String& GetAssetName() const{ return m_assetName; }
54 inline void SetAssetName(const Aws::String& value) { m_assetName = value; }
55 inline void SetAssetName(Aws::String&& value) { m_assetName = std::move(value); }
56 inline void SetAssetName(const char* value) { m_assetName.assign(value); }
57 inline GetPackageVersionAssetResult& WithAssetName(const Aws::String& value) { SetAssetName(value); return *this;}
58 inline GetPackageVersionAssetResult& WithAssetName(Aws::String&& value) { SetAssetName(std::move(value)); return *this;}
59 inline GetPackageVersionAssetResult& WithAssetName(const char* value) { SetAssetName(value); return *this;}
61
63
67 inline const Aws::String& GetPackageVersion() const{ return m_packageVersion; }
68 inline void SetPackageVersion(const Aws::String& value) { m_packageVersion = value; }
69 inline void SetPackageVersion(Aws::String&& value) { m_packageVersion = std::move(value); }
70 inline void SetPackageVersion(const char* value) { m_packageVersion.assign(value); }
72 inline GetPackageVersionAssetResult& WithPackageVersion(Aws::String&& value) { SetPackageVersion(std::move(value)); return *this;}
73 inline GetPackageVersionAssetResult& WithPackageVersion(const char* value) { SetPackageVersion(value); return *this;}
75
77
81 inline const Aws::String& GetPackageVersionRevision() const{ return m_packageVersionRevision; }
82 inline void SetPackageVersionRevision(const Aws::String& value) { m_packageVersionRevision = value; }
83 inline void SetPackageVersionRevision(Aws::String&& value) { m_packageVersionRevision = std::move(value); }
84 inline void SetPackageVersionRevision(const char* value) { m_packageVersionRevision.assign(value); }
87 inline GetPackageVersionAssetResult& WithPackageVersionRevision(const char* value) { SetPackageVersionRevision(value); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline GetPackageVersionAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline GetPackageVersionAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline GetPackageVersionAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
103
104 Aws::String m_assetName;
105
106 Aws::String m_packageVersion;
107
108 Aws::String m_packageVersionRevision;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace CodeArtifact
115} // namespace Aws
AWS_CODEARTIFACT_API GetPackageVersionAssetResult(GetPackageVersionAssetResult &&)
GetPackageVersionAssetResult & WithPackageVersion(Aws::String &&value)
GetPackageVersionAssetResult(const GetPackageVersionAssetResult &)=delete
GetPackageVersionAssetResult & WithPackageVersion(const char *value)
GetPackageVersionAssetResult & WithPackageVersionRevision(const Aws::String &value)
AWS_CODEARTIFACT_API GetPackageVersionAssetResult & operator=(GetPackageVersionAssetResult &&)
GetPackageVersionAssetResult & WithAssetName(const char *value)
GetPackageVersionAssetResult & operator=(const GetPackageVersionAssetResult &)=delete
GetPackageVersionAssetResult & WithAssetName(Aws::String &&value)
AWS_CODEARTIFACT_API GetPackageVersionAssetResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetPackageVersionAssetResult & WithRequestId(const Aws::String &value)
GetPackageVersionAssetResult & WithPackageVersionRevision(Aws::String &&value)
GetPackageVersionAssetResult & WithPackageVersionRevision(const char *value)
GetPackageVersionAssetResult & WithAssetName(const Aws::String &value)
GetPackageVersionAssetResult & WithPackageVersion(const Aws::String &value)
GetPackageVersionAssetResult & WithRequestId(Aws::String &&value)
AWS_CODEARTIFACT_API GetPackageVersionAssetResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
GetPackageVersionAssetResult & WithRequestId(const char *value)
Aws::IOStream & GetUnderlyingStream() const
std::basic_iostream< char, std::char_traits< char > > IOStream
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String