AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
CloseCaseResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/security-ir/SecurityIR_EXPORTS.h>
11#include <aws/security-ir/model/CaseStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityIR {
25namespace Model {
27 public:
28 AWS_SECURITYIR_API CloseCaseResult() = default;
31
33
37 inline CaseStatus GetCaseStatus() const { return m_caseStatus; }
38 inline void SetCaseStatus(CaseStatus value) {
39 m_caseStatusHasBeenSet = true;
40 m_caseStatus = value;
41 }
43 SetCaseStatus(value);
44 return *this;
45 }
47
49
54 inline const Aws::Utils::DateTime& GetClosedDate() const { return m_closedDate; }
55 template <typename ClosedDateT = Aws::Utils::DateTime>
56 void SetClosedDate(ClosedDateT&& value) {
57 m_closedDateHasBeenSet = true;
58 m_closedDate = std::forward<ClosedDateT>(value);
59 }
60 template <typename ClosedDateT = Aws::Utils::DateTime>
61 CloseCaseResult& WithClosedDate(ClosedDateT&& value) {
62 SetClosedDate(std::forward<ClosedDateT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 CloseCaseResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 CaseStatus m_caseStatus{CaseStatus::NOT_SET};
85
86 Aws::Utils::DateTime m_closedDate{};
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_caseStatusHasBeenSet = false;
91 bool m_closedDateHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace SecurityIR
97} // namespace Aws
AWS_SECURITYIR_API CloseCaseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetClosedDate() const
CloseCaseResult & WithRequestId(RequestIdT &&value)
CloseCaseResult & WithCaseStatus(CaseStatus value)
CloseCaseResult & WithClosedDate(ClosedDateT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetRequestId() const
void SetClosedDate(ClosedDateT &&value)
AWS_SECURITYIR_API CloseCaseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYIR_API CloseCaseResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue