7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/AnalysisType.h>
9#include <aws/codeguru-reviewer/model/ConfigFileState.h>
10#include <aws/codeguru-reviewer/model/JobState.h>
11#include <aws/codeguru-reviewer/model/Metrics.h>
12#include <aws/codeguru-reviewer/model/ProviderType.h>
13#include <aws/codeguru-reviewer/model/SourceCodeType.h>
14#include <aws/codeguru-reviewer/model/Type.h>
15#include <aws/core/utils/DateTime.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
28namespace CodeGuruReviewer {
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
70 template <
typename CodeReviewArnT = Aws::String>
72 m_codeReviewArnHasBeenSet =
true;
73 m_codeReviewArn = std::forward<CodeReviewArnT>(value);
75 template <
typename CodeReviewArnT = Aws::String>
88 template <
typename RepositoryNameT = Aws::String>
90 m_repositoryNameHasBeenSet =
true;
91 m_repositoryName = std::forward<RepositoryNameT>(value);
93 template <
typename RepositoryNameT = Aws::String>
110 template <
typename OwnerT = Aws::String>
112 m_ownerHasBeenSet =
true;
113 m_owner = std::forward<OwnerT>(value);
115 template <
typename OwnerT = Aws::String>
117 SetOwner(std::forward<OwnerT>(value));
130 m_providerTypeHasBeenSet =
true;
131 m_providerType = value;
150 m_stateHasBeenSet =
true;
165 template <
typename StateReasonT = Aws::String>
167 m_stateReasonHasBeenSet =
true;
168 m_stateReason = std::forward<StateReasonT>(value);
170 template <
typename StateReasonT = Aws::String>
184 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
186 m_createdTimeStampHasBeenSet =
true;
187 m_createdTimeStamp = std::forward<CreatedTimeStampT>(value);
189 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
203 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
205 m_lastUpdatedTimeStampHasBeenSet =
true;
206 m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value);
208 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
222 m_typeHasBeenSet =
true;
237 template <
typename PullRequestIdT = Aws::String>
239 m_pullRequestIdHasBeenSet =
true;
240 m_pullRequestId = std::forward<PullRequestIdT>(value);
242 template <
typename PullRequestIdT = Aws::String>
255 template <
typename SourceCodeTypeT = SourceCodeType>
257 m_sourceCodeTypeHasBeenSet =
true;
258 m_sourceCodeType = std::forward<SourceCodeTypeT>(value);
260 template <
typename SourceCodeTypeT = SourceCodeType>
277 template <
typename AssociationArnT = Aws::String>
279 m_associationArnHasBeenSet =
true;
280 m_associationArn = std::forward<AssociationArnT>(value);
282 template <
typename AssociationArnT = Aws::String>
295 template <
typename MetricsT = Metrics>
297 m_metricsHasBeenSet =
true;
298 m_metrics = std::forward<MetricsT>(value);
300 template <
typename MetricsT = Metrics>
315 template <
typename AnalysisTypesT = Aws::Vector<AnalysisType>>
317 m_analysisTypesHasBeenSet =
true;
318 m_analysisTypes = std::forward<AnalysisTypesT>(value);
320 template <
typename AnalysisTypesT = Aws::Vector<AnalysisType>>
326 m_analysisTypesHasBeenSet =
true;
327 m_analysisTypes.push_back(value);
342 m_configFileStateHasBeenSet =
true;
343 m_configFileState = value;
373 SourceCodeType m_sourceCodeType;
382 bool m_nameHasBeenSet =
false;
383 bool m_codeReviewArnHasBeenSet =
false;
384 bool m_repositoryNameHasBeenSet =
false;
385 bool m_ownerHasBeenSet =
false;
386 bool m_providerTypeHasBeenSet =
false;
387 bool m_stateHasBeenSet =
false;
388 bool m_stateReasonHasBeenSet =
false;
389 bool m_createdTimeStampHasBeenSet =
false;
390 bool m_lastUpdatedTimeStampHasBeenSet =
false;
391 bool m_typeHasBeenSet =
false;
392 bool m_pullRequestIdHasBeenSet =
false;
393 bool m_sourceCodeTypeHasBeenSet =
false;
394 bool m_associationArnHasBeenSet =
false;
395 bool m_metricsHasBeenSet =
false;
396 bool m_analysisTypesHasBeenSet =
false;
397 bool m_configFileStateHasBeenSet =
false;
CodeReview & WithName(NameT &&value)
CodeReview & WithProviderType(ProviderType value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceCodeType(SourceCodeTypeT &&value)
CodeReview & AddAnalysisTypes(AnalysisType value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
void SetProviderType(ProviderType value)
bool MetricsHasBeenSet() const
JobState GetState() const
bool StateReasonHasBeenSet() const
CodeReview & WithType(Type value)
AWS_CODEGURUREVIEWER_API CodeReview()=default
bool CodeReviewArnHasBeenSet() const
void SetMetrics(MetricsT &&value)
ProviderType GetProviderType() const
bool CreatedTimeStampHasBeenSet() const
const Aws::String & GetPullRequestId() const
void SetCreatedTimeStamp(CreatedTimeStampT &&value)
void SetOwner(OwnerT &&value)
CodeReview & WithSourceCodeType(SourceCodeTypeT &&value)
bool ConfigFileStateHasBeenSet() const
void SetConfigFileState(ConfigFileState value)
bool RepositoryNameHasBeenSet() const
void SetAssociationArn(AssociationArnT &&value)
void SetCodeReviewArn(CodeReviewArnT &&value)
void SetName(NameT &&value)
const Metrics & GetMetrics() const
bool SourceCodeTypeHasBeenSet() const
CodeReview & WithStateReason(StateReasonT &&value)
const Aws::String & GetName() const
bool LastUpdatedTimeStampHasBeenSet() const
CodeReview & WithPullRequestId(PullRequestIdT &&value)
CodeReview & WithAssociationArn(AssociationArnT &&value)
bool PullRequestIdHasBeenSet() const
const Aws::String & GetRepositoryName() const
bool ProviderTypeHasBeenSet() const
const Aws::String & GetOwner() const
CodeReview & WithLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
AWS_CODEGURUREVIEWER_API CodeReview & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCodeReviewArn() const
CodeReview & WithConfigFileState(ConfigFileState value)
CodeReview & WithCodeReviewArn(CodeReviewArnT &&value)
bool NameHasBeenSet() const
bool AssociationArnHasBeenSet() const
CodeReview & WithMetrics(MetricsT &&value)
void SetState(JobState value)
bool AnalysisTypesHasBeenSet() const
CodeReview & WithCreatedTimeStamp(CreatedTimeStampT &&value)
CodeReview & WithRepositoryName(RepositoryNameT &&value)
CodeReview & WithOwner(OwnerT &&value)
void SetStateReason(StateReasonT &&value)
const Aws::Vector< AnalysisType > & GetAnalysisTypes() const
bool OwnerHasBeenSet() const
const Aws::String & GetAssociationArn() const
void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
ConfigFileState GetConfigFileState() const
AWS_CODEGURUREVIEWER_API CodeReview(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
void SetAnalysisTypes(AnalysisTypesT &&value)
CodeReview & WithState(JobState value)
const SourceCodeType & GetSourceCodeType() const
CodeReview & WithAnalysisTypes(AnalysisTypesT &&value)
bool StateHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetStateReason() const
void SetRepositoryName(RepositoryNameT &&value)
void SetPullRequestId(PullRequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue