AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CreateAbuseReportResult.h
1
6#pragma once
7#include <aws/abuse-signal/AbuseSignal_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace AbuseSignal {
23namespace Model {
32 public:
33 AWS_ABUSESIGNAL_API CreateAbuseReportResult() = default;
36
38
42 inline const Aws::String& GetReportId() const { return m_reportId; }
43 template <typename ReportIdT = Aws::String>
44 void SetReportId(ReportIdT&& value) {
45 m_reportIdHasBeenSet = true;
46 m_reportId = std::forward<ReportIdT>(value);
47 }
48 template <typename ReportIdT = Aws::String>
50 SetReportId(std::forward<ReportIdT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetCorrelationId() const { return m_correlationId; }
61 template <typename CorrelationIdT = Aws::String>
62 void SetCorrelationId(CorrelationIdT&& value) {
63 m_correlationIdHasBeenSet = true;
64 m_correlationId = std::forward<CorrelationIdT>(value);
65 }
66 template <typename CorrelationIdT = Aws::String>
67 CreateAbuseReportResult& WithCorrelationId(CorrelationIdT&& value) {
68 SetCorrelationId(std::forward<CorrelationIdT>(value));
69 return *this;
70 }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
88
89 private:
90 Aws::String m_reportId;
91
92 Aws::String m_correlationId;
93
94 Aws::String m_requestId;
95 Aws::Http::HttpResponseCode m_HttpResponseCode;
96 bool m_reportIdHasBeenSet = false;
97 bool m_correlationIdHasBeenSet = false;
98 bool m_requestIdHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace AbuseSignal
103} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateAbuseReportResult & WithRequestId(RequestIdT &&value)
AWS_ABUSESIGNAL_API CreateAbuseReportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAbuseReportResult & WithCorrelationId(CorrelationIdT &&value)
CreateAbuseReportResult & WithReportId(ReportIdT &&value)
AWS_ABUSESIGNAL_API CreateAbuseReportResult()=default
AWS_ABUSESIGNAL_API CreateAbuseReportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue