AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFileResult.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 DeleteFileResult();
33
34
36
40 inline const Aws::String& GetCommitId() const{ return m_commitId; }
41 inline void SetCommitId(const Aws::String& value) { m_commitId = value; }
42 inline void SetCommitId(Aws::String&& value) { m_commitId = std::move(value); }
43 inline void SetCommitId(const char* value) { m_commitId.assign(value); }
44 inline DeleteFileResult& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
45 inline DeleteFileResult& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
46 inline DeleteFileResult& WithCommitId(const char* value) { SetCommitId(value); return *this;}
48
50
53 inline const Aws::String& GetBlobId() const{ return m_blobId; }
54 inline void SetBlobId(const Aws::String& value) { m_blobId = value; }
55 inline void SetBlobId(Aws::String&& value) { m_blobId = std::move(value); }
56 inline void SetBlobId(const char* value) { m_blobId.assign(value); }
57 inline DeleteFileResult& WithBlobId(const Aws::String& value) { SetBlobId(value); return *this;}
58 inline DeleteFileResult& WithBlobId(Aws::String&& value) { SetBlobId(std::move(value)); return *this;}
59 inline DeleteFileResult& WithBlobId(const char* value) { SetBlobId(value); return *this;}
61
63
67 inline const Aws::String& GetTreeId() const{ return m_treeId; }
68 inline void SetTreeId(const Aws::String& value) { m_treeId = value; }
69 inline void SetTreeId(Aws::String&& value) { m_treeId = std::move(value); }
70 inline void SetTreeId(const char* value) { m_treeId.assign(value); }
71 inline DeleteFileResult& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}
72 inline DeleteFileResult& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;}
73 inline DeleteFileResult& WithTreeId(const char* value) { SetTreeId(value); return *this;}
75
77
81 inline const Aws::String& GetFilePath() const{ return m_filePath; }
82 inline void SetFilePath(const Aws::String& value) { m_filePath = value; }
83 inline void SetFilePath(Aws::String&& value) { m_filePath = std::move(value); }
84 inline void SetFilePath(const char* value) { m_filePath.assign(value); }
85 inline DeleteFileResult& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
86 inline DeleteFileResult& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
87 inline DeleteFileResult& WithFilePath(const char* value) { SetFilePath(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 DeleteFileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline DeleteFileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline DeleteFileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_commitId;
103
104 Aws::String m_blobId;
105
106 Aws::String m_treeId;
107
108 Aws::String m_filePath;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace CodeCommit
115} // namespace Aws
DeleteFileResult & WithBlobId(const Aws::String &value)
void SetCommitId(const Aws::String &value)
DeleteFileResult & WithCommitId(Aws::String &&value)
void SetTreeId(const Aws::String &value)
DeleteFileResult & WithFilePath(Aws::String &&value)
const Aws::String & GetRequestId() const
DeleteFileResult & WithTreeId(const Aws::String &value)
void SetFilePath(const Aws::String &value)
AWS_CODECOMMIT_API DeleteFileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteFileResult & WithTreeId(const char *value)
DeleteFileResult & WithFilePath(const char *value)
DeleteFileResult & WithTreeId(Aws::String &&value)
DeleteFileResult & WithBlobId(Aws::String &&value)
DeleteFileResult & WithRequestId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
AWS_CODECOMMIT_API DeleteFileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFilePath() const
DeleteFileResult & WithRequestId(Aws::String &&value)
const Aws::String & GetBlobId() const
void SetBlobId(const Aws::String &value)
const Aws::String & GetCommitId() const
DeleteFileResult & WithCommitId(const char *value)
DeleteFileResult & WithRequestId(const char *value)
DeleteFileResult & WithCommitId(const Aws::String &value)
DeleteFileResult & WithFilePath(const Aws::String &value)
const Aws::String & GetTreeId() const
DeleteFileResult & WithBlobId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue