AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssessmentReportResult.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/inspector/model/ReportStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Inspector
25{
26namespace Model
27{
29 {
30 public:
31 AWS_INSPECTOR_API GetAssessmentReportResult();
34
35
37
40 inline const ReportStatus& GetStatus() const{ return m_status; }
41 inline void SetStatus(const ReportStatus& value) { m_status = value; }
42 inline void SetStatus(ReportStatus&& value) { m_status = std::move(value); }
43 inline GetAssessmentReportResult& WithStatus(const ReportStatus& value) { SetStatus(value); return *this;}
44 inline GetAssessmentReportResult& WithStatus(ReportStatus&& value) { SetStatus(std::move(value)); return *this;}
46
48
52 inline const Aws::String& GetUrl() const{ return m_url; }
53 inline void SetUrl(const Aws::String& value) { m_url = value; }
54 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
55 inline void SetUrl(const char* value) { m_url.assign(value); }
56 inline GetAssessmentReportResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
57 inline GetAssessmentReportResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
58 inline GetAssessmentReportResult& WithUrl(const char* value) { SetUrl(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetAssessmentReportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetAssessmentReportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetAssessmentReportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 ReportStatus m_status;
74
75 Aws::String m_url;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace Inspector
82} // namespace Aws
GetAssessmentReportResult & WithRequestId(Aws::String &&value)
GetAssessmentReportResult & WithStatus(const ReportStatus &value)
GetAssessmentReportResult & WithUrl(const Aws::String &value)
GetAssessmentReportResult & WithRequestId(const Aws::String &value)
AWS_INSPECTOR_API GetAssessmentReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssessmentReportResult & WithUrl(Aws::String &&value)
GetAssessmentReportResult & WithStatus(ReportStatus &&value)
AWS_INSPECTOR_API GetAssessmentReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssessmentReportResult & WithUrl(const char *value)
GetAssessmentReportResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue