7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/MergeMetadata.h>
49 template<
typename RepositoryNameT = Aws::String>
50 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
51 template<
typename RepositoryNameT = Aws::String>
62 template<
typename SourceReferenceT = Aws::String>
63 void SetSourceReference(SourceReferenceT&& value) { m_sourceReferenceHasBeenSet =
true; m_sourceReference = std::forward<SourceReferenceT>(value); }
64 template<
typename SourceReferenceT = Aws::String>
75 template<
typename DestinationReferenceT = Aws::String>
76 void SetDestinationReference(DestinationReferenceT&& value) { m_destinationReferenceHasBeenSet =
true; m_destinationReference = std::forward<DestinationReferenceT>(value); }
77 template<
typename DestinationReferenceT = Aws::String>
88 template<
typename DestinationCommitT = Aws::String>
89 void SetDestinationCommit(DestinationCommitT&& value) { m_destinationCommitHasBeenSet =
true; m_destinationCommit = std::forward<DestinationCommitT>(value); }
90 template<
typename DestinationCommitT = Aws::String>
102 template<
typename SourceCommitT = Aws::String>
103 void SetSourceCommit(SourceCommitT&& value) { m_sourceCommitHasBeenSet =
true; m_sourceCommit = std::forward<SourceCommitT>(value); }
104 template<
typename SourceCommitT = Aws::String>
115 template<
typename MergeBaseT = Aws::String>
116 void SetMergeBase(MergeBaseT&& value) { m_mergeBaseHasBeenSet =
true; m_mergeBase = std::forward<MergeBaseT>(value); }
117 template<
typename MergeBaseT = Aws::String>
128 template<
typename MergeMetadataT = MergeMetadata>
129 void SetMergeMetadata(MergeMetadataT&& value) { m_mergeMetadataHasBeenSet =
true; m_mergeMetadata = std::forward<MergeMetadataT>(value); }
130 template<
typename MergeMetadataT = MergeMetadata>
136 bool m_repositoryNameHasBeenSet =
false;
139 bool m_sourceReferenceHasBeenSet =
false;
142 bool m_destinationReferenceHasBeenSet =
false;
145 bool m_destinationCommitHasBeenSet =
false;
148 bool m_sourceCommitHasBeenSet =
false;
151 bool m_mergeBaseHasBeenSet =
false;
154 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