AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetMergeCommitResult.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 GetMergeCommitResult() = default;
33
34
36
40 inline const Aws::String& GetSourceCommitId() const { return m_sourceCommitId; }
41 template<typename SourceCommitIdT = Aws::String>
42 void SetSourceCommitId(SourceCommitIdT&& value) { m_sourceCommitIdHasBeenSet = true; m_sourceCommitId = std::forward<SourceCommitIdT>(value); }
43 template<typename SourceCommitIdT = Aws::String>
44 GetMergeCommitResult& WithSourceCommitId(SourceCommitIdT&& value) { SetSourceCommitId(std::forward<SourceCommitIdT>(value)); return *this;}
46
48
52 inline const Aws::String& GetDestinationCommitId() const { return m_destinationCommitId; }
53 template<typename DestinationCommitIdT = Aws::String>
54 void SetDestinationCommitId(DestinationCommitIdT&& value) { m_destinationCommitIdHasBeenSet = true; m_destinationCommitId = std::forward<DestinationCommitIdT>(value); }
55 template<typename DestinationCommitIdT = Aws::String>
56 GetMergeCommitResult& WithDestinationCommitId(DestinationCommitIdT&& value) { SetDestinationCommitId(std::forward<DestinationCommitIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetBaseCommitId() const { return m_baseCommitId; }
64 template<typename BaseCommitIdT = Aws::String>
65 void SetBaseCommitId(BaseCommitIdT&& value) { m_baseCommitIdHasBeenSet = true; m_baseCommitId = std::forward<BaseCommitIdT>(value); }
66 template<typename BaseCommitIdT = Aws::String>
67 GetMergeCommitResult& WithBaseCommitId(BaseCommitIdT&& value) { SetBaseCommitId(std::forward<BaseCommitIdT>(value)); return *this;}
69
71
76 inline const Aws::String& GetMergedCommitId() const { return m_mergedCommitId; }
77 template<typename MergedCommitIdT = Aws::String>
78 void SetMergedCommitId(MergedCommitIdT&& value) { m_mergedCommitIdHasBeenSet = true; m_mergedCommitId = std::forward<MergedCommitIdT>(value); }
79 template<typename MergedCommitIdT = Aws::String>
80 GetMergeCommitResult& WithMergedCommitId(MergedCommitIdT&& value) { SetMergedCommitId(std::forward<MergedCommitIdT>(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetMergeCommitResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_sourceCommitId;
94 bool m_sourceCommitIdHasBeenSet = false;
95
96 Aws::String m_destinationCommitId;
97 bool m_destinationCommitIdHasBeenSet = false;
98
99 Aws::String m_baseCommitId;
100 bool m_baseCommitIdHasBeenSet = false;
101
102 Aws::String m_mergedCommitId;
103 bool m_mergedCommitIdHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CodeCommit
111} // namespace Aws
void SetDestinationCommitId(DestinationCommitIdT &&value)
AWS_CODECOMMIT_API GetMergeCommitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMergeCommitResult & WithSourceCommitId(SourceCommitIdT &&value)
AWS_CODECOMMIT_API GetMergeCommitResult()=default
GetMergeCommitResult & WithDestinationCommitId(DestinationCommitIdT &&value)
GetMergeCommitResult & WithRequestId(RequestIdT &&value)
GetMergeCommitResult & WithBaseCommitId(BaseCommitIdT &&value)
AWS_CODECOMMIT_API GetMergeCommitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMergeCommitResult & WithMergedCommitId(MergedCommitIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue