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/MetricsSummary.h>
14#include <aws/codeguru-reviewer/model/SourceCodeType.h>
27namespace CodeGuruReviewer
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
71 inline void SetCodeReviewArn(
const char* value) { m_codeReviewArnHasBeenSet =
true; m_codeReviewArn.assign(value); }
85 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
103 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
133 inline void SetState(
JobState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
170 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
171 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
184 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
214 bool m_nameHasBeenSet =
false;
217 bool m_codeReviewArnHasBeenSet =
false;
220 bool m_repositoryNameHasBeenSet =
false;
223 bool m_ownerHasBeenSet =
false;
226 bool m_providerTypeHasBeenSet =
false;
229 bool m_stateHasBeenSet =
false;
232 bool m_createdTimeStampHasBeenSet =
false;
235 bool m_lastUpdatedTimeStampHasBeenSet =
false;
238 bool m_typeHasBeenSet =
false;
241 bool m_pullRequestIdHasBeenSet =
false;
244 bool m_metricsSummaryHasBeenSet =
false;
247 bool m_sourceCodeTypeHasBeenSet =
false;
CodeReviewSummary & WithCodeReviewArn(const char *value)
void SetSourceCodeType(SourceCodeType &&value)
CodeReviewSummary & WithOwner(const char *value)
const SourceCodeType & GetSourceCodeType() const
CodeReviewSummary & WithRepositoryName(Aws::String &&value)
void SetSourceCodeType(const SourceCodeType &value)
bool NameHasBeenSet() const
CodeReviewSummary & WithRepositoryName(const char *value)
void SetOwner(const Aws::String &value)
void SetCodeReviewArn(const Aws::String &value)
bool PullRequestIdHasBeenSet() const
AWS_CODEGURUREVIEWER_API CodeReviewSummary()
void SetRepositoryName(const Aws::String &value)
void SetCreatedTimeStamp(const Aws::Utils::DateTime &value)
CodeReviewSummary & WithMetricsSummary(MetricsSummary &&value)
void SetType(const Type &value)
void SetProviderType(ProviderType &&value)
CodeReviewSummary & WithPullRequestId(const Aws::String &value)
CodeReviewSummary & WithType(Type &&value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
CodeReviewSummary & WithSourceCodeType(const SourceCodeType &value)
AWS_CODEGURUREVIEWER_API CodeReviewSummary(Aws::Utils::Json::JsonView jsonValue)
void SetState(JobState &&value)
CodeReviewSummary & WithCodeReviewArn(const Aws::String &value)
void SetOwner(const char *value)
void SetRepositoryName(Aws::String &&value)
const Aws::String & GetOwner() const
bool CodeReviewArnHasBeenSet() const
CodeReviewSummary & WithProviderType(ProviderType &&value)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
void SetPullRequestId(const char *value)
void SetPullRequestId(Aws::String &&value)
CodeReviewSummary & WithLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
const JobState & GetState() const
bool OwnerHasBeenSet() const
CodeReviewSummary & WithProviderType(const ProviderType &value)
bool SourceCodeTypeHasBeenSet() const
const Aws::String & GetName() const
void SetCodeReviewArn(Aws::String &&value)
void SetMetricsSummary(const MetricsSummary &value)
void SetCodeReviewArn(const char *value)
void SetName(const Aws::String &value)
CodeReviewSummary & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
CodeReviewSummary & WithState(const JobState &value)
bool CreatedTimeStampHasBeenSet() const
CodeReviewSummary & WithCreatedTimeStamp(const Aws::Utils::DateTime &value)
CodeReviewSummary & WithName(const char *value)
bool TypeHasBeenSet() const
const Aws::String & GetPullRequestId() const
void SetCreatedTimeStamp(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
CodeReviewSummary & WithLastUpdatedTimeStamp(Aws::Utils::DateTime &&value)
CodeReviewSummary & WithCreatedTimeStamp(Aws::Utils::DateTime &&value)
void SetType(Type &&value)
const MetricsSummary & GetMetricsSummary() const
const Aws::String & GetCodeReviewArn() const
bool MetricsSummaryHasBeenSet() const
AWS_CODEGURUREVIEWER_API CodeReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryName(const char *value)
CodeReviewSummary & WithSourceCodeType(SourceCodeType &&value)
const ProviderType & GetProviderType() const
void SetLastUpdatedTimeStamp(const Aws::Utils::DateTime &value)
CodeReviewSummary & WithOwner(Aws::String &&value)
bool RepositoryNameHasBeenSet() const
CodeReviewSummary & WithRepositoryName(const Aws::String &value)
void SetProviderType(const ProviderType &value)
CodeReviewSummary & WithName(Aws::String &&value)
const Type & GetType() const
bool ProviderTypeHasBeenSet() const
void SetName(const char *value)
CodeReviewSummary & WithState(JobState &&value)
CodeReviewSummary & WithOwner(const Aws::String &value)
bool LastUpdatedTimeStampHasBeenSet() const
void SetMetricsSummary(MetricsSummary &&value)
void SetLastUpdatedTimeStamp(Aws::Utils::DateTime &&value)
CodeReviewSummary & WithPullRequestId(Aws::String &&value)
void SetState(const JobState &value)
const Aws::String & GetRepositoryName() const
CodeReviewSummary & WithType(const Type &value)
bool StateHasBeenSet() const
void SetPullRequestId(const Aws::String &value)
CodeReviewSummary & WithCodeReviewArn(Aws::String &&value)
CodeReviewSummary & WithMetricsSummary(const MetricsSummary &value)
CodeReviewSummary & WithPullRequestId(const char *value)
void SetOwner(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue