7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/Conflict.h>
11#include <aws/codecommit/model/BatchDescribeMergeConflictsError.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template<
typename ConflictsT = Aws::Vector<Conflict>>
45 void SetConflicts(ConflictsT&& value) { m_conflictsHasBeenSet =
true; m_conflicts = std::forward<ConflictsT>(value); }
46 template<
typename ConflictsT = Aws::Vector<Conflict>>
48 template<
typename ConflictsT = Conflict>
58 template<
typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<
typename NextTokenT = Aws::String>
70 template<
typename ErrorsT = Aws::Vector<BatchDescribeMergeConflictsError>>
71 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet =
true; m_errors = std::forward<ErrorsT>(value); }
72 template<
typename ErrorsT = Aws::Vector<BatchDescribeMergeConflictsError>>
74 template<
typename ErrorsT = BatchDescribeMergeConflictsError>
84 template<
typename DestinationCommitIdT = Aws::String>
85 void SetDestinationCommitId(DestinationCommitIdT&& value) { m_destinationCommitIdHasBeenSet =
true; m_destinationCommitId = std::forward<DestinationCommitIdT>(value); }
86 template<
typename DestinationCommitIdT = Aws::String>
96 template<
typename SourceCommitIdT = Aws::String>
97 void SetSourceCommitId(SourceCommitIdT&& value) { m_sourceCommitIdHasBeenSet =
true; m_sourceCommitId = std::forward<SourceCommitIdT>(value); }
98 template<
typename SourceCommitIdT = Aws::String>
107 template<
typename BaseCommitIdT = Aws::String>
108 void SetBaseCommitId(BaseCommitIdT&& value) { m_baseCommitIdHasBeenSet =
true; m_baseCommitId = std::forward<BaseCommitIdT>(value); }
109 template<
typename BaseCommitIdT = Aws::String>
116 template<
typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
118 template<
typename RequestIdT = Aws::String>
124 bool m_conflictsHasBeenSet =
false;
127 bool m_nextTokenHasBeenSet =
false;
130 bool m_errorsHasBeenSet =
false;
133 bool m_destinationCommitIdHasBeenSet =
false;
136 bool m_sourceCommitIdHasBeenSet =
false;
139 bool m_baseCommitIdHasBeenSet =
false;
142 bool m_requestIdHasBeenSet =
false;
BatchDescribeMergeConflictsResult & WithDestinationCommitId(DestinationCommitIdT &&value)
const Aws::Vector< Conflict > & GetConflicts() const
void SetSourceCommitId(SourceCommitIdT &&value)
void SetDestinationCommitId(DestinationCommitIdT &&value)
const Aws::String & GetDestinationCommitId() const
BatchDescribeMergeConflictsResult & AddErrors(ErrorsT &&value)
AWS_CODECOMMIT_API BatchDescribeMergeConflictsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDescribeMergeConflictsResult & WithRequestId(RequestIdT &&value)
BatchDescribeMergeConflictsResult & WithBaseCommitId(BaseCommitIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetNextToken() const
BatchDescribeMergeConflictsResult & WithConflicts(ConflictsT &&value)
void SetNextToken(NextTokenT &&value)
const Aws::Vector< BatchDescribeMergeConflictsError > & GetErrors() const
BatchDescribeMergeConflictsResult & WithErrors(ErrorsT &&value)
AWS_CODECOMMIT_API BatchDescribeMergeConflictsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetErrors(ErrorsT &&value)
void SetConflicts(ConflictsT &&value)
void SetBaseCommitId(BaseCommitIdT &&value)
AWS_CODECOMMIT_API BatchDescribeMergeConflictsResult()=default
void SetRequestId(RequestIdT &&value)
const Aws::String & GetSourceCommitId() const
BatchDescribeMergeConflictsResult & WithNextToken(NextTokenT &&value)
BatchDescribeMergeConflictsResult & AddConflicts(ConflictsT &&value)
const Aws::String & GetBaseCommitId() const
BatchDescribeMergeConflictsResult & WithSourceCommitId(SourceCommitIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue