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
58 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetCodeReviewArn(
const char* value) { m_codeReviewArnHasBeenSet =
true; m_codeReviewArn.assign(value); }
88 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
106 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
136 inline void SetState(
JobState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
149 inline void SetStateReason(
const char* value) { m_stateReasonHasBeenSet =
true; m_stateReason.assign(value); }
187 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
188 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
201 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
231 inline void SetAssociationArn(
const char* value) { m_associationArnHasBeenSet =
true; m_associationArn.assign(value); }
244 inline void SetMetrics(
Metrics&& value) { m_metricsHasBeenSet =
true; m_metrics = std::move(value); }
282 bool m_nameHasBeenSet =
false;
285 bool m_codeReviewArnHasBeenSet =
false;
288 bool m_repositoryNameHasBeenSet =
false;
291 bool m_ownerHasBeenSet =
false;
294 bool m_providerTypeHasBeenSet =
false;
297 bool m_stateHasBeenSet =
false;
300 bool m_stateReasonHasBeenSet =
false;
303 bool m_createdTimeStampHasBeenSet =
false;
306 bool m_lastUpdatedTimeStampHasBeenSet =
false;
309 bool m_typeHasBeenSet =
false;
312 bool m_pullRequestIdHasBeenSet =
false;
315 bool m_sourceCodeTypeHasBeenSet =
false;
318 bool m_associationArnHasBeenSet =
false;
321 bool m_metricsHasBeenSet =
false;
324 bool m_analysisTypesHasBeenSet =
false;
327 bool m_configFileStateHasBeenSet =
false;
void SetAnalysisTypes(const Aws::Vector< AnalysisType > &value)
void SetPullRequestId(const char *value)
CodeReview & WithCreatedTimeStamp(Aws::Utils::DateTime &&value)
CodeReview & WithAssociationArn(Aws::String &&value)
void SetAnalysisTypes(Aws::Vector< AnalysisType > &&value)
CodeReview & WithType(const Type &value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetState(JobState &&value)
CodeReview & WithRepositoryName(const Aws::String &value)
CodeReview & WithAnalysisTypes(const Aws::Vector< AnalysisType > &value)
void SetStateReason(Aws::String &&value)
void SetConfigFileState(ConfigFileState &&value)
CodeReview & WithProviderType(const ProviderType &value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
bool MetricsHasBeenSet() const
void SetOwner(Aws::String &&value)
CodeReview & WithCodeReviewArn(const Aws::String &value)
bool StateReasonHasBeenSet() const
const ConfigFileState & GetConfigFileState() const
CodeReview & WithMetrics(Metrics &&value)
CodeReview & WithLastUpdatedTimeStamp(Aws::Utils::DateTime &&value)
bool CodeReviewArnHasBeenSet() const
void SetName(const Aws::String &value)
void SetName(const char *value)
CodeReview & AddAnalysisTypes(const AnalysisType &value)
CodeReview & WithPullRequestId(const char *value)
void SetRepositoryName(Aws::String &&value)
bool CreatedTimeStampHasBeenSet() const
CodeReview & WithCodeReviewArn(const char *value)
const Aws::String & GetPullRequestId() const
void SetPullRequestId(Aws::String &&value)
const ProviderType & GetProviderType() const
void SetCodeReviewArn(Aws::String &&value)
bool ConfigFileStateHasBeenSet() const
bool RepositoryNameHasBeenSet() const
CodeReview & WithRepositoryName(const char *value)
void SetAssociationArn(const Aws::String &value)
void SetPullRequestId(const Aws::String &value)
CodeReview & WithConfigFileState(const ConfigFileState &value)
void SetConfigFileState(const ConfigFileState &value)
CodeReview & WithCodeReviewArn(Aws::String &&value)
void SetAssociationArn(Aws::String &&value)
void SetAssociationArn(const char *value)
void SetCodeReviewArn(const Aws::String &value)
CodeReview & WithRepositoryName(Aws::String &&value)
void SetSourceCodeType(SourceCodeType &&value)
CodeReview & WithLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
CodeReview & WithSourceCodeType(SourceCodeType &&value)
void SetType(const Type &value)
void SetOwner(const Aws::String &value)
void SetSourceCodeType(const SourceCodeType &value)
CodeReview & WithPullRequestId(const Aws::String &value)
AWS_CODEGURUREVIEWER_API CodeReview()
const Metrics & GetMetrics() const
const JobState & GetState() const
bool SourceCodeTypeHasBeenSet() const
void SetStateReason(const Aws::String &value)
CodeReview & WithPullRequestId(Aws::String &&value)
void SetCodeReviewArn(const char *value)
const Aws::String & GetName() const
bool LastUpdatedTimeStampHasBeenSet() const
void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
void SetName(Aws::String &&value)
bool PullRequestIdHasBeenSet() const
void SetMetrics(const Metrics &value)
CodeReview & WithStateReason(const Aws::String &value)
void SetStateReason(const char *value)
void SetRepositoryName(const Aws::String &value)
const Type & GetType() const
const Aws::String & GetRepositoryName() const
bool ProviderTypeHasBeenSet() const
CodeReview & WithCreatedTimeStamp(const Aws::Utils::DateTime &value)
const Aws::String & GetOwner() const
CodeReview & WithAssociationArn(const Aws::String &value)
CodeReview & WithConfigFileState(ConfigFileState &&value)
CodeReview & WithState(JobState &&value)
AWS_CODEGURUREVIEWER_API CodeReview & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeReview & WithName(const char *value)
void SetCreatedTimeStamp(Aws::Utils::DateTime &&value)
const Aws::String & GetCodeReviewArn() const
void SetMetrics(Metrics &&value)
CodeReview & WithName(const Aws::String &value)
void SetOwner(const char *value)
bool NameHasBeenSet() const
CodeReview & WithStateReason(Aws::String &&value)
bool AssociationArnHasBeenSet() const
CodeReview & WithMetrics(const Metrics &value)
CodeReview & WithOwner(const char *value)
CodeReview & WithState(const JobState &value)
CodeReview & WithOwner(const Aws::String &value)
CodeReview & WithAnalysisTypes(Aws::Vector< AnalysisType > &&value)
CodeReview & AddAnalysisTypes(AnalysisType &&value)
bool AnalysisTypesHasBeenSet() const
CodeReview & WithOwner(Aws::String &&value)
void SetState(const JobState &value)
CodeReview & WithType(Type &&value)
CodeReview & WithStateReason(const char *value)
void SetProviderType(ProviderType &&value)
const Aws::Vector< AnalysisType > & GetAnalysisTypes() const
bool OwnerHasBeenSet() const
CodeReview & WithSourceCodeType(const SourceCodeType &value)
const Aws::String & GetAssociationArn() const
AWS_CODEGURUREVIEWER_API CodeReview(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
void SetCreatedTimeStamp(const Aws::Utils::DateTime &value)
CodeReview & WithProviderType(ProviderType &&value)
CodeReview & WithAssociationArn(const char *value)
void SetType(Type &&value)
const SourceCodeType & GetSourceCodeType() const
void SetProviderType(const ProviderType &value)
void SetRepositoryName(const char *value)
bool StateHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetStateReason() const
CodeReview & WithName(Aws::String &&value)
void SetLastUpdatedTimeStamp(Aws::Utils::DateTime &&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