AWS SDK for C++  1.8.154
AWS SDK for C++
GetBlobResult.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/core/utils/Array.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace CodeCommit
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::Utils::ByteBuffer& GetContent() const{ return m_content; }
44 
48  inline void SetContent(const Aws::Utils::ByteBuffer& value) { m_content = value; }
49 
53  inline void SetContent(Aws::Utils::ByteBuffer&& value) { m_content = std::move(value); }
54 
58  inline GetBlobResult& WithContent(const Aws::Utils::ByteBuffer& value) { SetContent(value); return *this;}
59 
63  inline GetBlobResult& WithContent(Aws::Utils::ByteBuffer&& value) { SetContent(std::move(value)); return *this;}
64 
65  private:
66 
67  Aws::Utils::ByteBuffer m_content;
68  };
69 
70 } // namespace Model
71 } // namespace CodeCommit
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::GetBlobResult
Definition: GetBlobResult.h:33
Aws::CodeCommit::Model::GetBlobResult::GetContent
const Aws::Utils::ByteBuffer & GetContent() const
Definition: GetBlobResult.h:43
Aws::CodeCommit::Model::GetBlobResult::WithContent
GetBlobResult & WithContent(const Aws::Utils::ByteBuffer &value)
Definition: GetBlobResult.h:58
Aws::CodeCommit::Model::GetBlobResult::GetBlobResult
GetBlobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Utils::Array< unsigned char >
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::GetBlobResult::SetContent
void SetContent(Aws::Utils::ByteBuffer &&value)
Definition: GetBlobResult.h:53
Aws::CodeCommit::Model::GetBlobResult::GetBlobResult
GetBlobResult()
Aws::CodeCommit::Model::GetBlobResult::SetContent
void SetContent(const Aws::Utils::ByteBuffer &value)
Definition: GetBlobResult.h:48
Aws
Definition: AccessManagementClient.h:15
Array.h
Aws::CodeCommit::Model::GetBlobResult::WithContent
GetBlobResult & WithContent(Aws::Utils::ByteBuffer &&value)
Definition: GetBlobResult.h:63
Aws::CodeCommit::Model::GetBlobResult::operator=
GetBlobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)