7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeguru-reviewer/model/ProviderType.h>
10#include <aws/codeguru-reviewer/model/JobState.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/codeguru-reviewer/model/Type.h>
13#include <aws/codeguru-reviewer/model/SourceCodeType.h>
14#include <aws/codeguru-reviewer/model/Metrics.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/codeguru-reviewer/model/ConfigFileState.h>
17#include <aws/codeguru-reviewer/model/AnalysisType.h>
30namespace CodeGuruReviewer
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
70 template<
typename CodeReviewArnT = Aws::String>
71 void SetCodeReviewArn(CodeReviewArnT&& value) { m_codeReviewArnHasBeenSet =
true; m_codeReviewArn = std::forward<CodeReviewArnT>(value); }
72 template<
typename CodeReviewArnT = Aws::String>
82 template<
typename RepositoryNameT = Aws::String>
83 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
84 template<
typename RepositoryNameT = Aws::String>
98 template<
typename OwnerT = Aws::String>
99 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
100 template<
typename OwnerT = Aws::String>
135 template<
typename StateReasonT = Aws::String>
136 void SetStateReason(StateReasonT&& value) { m_stateReasonHasBeenSet =
true; m_stateReason = std::forward<StateReasonT>(value); }
137 template<
typename StateReasonT = Aws::String>
148 template<
typename CreatedTimeStampT = Aws::Utils::DateTime>
149 void SetCreatedTimeStamp(CreatedTimeStampT&& value) { m_createdTimeStampHasBeenSet =
true; m_createdTimeStamp = std::forward<CreatedTimeStampT>(value); }
150 template<
typename CreatedTimeStampT = Aws::Utils::DateTime>
161 template<
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
162 void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT&& value) { m_lastUpdatedTimeStampHasBeenSet =
true; m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value); }
163 template<
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
173 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
183 template<
typename PullRequestIdT = Aws::String>
184 void SetPullRequestId(PullRequestIdT&& value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId = std::forward<PullRequestIdT>(value); }
185 template<
typename PullRequestIdT = Aws::String>
195 template<
typename SourceCodeTypeT = SourceCodeType>
196 void SetSourceCodeType(SourceCodeTypeT&& value) { m_sourceCodeTypeHasBeenSet =
true; m_sourceCodeType = std::forward<SourceCodeTypeT>(value); }
197 template<
typename SourceCodeTypeT = SourceCodeType>
211 template<
typename AssociationArnT = Aws::String>
212 void SetAssociationArn(AssociationArnT&& value) { m_associationArnHasBeenSet =
true; m_associationArn = std::forward<AssociationArnT>(value); }
213 template<
typename AssociationArnT = Aws::String>
223 template<
typename MetricsT = Metrics>
224 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
225 template<
typename MetricsT = Metrics>
237 template<
typename AnalysisTypesT = Aws::Vector<AnalysisType>>
238 void SetAnalysisTypes(AnalysisTypesT&& value) { m_analysisTypesHasBeenSet =
true; m_analysisTypes = std::forward<AnalysisTypesT>(value); }
239 template<
typename AnalysisTypesT = Aws::Vector<AnalysisType>>
259 bool m_nameHasBeenSet =
false;
262 bool m_codeReviewArnHasBeenSet =
false;
265 bool m_repositoryNameHasBeenSet =
false;
268 bool m_ownerHasBeenSet =
false;
271 bool m_providerTypeHasBeenSet =
false;
274 bool m_stateHasBeenSet =
false;
277 bool m_stateReasonHasBeenSet =
false;
280 bool m_createdTimeStampHasBeenSet =
false;
283 bool m_lastUpdatedTimeStampHasBeenSet =
false;
286 bool m_typeHasBeenSet =
false;
289 bool m_pullRequestIdHasBeenSet =
false;
291 SourceCodeType m_sourceCodeType;
292 bool m_sourceCodeTypeHasBeenSet =
false;
295 bool m_associationArnHasBeenSet =
false;
298 bool m_metricsHasBeenSet =
false;
301 bool m_analysisTypesHasBeenSet =
false;
304 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