AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutFileResult.h
1
6#pragma once
7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CodeCommit
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CODECOMMIT_API PutFileResult();
33
34
36
39 inline const Aws::String& GetCommitId() const{ return m_commitId; }
40 inline void SetCommitId(const Aws::String& value) { m_commitId = value; }
41 inline void SetCommitId(Aws::String&& value) { m_commitId = std::move(value); }
42 inline void SetCommitId(const char* value) { m_commitId.assign(value); }
43 inline PutFileResult& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
44 inline PutFileResult& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
45 inline PutFileResult& WithCommitId(const char* value) { SetCommitId(value); return *this;}
47
49
52 inline const Aws::String& GetBlobId() const{ return m_blobId; }
53 inline void SetBlobId(const Aws::String& value) { m_blobId = value; }
54 inline void SetBlobId(Aws::String&& value) { m_blobId = std::move(value); }
55 inline void SetBlobId(const char* value) { m_blobId.assign(value); }
56 inline PutFileResult& WithBlobId(const Aws::String& value) { SetBlobId(value); return *this;}
57 inline PutFileResult& WithBlobId(Aws::String&& value) { SetBlobId(std::move(value)); return *this;}
58 inline PutFileResult& WithBlobId(const char* value) { SetBlobId(value); return *this;}
60
62
66 inline const Aws::String& GetTreeId() const{ return m_treeId; }
67 inline void SetTreeId(const Aws::String& value) { m_treeId = value; }
68 inline void SetTreeId(Aws::String&& value) { m_treeId = std::move(value); }
69 inline void SetTreeId(const char* value) { m_treeId.assign(value); }
70 inline PutFileResult& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}
71 inline PutFileResult& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;}
72 inline PutFileResult& WithTreeId(const char* value) { SetTreeId(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline PutFileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline PutFileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline PutFileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_commitId;
88
89 Aws::String m_blobId;
90
91 Aws::String m_treeId;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace CodeCommit
98} // namespace Aws
AWS_CODECOMMIT_API PutFileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
void SetTreeId(const char *value)
AWS_CODECOMMIT_API PutFileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutFileResult & WithBlobId(Aws::String &&value)
PutFileResult & WithRequestId(const Aws::String &value)
void SetCommitId(const char *value)
void SetBlobId(const Aws::String &value)
PutFileResult & WithTreeId(const Aws::String &value)
void SetBlobId(const char *value)
void SetTreeId(Aws::String &&value)
const Aws::String & GetCommitId() const
PutFileResult & WithCommitId(const char *value)
PutFileResult & WithCommitId(const Aws::String &value)
PutFileResult & WithTreeId(const char *value)
PutFileResult & WithTreeId(Aws::String &&value)
const Aws::String & GetBlobId() const
PutFileResult & WithRequestId(Aws::String &&value)
void SetCommitId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
void SetBlobId(Aws::String &&value)
PutFileResult & WithRequestId(const char *value)
void SetTreeId(const Aws::String &value)
PutFileResult & WithBlobId(const Aws::String &value)
PutFileResult & WithCommitId(Aws::String &&value)
void SetCommitId(Aws::String &&value)
const Aws::String & GetTreeId() const
PutFileResult & WithBlobId(const char *value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue