AWS SDK for C++

AWS SDK for C++ Version 1.11.778

Loading...
Searching...
No Matches
UpdateCaseCommentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/SecurityIR_EXPORTS.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 SecurityIR {
23namespace Model {
25 public:
26 AWS_SECURITYIR_API UpdateCaseCommentResult() = default;
29
31
34 inline const Aws::String& GetCommentId() const { return m_commentId; }
35 template <typename CommentIdT = Aws::String>
36 void SetCommentId(CommentIdT&& value) {
37 m_commentIdHasBeenSet = true;
38 m_commentId = std::forward<CommentIdT>(value);
39 }
40 template <typename CommentIdT = Aws::String>
42 SetCommentId(std::forward<CommentIdT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetBody() const { return m_body; }
53 template <typename BodyT = Aws::String>
54 void SetBody(BodyT&& value) {
55 m_bodyHasBeenSet = true;
56 m_body = std::forward<BodyT>(value);
57 }
58 template <typename BodyT = Aws::String>
60 SetBody(std::forward<BodyT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_commentId;
83
84 Aws::String m_body;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_commentIdHasBeenSet = false;
89 bool m_bodyHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace SecurityIR
95} // namespace Aws
AWS_SECURITYIR_API UpdateCaseCommentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYIR_API UpdateCaseCommentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateCaseCommentResult & WithCommentId(CommentIdT &&value)
AWS_SECURITYIR_API UpdateCaseCommentResult()=default
UpdateCaseCommentResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateCaseCommentResult & WithBody(BodyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue