7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/CodeGuruReviewerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguru-reviewer/model/CodeReviewType.h>
12#include <aws/core/utils/UUID.h>
16namespace CodeGuruReviewer
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
61 template<
typename RepositoryAssociationArnT = Aws::String>
62 void SetRepositoryAssociationArn(RepositoryAssociationArnT&& value) { m_repositoryAssociationArnHasBeenSet =
true; m_repositoryAssociationArn = std::forward<RepositoryAssociationArnT>(value); }
63 template<
typename RepositoryAssociationArnT = Aws::String>
76 template<
typename TypeT = CodeReviewType>
77 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
78 template<
typename TypeT = CodeReviewType>
89 template<
typename ClientRequestTokenT = Aws::String>
90 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
91 template<
typename ClientRequestTokenT = Aws::String>
97 bool m_nameHasBeenSet =
false;
100 bool m_repositoryAssociationArnHasBeenSet =
false;
103 bool m_typeHasBeenSet =
false;
106 bool m_clientRequestTokenHasBeenSet =
true;
AWS_CODEGURUREVIEWER_API CreateCodeReviewRequest()=default
const Aws::String & GetName() const
CreateCodeReviewRequest & WithRepositoryAssociationArn(RepositoryAssociationArnT &&value)
void SetType(TypeT &&value)
const CodeReviewType & GetType() const
CreateCodeReviewRequest & WithClientRequestToken(ClientRequestTokenT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
bool RepositoryAssociationArnHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
bool NameHasBeenSet() const
void SetRepositoryAssociationArn(RepositoryAssociationArnT &&value)
CreateCodeReviewRequest & WithName(NameT &&value)
const Aws::String & GetClientRequestToken() const
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
CreateCodeReviewRequest & WithType(TypeT &&value)
void SetName(NameT &&value)
bool TypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetRepositoryAssociationArn() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String