7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/model/MergeMetadata.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
43 template <
typename RepositoryNameT = Aws::String>
45 m_repositoryNameHasBeenSet =
true;
46 m_repositoryName = std::forward<RepositoryNameT>(value);
48 template <
typename RepositoryNameT = Aws::String>
62 template <
typename SourceReferenceT = Aws::String>
64 m_sourceReferenceHasBeenSet =
true;
65 m_sourceReference = std::forward<SourceReferenceT>(value);
67 template <
typename SourceReferenceT = Aws::String>
81 template <
typename DestinationReferenceT = Aws::String>
83 m_destinationReferenceHasBeenSet =
true;
84 m_destinationReference = std::forward<DestinationReferenceT>(value);
86 template <
typename DestinationReferenceT = Aws::String>
100 template <
typename DestinationCommitT = Aws::String>
102 m_destinationCommitHasBeenSet =
true;
103 m_destinationCommit = std::forward<DestinationCommitT>(value);
105 template <
typename DestinationCommitT = Aws::String>
120 template <
typename SourceCommitT = Aws::String>
122 m_sourceCommitHasBeenSet =
true;
123 m_sourceCommit = std::forward<SourceCommitT>(value);
125 template <
typename SourceCommitT = Aws::String>
139 template <
typename MergeBaseT = Aws::String>
141 m_mergeBaseHasBeenSet =
true;
142 m_mergeBase = std::forward<MergeBaseT>(value);
144 template <
typename MergeBaseT = Aws::String>
158 template <
typename MergeMetadataT = MergeMetadata>
160 m_mergeMetadataHasBeenSet =
true;
161 m_mergeMetadata = std::forward<MergeMetadataT>(value);
163 template <
typename MergeMetadataT = MergeMetadata>
183 bool m_repositoryNameHasBeenSet =
false;
184 bool m_sourceReferenceHasBeenSet =
false;
185 bool m_destinationReferenceHasBeenSet =
false;
186 bool m_destinationCommitHasBeenSet =
false;
187 bool m_sourceCommitHasBeenSet =
false;
188 bool m_mergeBaseHasBeenSet =
false;
189 bool m_mergeMetadataHasBeenSet =
false;
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinationCommit(DestinationCommitT &&value)
const MergeMetadata & GetMergeMetadata() const
void SetMergeMetadata(MergeMetadataT &&value)
bool DestinationReferenceHasBeenSet() const
const Aws::String & GetSourceCommit() const
AWS_CODECOMMIT_API PullRequestTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API PullRequestTarget(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API PullRequestTarget()=default
PullRequestTarget & WithSourceCommit(SourceCommitT &&value)
const Aws::String & GetMergeBase() const
bool MergeBaseHasBeenSet() const
PullRequestTarget & WithDestinationReference(DestinationReferenceT &&value)
void SetSourceCommit(SourceCommitT &&value)
bool DestinationCommitHasBeenSet() const
PullRequestTarget & WithRepositoryName(RepositoryNameT &&value)
bool SourceReferenceHasBeenSet() const
PullRequestTarget & WithSourceReference(SourceReferenceT &&value)
const Aws::String & GetDestinationReference() const
const Aws::String & GetSourceReference() const
const Aws::String & GetRepositoryName() const
PullRequestTarget & WithMergeBase(MergeBaseT &&value)
bool MergeMetadataHasBeenSet() const
void SetMergeBase(MergeBaseT &&value)
const Aws::String & GetDestinationCommit() const
PullRequestTarget & WithMergeMetadata(MergeMetadataT &&value)
bool RepositoryNameHasBeenSet() const
PullRequestTarget & WithDestinationCommit(DestinationCommitT &&value)
void SetRepositoryName(RepositoryNameT &&value)
void SetSourceReference(SourceReferenceT &&value)
bool SourceCommitHasBeenSet() const
void SetDestinationReference(DestinationReferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue