AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateCaseCommentRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/security-ir/SecurityIRRequest.h>
10#include <aws/security-ir/SecurityIR_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityIR {
16namespace Model {
17
21 public:
22 AWS_SECURITYIR_API CreateCaseCommentRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateCaseComment"; }
29
30 AWS_SECURITYIR_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetCaseId() const { return m_caseId; }
38 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
39 template <typename CaseIdT = Aws::String>
40 void SetCaseId(CaseIdT&& value) {
41 m_caseIdHasBeenSet = true;
42 m_caseId = std::forward<CaseIdT>(value);
43 }
44 template <typename CaseIdT = Aws::String>
46 SetCaseId(std::forward<CaseIdT>(value));
47 return *this;
48 }
50
52
58 inline const Aws::String& GetClientToken() const { return m_clientToken; }
59 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
60 template <typename ClientTokenT = Aws::String>
61 void SetClientToken(ClientTokenT&& value) {
62 m_clientTokenHasBeenSet = true;
63 m_clientToken = std::forward<ClientTokenT>(value);
64 }
65 template <typename ClientTokenT = Aws::String>
67 SetClientToken(std::forward<ClientTokenT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetRequestBody() const { return m_requestBody; }
78 inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; }
79 template <typename RequestBodyT = Aws::String>
80 void SetRequestBody(RequestBodyT&& value) {
81 m_requestBodyHasBeenSet = true;
82 m_requestBody = std::forward<RequestBodyT>(value);
83 }
84 template <typename RequestBodyT = Aws::String>
86 SetRequestBody(std::forward<RequestBodyT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_caseId;
92
94
95 Aws::String m_requestBody;
96 bool m_caseIdHasBeenSet = false;
97 bool m_clientTokenHasBeenSet = true;
98 bool m_requestBodyHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SecurityIR
103} // namespace Aws
CreateCaseCommentRequest & WithRequestBody(RequestBodyT &&value)
AWS_SECURITYIR_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_SECURITYIR_API CreateCaseCommentRequest()=default
CreateCaseCommentRequest & WithClientToken(ClientTokenT &&value)
CreateCaseCommentRequest & WithCaseId(CaseIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String