AWS SDK for C++  1.8.152
AWS SDK for C++
DeleteFileResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 {
28  {
29  public:
33 
34 
39  inline const Aws::String& GetCommitId() const{ return m_commitId; }
40 
45  inline void SetCommitId(const Aws::String& value) { m_commitId = value; }
46 
51  inline void SetCommitId(Aws::String&& value) { m_commitId = std::move(value); }
52 
57  inline void SetCommitId(const char* value) { m_commitId.assign(value); }
58 
63  inline DeleteFileResult& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
64 
69  inline DeleteFileResult& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
70 
75  inline DeleteFileResult& WithCommitId(const char* value) { SetCommitId(value); return *this;}
76 
77 
81  inline const Aws::String& GetBlobId() const{ return m_blobId; }
82 
86  inline void SetBlobId(const Aws::String& value) { m_blobId = value; }
87 
91  inline void SetBlobId(Aws::String&& value) { m_blobId = std::move(value); }
92 
96  inline void SetBlobId(const char* value) { m_blobId.assign(value); }
97 
101  inline DeleteFileResult& WithBlobId(const Aws::String& value) { SetBlobId(value); return *this;}
102 
106  inline DeleteFileResult& WithBlobId(Aws::String&& value) { SetBlobId(std::move(value)); return *this;}
107 
111  inline DeleteFileResult& WithBlobId(const char* value) { SetBlobId(value); return *this;}
112 
113 
118  inline const Aws::String& GetTreeId() const{ return m_treeId; }
119 
124  inline void SetTreeId(const Aws::String& value) { m_treeId = value; }
125 
130  inline void SetTreeId(Aws::String&& value) { m_treeId = std::move(value); }
131 
136  inline void SetTreeId(const char* value) { m_treeId.assign(value); }
137 
142  inline DeleteFileResult& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}
143 
148  inline DeleteFileResult& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;}
149 
154  inline DeleteFileResult& WithTreeId(const char* value) { SetTreeId(value); return *this;}
155 
156 
161  inline const Aws::String& GetFilePath() const{ return m_filePath; }
162 
167  inline void SetFilePath(const Aws::String& value) { m_filePath = value; }
168 
173  inline void SetFilePath(Aws::String&& value) { m_filePath = std::move(value); }
174 
179  inline void SetFilePath(const char* value) { m_filePath.assign(value); }
180 
185  inline DeleteFileResult& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;}
186 
191  inline DeleteFileResult& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;}
192 
197  inline DeleteFileResult& WithFilePath(const char* value) { SetFilePath(value); return *this;}
198 
199  private:
200 
201  Aws::String m_commitId;
202 
203  Aws::String m_blobId;
204 
205  Aws::String m_treeId;
206 
207  Aws::String m_filePath;
208  };
209 
210 } // namespace Model
211 } // namespace CodeCommit
212 } // namespace Aws
Aws::CodeCommit::Model::DeleteFileResult::WithBlobId
DeleteFileResult & WithBlobId(Aws::String &&value)
Definition: DeleteFileResult.h:106
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::DeleteFileResult::GetBlobId
const Aws::String & GetBlobId() const
Definition: DeleteFileResult.h:81
Aws::CodeCommit::Model::DeleteFileResult::WithTreeId
DeleteFileResult & WithTreeId(Aws::String &&value)
Definition: DeleteFileResult.h:148
Aws::CodeCommit::Model::DeleteFileResult::DeleteFileResult
DeleteFileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeleteFileResult::GetCommitId
const Aws::String & GetCommitId() const
Definition: DeleteFileResult.h:39
Aws::CodeCommit::Model::DeleteFileResult::GetFilePath
const Aws::String & GetFilePath() const
Definition: DeleteFileResult.h:161
Aws::CodeCommit::Model::DeleteFileResult::GetTreeId
const Aws::String & GetTreeId() const
Definition: DeleteFileResult.h:118
Aws::CodeCommit::Model::DeleteFileResult::WithFilePath
DeleteFileResult & WithFilePath(const char *value)
Definition: DeleteFileResult.h:197
Aws::CodeCommit::Model::DeleteFileResult::WithCommitId
DeleteFileResult & WithCommitId(const char *value)
Definition: DeleteFileResult.h:75
Aws::CodeCommit::Model::DeleteFileResult::SetBlobId
void SetBlobId(const Aws::String &value)
Definition: DeleteFileResult.h:86
Aws::CodeCommit::Model::DeleteFileResult::WithFilePath
DeleteFileResult & WithFilePath(const Aws::String &value)
Definition: DeleteFileResult.h:185
Aws::CodeCommit::Model::DeleteFileResult::WithTreeId
DeleteFileResult & WithTreeId(const char *value)
Definition: DeleteFileResult.h:154
Aws::CodeCommit::Model::DeleteFileResult::SetBlobId
void SetBlobId(Aws::String &&value)
Definition: DeleteFileResult.h:91
Aws::CodeCommit::Model::DeleteFileResult::SetFilePath
void SetFilePath(Aws::String &&value)
Definition: DeleteFileResult.h:173
Aws::CodeCommit::Model::DeleteFileResult::SetBlobId
void SetBlobId(const char *value)
Definition: DeleteFileResult.h:96
Aws::CodeCommit::Model::DeleteFileResult::SetTreeId
void SetTreeId(const char *value)
Definition: DeleteFileResult.h:136
Aws::CodeCommit::Model::DeleteFileResult::SetTreeId
void SetTreeId(Aws::String &&value)
Definition: DeleteFileResult.h:130
Aws::CodeCommit::Model::DeleteFileResult::SetCommitId
void SetCommitId(const Aws::String &value)
Definition: DeleteFileResult.h:45
Aws::CodeCommit::Model::DeleteFileResult::SetTreeId
void SetTreeId(const Aws::String &value)
Definition: DeleteFileResult.h:124
Aws::CodeCommit::Model::DeleteFileResult::SetCommitId
void SetCommitId(Aws::String &&value)
Definition: DeleteFileResult.h:51
Aws::CodeCommit::Model::DeleteFileResult::WithBlobId
DeleteFileResult & WithBlobId(const Aws::String &value)
Definition: DeleteFileResult.h:101
Aws::CodeCommit::Model::DeleteFileResult::DeleteFileResult
DeleteFileResult()
Aws::CodeCommit::Model::DeleteFileResult::WithBlobId
DeleteFileResult & WithBlobId(const char *value)
Definition: DeleteFileResult.h:111
Aws::CodeCommit::Model::DeleteFileResult::SetFilePath
void SetFilePath(const char *value)
Definition: DeleteFileResult.h:179
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::DeleteFileResult::WithTreeId
DeleteFileResult & WithTreeId(const Aws::String &value)
Definition: DeleteFileResult.h:142
Aws::CodeCommit::Model::DeleteFileResult::operator=
DeleteFileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::DeleteFileResult::WithCommitId
DeleteFileResult & WithCommitId(const Aws::String &value)
Definition: DeleteFileResult.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::DeleteFileResult::WithCommitId
DeleteFileResult & WithCommitId(Aws::String &&value)
Definition: DeleteFileResult.h:69
Aws::CodeCommit::Model::DeleteFileResult
Definition: DeleteFileResult.h:28
Aws::CodeCommit::Model::DeleteFileResult::SetFilePath
void SetFilePath(const Aws::String &value)
Definition: DeleteFileResult.h:167
Aws::CodeCommit::Model::DeleteFileResult::WithFilePath
DeleteFileResult & WithFilePath(Aws::String &&value)
Definition: DeleteFileResult.h:191
Aws::CodeCommit::Model::DeleteFileResult::SetCommitId
void SetCommitId(const char *value)
Definition: DeleteFileResult.h:57