7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
35 AWS_CODECOMMIT_API
Target() =
default;
47 template<
typename RepositoryNameT = Aws::String>
48 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
49 template<
typename RepositoryNameT = Aws::String>
60 template<
typename SourceReferenceT = Aws::String>
61 void SetSourceReference(SourceReferenceT&& value) { m_sourceReferenceHasBeenSet =
true; m_sourceReference = std::forward<SourceReferenceT>(value); }
62 template<
typename SourceReferenceT = Aws::String>
73 template<
typename DestinationReferenceT = Aws::String>
74 void SetDestinationReference(DestinationReferenceT&& value) { m_destinationReferenceHasBeenSet =
true; m_destinationReference = std::forward<DestinationReferenceT>(value); }
75 template<
typename DestinationReferenceT = Aws::String>
81 bool m_repositoryNameHasBeenSet =
false;
84 bool m_sourceReferenceHasBeenSet =
false;
87 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