7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
30 AWS_CODECOMMIT_API
Target() =
default;
41 template <
typename RepositoryNameT = Aws::String>
43 m_repositoryNameHasBeenSet =
true;
44 m_repositoryName = std::forward<RepositoryNameT>(value);
46 template <
typename RepositoryNameT = Aws::String>
60 template <
typename SourceReferenceT = Aws::String>
62 m_sourceReferenceHasBeenSet =
true;
63 m_sourceReference = std::forward<SourceReferenceT>(value);
65 template <
typename SourceReferenceT = Aws::String>
79 template <
typename DestinationReferenceT = Aws::String>
81 m_destinationReferenceHasBeenSet =
true;
82 m_destinationReference = std::forward<DestinationReferenceT>(value);
84 template <
typename DestinationReferenceT = Aws::String>
96 bool m_repositoryNameHasBeenSet =
false;
97 bool m_sourceReferenceHasBeenSet =
false;
98 bool m_destinationReferenceHasBeenSet =
false;
void SetRepositoryName(RepositoryNameT &&value)
bool DestinationReferenceHasBeenSet() const
Target & WithSourceReference(SourceReferenceT &&value)
Target & WithRepositoryName(RepositoryNameT &&value)
const Aws::String & GetSourceReference() const
AWS_CODECOMMIT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceReference(SourceReferenceT &&value)
const Aws::String & GetDestinationReference() const
Target & WithDestinationReference(DestinationReferenceT &&value)
AWS_CODECOMMIT_API Target()=default
void SetDestinationReference(DestinationReferenceT &&value)
const Aws::String & GetRepositoryName() const
bool SourceReferenceHasBeenSet() const
AWS_CODECOMMIT_API Target & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECOMMIT_API Target(Aws::Utils::Json::JsonView jsonValue)
bool RepositoryNameHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue