AWS SDK for C++  1.8.152
AWS SDK for C++
CreateUnreferencedMergeCommitResult.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 
38  inline const Aws::String& GetCommitId() const{ return m_commitId; }
39 
43  inline void SetCommitId(const Aws::String& value) { m_commitId = value; }
44 
48  inline void SetCommitId(Aws::String&& value) { m_commitId = std::move(value); }
49 
53  inline void SetCommitId(const char* value) { m_commitId.assign(value); }
54 
58  inline CreateUnreferencedMergeCommitResult& WithCommitId(const Aws::String& value) { SetCommitId(value); return *this;}
59 
63  inline CreateUnreferencedMergeCommitResult& WithCommitId(Aws::String&& value) { SetCommitId(std::move(value)); return *this;}
64 
68  inline CreateUnreferencedMergeCommitResult& WithCommitId(const char* value) { SetCommitId(value); return *this;}
69 
70 
75  inline const Aws::String& GetTreeId() const{ return m_treeId; }
76 
81  inline void SetTreeId(const Aws::String& value) { m_treeId = value; }
82 
87  inline void SetTreeId(Aws::String&& value) { m_treeId = std::move(value); }
88 
93  inline void SetTreeId(const char* value) { m_treeId.assign(value); }
94 
99  inline CreateUnreferencedMergeCommitResult& WithTreeId(const Aws::String& value) { SetTreeId(value); return *this;}
100 
105  inline CreateUnreferencedMergeCommitResult& WithTreeId(Aws::String&& value) { SetTreeId(std::move(value)); return *this;}
106 
111  inline CreateUnreferencedMergeCommitResult& WithTreeId(const char* value) { SetTreeId(value); return *this;}
112 
113  private:
114 
115  Aws::String m_commitId;
116 
117  Aws::String m_treeId;
118  };
119 
120 } // namespace Model
121 } // namespace CodeCommit
122 } // namespace Aws
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::CreateUnreferencedMergeCommitResult
CreateUnreferencedMergeCommitResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
CodeCommit_EXPORTS.h
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::SetCommitId
void SetCommitId(const char *value)
Definition: CreateUnreferencedMergeCommitResult.h:53
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::WithTreeId
CreateUnreferencedMergeCommitResult & WithTreeId(Aws::String &&value)
Definition: CreateUnreferencedMergeCommitResult.h:105
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::WithCommitId
CreateUnreferencedMergeCommitResult & WithCommitId(const Aws::String &value)
Definition: CreateUnreferencedMergeCommitResult.h:58
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::SetTreeId
void SetTreeId(const char *value)
Definition: CreateUnreferencedMergeCommitResult.h:93
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::operator=
CreateUnreferencedMergeCommitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::SetTreeId
void SetTreeId(const Aws::String &value)
Definition: CreateUnreferencedMergeCommitResult.h:81
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::WithCommitId
CreateUnreferencedMergeCommitResult & WithCommitId(const char *value)
Definition: CreateUnreferencedMergeCommitResult.h:68
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::SetCommitId
void SetCommitId(const Aws::String &value)
Definition: CreateUnreferencedMergeCommitResult.h:43
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::WithTreeId
CreateUnreferencedMergeCommitResult & WithTreeId(const Aws::String &value)
Definition: CreateUnreferencedMergeCommitResult.h:99
AWSString.h
AWS_CODECOMMIT_API
#define AWS_CODECOMMIT_API
Definition: CodeCommit_EXPORTS.h:28
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::WithTreeId
CreateUnreferencedMergeCommitResult & WithTreeId(const char *value)
Definition: CreateUnreferencedMergeCommitResult.h:111
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::SetTreeId
void SetTreeId(Aws::String &&value)
Definition: CreateUnreferencedMergeCommitResult.h:87
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::GetTreeId
const Aws::String & GetTreeId() const
Definition: CreateUnreferencedMergeCommitResult.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::SetCommitId
void SetCommitId(Aws::String &&value)
Definition: CreateUnreferencedMergeCommitResult.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::CreateUnreferencedMergeCommitResult
CreateUnreferencedMergeCommitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::GetCommitId
const Aws::String & GetCommitId() const
Definition: CreateUnreferencedMergeCommitResult.h:38
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult::WithCommitId
CreateUnreferencedMergeCommitResult & WithCommitId(Aws::String &&value)
Definition: CreateUnreferencedMergeCommitResult.h:63
Aws::CodeCommit::Model::CreateUnreferencedMergeCommitResult
Definition: CreateUnreferencedMergeCommitResult.h:28