7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/inspector2/model/CodeSecurityResource.h>
11#include <aws/inspector2/model/CodeScanStatus.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename AccountIdT = Aws::String>
44 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
45 template<
typename AccountIdT = Aws::String>
54 template<
typename CreatedAtT = Aws::Utils::DateTime>
55 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
56 template<
typename CreatedAtT = Aws::Utils::DateTime>
66 template<
typename LastCommitIdT = Aws::String>
67 void SetLastCommitId(LastCommitIdT&& value) { m_lastCommitIdHasBeenSet =
true; m_lastCommitId = std::forward<LastCommitIdT>(value); }
68 template<
typename LastCommitIdT = Aws::String>
77 template<
typename ResourceT = CodeSecurityResource>
78 void SetResource(ResourceT&& value) { m_resourceHasBeenSet =
true; m_resource = std::forward<ResourceT>(value); }
79 template<
typename ResourceT = CodeSecurityResource>
88 template<
typename ScanIdT = Aws::String>
89 void SetScanId(ScanIdT&& value) { m_scanIdHasBeenSet =
true; m_scanId = std::forward<ScanIdT>(value); }
90 template<
typename ScanIdT = Aws::String>
108 template<
typename StatusReasonT = Aws::String>
109 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
110 template<
typename StatusReasonT = Aws::String>
119 template<
typename UpdatedAtT = Aws::Utils::DateTime>
120 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
121 template<
typename UpdatedAtT = Aws::Utils::DateTime>
128 template<
typename RequestIdT = Aws::String>
129 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
130 template<
typename RequestIdT = Aws::String>
136 bool m_accountIdHasBeenSet =
false;
139 bool m_createdAtHasBeenSet =
false;
142 bool m_lastCommitIdHasBeenSet =
false;
144 CodeSecurityResource m_resource;
145 bool m_resourceHasBeenSet =
false;
148 bool m_scanIdHasBeenSet =
false;
151 bool m_statusHasBeenSet =
false;
154 bool m_statusReasonHasBeenSet =
false;
157 bool m_updatedAtHasBeenSet =
false;
160 bool m_requestIdHasBeenSet =
false;
GetCodeSecurityScanResult & WithLastCommitId(LastCommitIdT &&value)
void SetStatusReason(StatusReasonT &&value)
GetCodeSecurityScanResult & WithCreatedAt(CreatedAtT &&value)
GetCodeSecurityScanResult & WithStatusReason(StatusReasonT &&value)
const Aws::String & GetScanId() const
void SetLastCommitId(LastCommitIdT &&value)
const Aws::String & GetLastCommitId() const
const CodeSecurityResource & GetResource() const
const Aws::String & GetRequestId() const
void SetStatus(CodeScanStatus value)
GetCodeSecurityScanResult & WithRequestId(RequestIdT &&value)
void SetCreatedAt(CreatedAtT &&value)
GetCodeSecurityScanResult & WithScanId(ScanIdT &&value)
void SetRequestId(RequestIdT &&value)
GetCodeSecurityScanResult & WithUpdatedAt(UpdatedAtT &&value)
GetCodeSecurityScanResult & WithResource(ResourceT &&value)
void SetAccountId(AccountIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
CodeScanStatus GetStatus() const
void SetResource(ResourceT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetAccountId() const
GetCodeSecurityScanResult & WithAccountId(AccountIdT &&value)
const Aws::String & GetStatusReason() const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_INSPECTOR2_API GetCodeSecurityScanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCodeSecurityScanResult & WithStatus(CodeScanStatus value)
AWS_INSPECTOR2_API GetCodeSecurityScanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_INSPECTOR2_API GetCodeSecurityScanResult()=default
void SetScanId(ScanIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue