7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/JobState.h>
9#include <aws/codeguru-reviewer/model/MetricsSummary.h>
10#include <aws/codeguru-reviewer/model/ProviderType.h>
11#include <aws/codeguru-reviewer/model/SourceCodeType.h>
12#include <aws/codeguru-reviewer/model/Type.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
25namespace CodeGuruReviewer {
47 template <
typename NameT = Aws::String>
49 m_nameHasBeenSet =
true;
50 m_name = std::forward<NameT>(value);
52 template <
typename NameT = Aws::String>
54 SetName(std::forward<NameT>(value));
67 template <
typename CodeReviewArnT = Aws::String>
69 m_codeReviewArnHasBeenSet =
true;
70 m_codeReviewArn = std::forward<CodeReviewArnT>(value);
72 template <
typename CodeReviewArnT = Aws::String>
85 template <
typename RepositoryNameT = Aws::String>
87 m_repositoryNameHasBeenSet =
true;
88 m_repositoryName = std::forward<RepositoryNameT>(value);
90 template <
typename RepositoryNameT = Aws::String>
107 template <
typename OwnerT = Aws::String>
109 m_ownerHasBeenSet =
true;
110 m_owner = std::forward<OwnerT>(value);
112 template <
typename OwnerT = Aws::String>
114 SetOwner(std::forward<OwnerT>(value));
126 m_providerTypeHasBeenSet =
true;
127 m_providerType = value;
147 m_stateHasBeenSet =
true;
163 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
165 m_createdTimeStampHasBeenSet =
true;
166 m_createdTimeStamp = std::forward<CreatedTimeStampT>(value);
168 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
182 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
184 m_lastUpdatedTimeStampHasBeenSet =
true;
185 m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value);
187 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
201 m_typeHasBeenSet =
true;
216 template <
typename PullRequestIdT = Aws::String>
218 m_pullRequestIdHasBeenSet =
true;
219 m_pullRequestId = std::forward<PullRequestIdT>(value);
221 template <
typename PullRequestIdT = Aws::String>
234 template <
typename MetricsSummaryT = MetricsSummary>
236 m_metricsSummaryHasBeenSet =
true;
237 m_metricsSummary = std::forward<MetricsSummaryT>(value);
239 template <
typename MetricsSummaryT = MetricsSummary>
250 template <
typename SourceCodeTypeT = SourceCodeType>
252 m_sourceCodeTypeHasBeenSet =
true;
253 m_sourceCodeType = std::forward<SourceCodeTypeT>(value);
255 template <
typename SourceCodeTypeT = SourceCodeType>
282 MetricsSummary m_metricsSummary;
284 SourceCodeType m_sourceCodeType;
285 bool m_nameHasBeenSet =
false;
286 bool m_codeReviewArnHasBeenSet =
false;
287 bool m_repositoryNameHasBeenSet =
false;
288 bool m_ownerHasBeenSet =
false;
289 bool m_providerTypeHasBeenSet =
false;
290 bool m_stateHasBeenSet =
false;
291 bool m_createdTimeStampHasBeenSet =
false;
292 bool m_lastUpdatedTimeStampHasBeenSet =
false;
293 bool m_typeHasBeenSet =
false;
294 bool m_pullRequestIdHasBeenSet =
false;
295 bool m_metricsSummaryHasBeenSet =
false;
296 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