7#include <aws/codeguru-reviewer/CodeGuruReviewerRequest.h>
8#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
9#include <aws/codeguru-reviewer/model/CodeReviewType.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
16namespace CodeGuruReviewer {
40 template <
typename NameT = Aws::String>
42 m_nameHasBeenSet =
true;
43 m_name = std::forward<NameT>(value);
45 template <
typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
63 template <
typename RepositoryAssociationArnT = Aws::String>
65 m_repositoryAssociationArnHasBeenSet =
true;
66 m_repositoryAssociationArn = std::forward<RepositoryAssociationArnT>(value);
68 template <
typename RepositoryAssociationArnT = Aws::String>
84 template <
typename TypeT = CodeReviewType>
86 m_typeHasBeenSet =
true;
87 m_type = std::forward<TypeT>(value);
89 template <
typename TypeT = CodeReviewType>
91 SetType(std::forward<TypeT>(value));
103 template <
typename ClientRequestTokenT = Aws::String>
105 m_clientRequestTokenHasBeenSet =
true;
106 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
108 template <
typename ClientRequestTokenT = Aws::String>
122 bool m_nameHasBeenSet =
false;
123 bool m_repositoryAssociationArnHasBeenSet =
false;
124 bool m_typeHasBeenSet =
false;
125 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