AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateCaseCommentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/security-ir/SecurityIRRequest.h>
9#include <aws/security-ir/SecurityIR_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SecurityIR {
15namespace Model {
16
20 public:
21 AWS_SECURITYIR_API UpdateCaseCommentRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateCaseComment"; }
28
29 AWS_SECURITYIR_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetCaseId() const { return m_caseId; }
37 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
38 template <typename CaseIdT = Aws::String>
39 void SetCaseId(CaseIdT&& value) {
40 m_caseIdHasBeenSet = true;
41 m_caseId = std::forward<CaseIdT>(value);
42 }
43 template <typename CaseIdT = Aws::String>
45 SetCaseId(std::forward<CaseIdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetCommentId() const { return m_commentId; }
56 inline bool CommentIdHasBeenSet() const { return m_commentIdHasBeenSet; }
57 template <typename CommentIdT = Aws::String>
58 void SetCommentId(CommentIdT&& value) {
59 m_commentIdHasBeenSet = true;
60 m_commentId = std::forward<CommentIdT>(value);
61 }
62 template <typename CommentIdT = Aws::String>
64 SetCommentId(std::forward<CommentIdT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetRequestBody() const { return m_requestBody; }
75 inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; }
76 template <typename RequestBodyT = Aws::String>
77 void SetRequestBody(RequestBodyT&& value) {
78 m_requestBodyHasBeenSet = true;
79 m_requestBody = std::forward<RequestBodyT>(value);
80 }
81 template <typename RequestBodyT = Aws::String>
83 SetRequestBody(std::forward<RequestBodyT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_caseId;
89
90 Aws::String m_commentId;
91
92 Aws::String m_requestBody;
93 bool m_caseIdHasBeenSet = false;
94 bool m_commentIdHasBeenSet = false;
95 bool m_requestBodyHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SecurityIR
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SECURITYIR_API Aws::String SerializePayload() const override
UpdateCaseCommentRequest & WithCommentId(CommentIdT &&value)
AWS_SECURITYIR_API UpdateCaseCommentRequest()=default
UpdateCaseCommentRequest & WithRequestBody(RequestBodyT &&value)
UpdateCaseCommentRequest & WithCaseId(CaseIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String