7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecommit/model/MergeMetadata.h>
51 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
66 inline void SetSourceReference(
const char* value) { m_sourceReferenceHasBeenSet =
true; m_sourceReference.assign(value); }
81 inline void SetDestinationReference(
const char* value) { m_destinationReferenceHasBeenSet =
true; m_destinationReference.assign(value); }
96 inline void SetDestinationCommit(
const char* value) { m_destinationCommitHasBeenSet =
true; m_destinationCommit.assign(value); }
112 inline void SetSourceCommit(
const char* value) { m_sourceCommitHasBeenSet =
true; m_sourceCommit.assign(value); }
127 inline void SetMergeBase(
const char* value) { m_mergeBaseHasBeenSet =
true; m_mergeBase.assign(value); }
148 bool m_repositoryNameHasBeenSet =
false;
151 bool m_sourceReferenceHasBeenSet =
false;
154 bool m_destinationReferenceHasBeenSet =
false;
157 bool m_destinationCommitHasBeenSet =
false;
160 bool m_sourceCommitHasBeenSet =
false;
163 bool m_mergeBaseHasBeenSet =
false;
166 bool m_mergeMetadataHasBeenSet =
false;
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceCommit(const char *value)
void SetMergeBase(const char *value)
const MergeMetadata & GetMergeMetadata() const
void SetSourceReference(Aws::String &&value)
bool DestinationReferenceHasBeenSet() const
void SetMergeBase(Aws::String &&value)
void SetRepositoryName(const Aws::String &value)
const Aws::String & GetSourceCommit() const
void SetDestinationReference(const char *value)
void SetDestinationCommit(Aws::String &&value)
AWS_CODECOMMIT_API PullRequestTarget()
void SetSourceCommit(const Aws::String &value)
AWS_CODECOMMIT_API PullRequestTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API PullRequestTarget(Aws::Utils::Json::JsonView jsonValue)
PullRequestTarget & WithMergeMetadata(const MergeMetadata &value)
PullRequestTarget & WithSourceCommit(const char *value)
PullRequestTarget & WithRepositoryName(const char *value)
const Aws::String & GetMergeBase() const
bool MergeBaseHasBeenSet() const
PullRequestTarget & WithDestinationReference(const Aws::String &value)
PullRequestTarget & WithRepositoryName(Aws::String &&value)
PullRequestTarget & WithRepositoryName(const Aws::String &value)
void SetRepositoryName(Aws::String &&value)
bool DestinationCommitHasBeenSet() const
PullRequestTarget & WithSourceCommit(Aws::String &&value)
void SetDestinationCommit(const Aws::String &value)
PullRequestTarget & WithDestinationCommit(const Aws::String &value)
bool SourceReferenceHasBeenSet() const
PullRequestTarget & WithDestinationCommit(Aws::String &&value)
PullRequestTarget & WithSourceCommit(const Aws::String &value)
PullRequestTarget & WithSourceReference(const Aws::String &value)
void SetSourceReference(const Aws::String &value)
const Aws::String & GetDestinationReference() const
void SetMergeBase(const Aws::String &value)
const Aws::String & GetSourceReference() const
void SetMergeMetadata(const MergeMetadata &value)
const Aws::String & GetRepositoryName() const
PullRequestTarget & WithSourceReference(Aws::String &&value)
void SetRepositoryName(const char *value)
PullRequestTarget & WithMergeBase(const char *value)
void SetDestinationReference(const Aws::String &value)
PullRequestTarget & WithMergeBase(Aws::String &&value)
bool MergeMetadataHasBeenSet() const
void SetMergeMetadata(MergeMetadata &&value)
const Aws::String & GetDestinationCommit() const
PullRequestTarget & WithDestinationReference(const char *value)
void SetDestinationReference(Aws::String &&value)
PullRequestTarget & WithSourceReference(const char *value)
PullRequestTarget & WithMergeBase(const Aws::String &value)
bool RepositoryNameHasBeenSet() const
PullRequestTarget & WithDestinationCommit(const char *value)
PullRequestTarget & WithDestinationReference(Aws::String &&value)
void SetSourceCommit(Aws::String &&value)
void SetDestinationCommit(const char *value)
PullRequestTarget & WithMergeMetadata(MergeMetadata &&value)
void SetSourceReference(const char *value)
bool SourceCommitHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue