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
53 template<
typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
55 template<
typename NameT = Aws::String>
67 template<
typename CodeReviewArnT = Aws::String>
68 void SetCodeReviewArn(CodeReviewArnT&& value) { m_codeReviewArnHasBeenSet =
true; m_codeReviewArn = std::forward<CodeReviewArnT>(value); }
69 template<
typename CodeReviewArnT = Aws::String>
79 template<
typename RepositoryNameT = Aws::String>
80 void SetRepositoryName(RepositoryNameT&& value) { m_repositoryNameHasBeenSet =
true; m_repositoryName = std::forward<RepositoryNameT>(value); }
81 template<
typename RepositoryNameT = Aws::String>
95 template<
typename OwnerT = Aws::String>
96 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
97 template<
typename OwnerT = Aws::String>
133 template<
typename CreatedTimeStampT = Aws::Utils::DateTime>
134 void SetCreatedTimeStamp(CreatedTimeStampT&& value) { m_createdTimeStampHasBeenSet =
true; m_createdTimeStamp = std::forward<CreatedTimeStampT>(value); }
135 template<
typename CreatedTimeStampT = Aws::Utils::DateTime>
146 template<
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
147 void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT&& value) { m_lastUpdatedTimeStampHasBeenSet =
true; m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value); }
148 template<
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
158 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
168 template<
typename PullRequestIdT = Aws::String>
169 void SetPullRequestId(PullRequestIdT&& value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId = std::forward<PullRequestIdT>(value); }
170 template<
typename PullRequestIdT = Aws::String>
180 template<
typename MetricsSummaryT = MetricsSummary>
181 void SetMetricsSummary(MetricsSummaryT&& value) { m_metricsSummaryHasBeenSet =
true; m_metricsSummary = std::forward<MetricsSummaryT>(value); }
182 template<
typename MetricsSummaryT = MetricsSummary>
190 template<
typename SourceCodeTypeT = SourceCodeType>
191 void SetSourceCodeType(SourceCodeTypeT&& value) { m_sourceCodeTypeHasBeenSet =
true; m_sourceCodeType = std::forward<SourceCodeTypeT>(value); }
192 template<
typename SourceCodeTypeT = SourceCodeType>
198 bool m_nameHasBeenSet =
false;
201 bool m_codeReviewArnHasBeenSet =
false;
204 bool m_repositoryNameHasBeenSet =
false;
207 bool m_ownerHasBeenSet =
false;
210 bool m_providerTypeHasBeenSet =
false;
213 bool m_stateHasBeenSet =
false;
216 bool m_createdTimeStampHasBeenSet =
false;
219 bool m_lastUpdatedTimeStampHasBeenSet =
false;
222 bool m_typeHasBeenSet =
false;
225 bool m_pullRequestIdHasBeenSet =
false;
227 MetricsSummary m_metricsSummary;
228 bool m_metricsSummaryHasBeenSet =
false;
230 SourceCodeType m_sourceCodeType;
231 bool m_sourceCodeTypeHasBeenSet =
false;
CodeReviewSummary & WithOwner(OwnerT &&value)
const SourceCodeType & GetSourceCodeType() const
CodeReviewSummary & WithMetricsSummary(MetricsSummaryT &&value)
AWS_CODEGURUREVIEWER_API CodeReviewSummary()=default
bool NameHasBeenSet() const
void SetProviderType(ProviderType value)
CodeReviewSummary & WithPullRequestId(PullRequestIdT &&value)
bool PullRequestIdHasBeenSet() const
void SetPullRequestId(PullRequestIdT &&value)
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
CodeReviewSummary & WithSourceCodeType(SourceCodeTypeT &&value)
AWS_CODEGURUREVIEWER_API CodeReviewSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTimeStamp(CreatedTimeStampT &&value)
CodeReviewSummary & WithType(Type value)
const Aws::String & GetOwner() const
bool CodeReviewArnHasBeenSet() const
CodeReviewSummary & WithProviderType(ProviderType value)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
void SetMetricsSummary(MetricsSummaryT &&value)
CodeReviewSummary & WithName(NameT &&value)
bool OwnerHasBeenSet() const
bool SourceCodeTypeHasBeenSet() const
const Aws::String & GetName() const
void SetCodeReviewArn(CodeReviewArnT &&value)
CodeReviewSummary & WithState(JobState value)
CodeReviewSummary & WithLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
CodeReviewSummary & WithRepositoryName(RepositoryNameT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
bool CreatedTimeStampHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetPullRequestId() const
CodeReviewSummary & WithCreatedTimeStamp(CreatedTimeStampT &&value)
void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
ProviderType GetProviderType() const
const MetricsSummary & GetMetricsSummary() const
const Aws::String & GetCodeReviewArn() const
bool MetricsSummaryHasBeenSet() const
AWS_CODEGURUREVIEWER_API CodeReviewSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool RepositoryNameHasBeenSet() const
bool ProviderTypeHasBeenSet() const
CodeReviewSummary & WithCodeReviewArn(CodeReviewArnT &&value)
bool LastUpdatedTimeStampHasBeenSet() const
const Aws::String & GetRepositoryName() const
void SetOwner(OwnerT &&value)
void SetRepositoryName(RepositoryNameT &&value)
bool StateHasBeenSet() const
void SetSourceCodeType(SourceCodeTypeT &&value)
void SetState(JobState value)
JobState GetState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue