AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateCaseStatusRequest.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#include <aws/security-ir/model/SelfManagedCaseStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityIR {
16namespace Model {
17
21 public:
22 AWS_SECURITYIR_API UpdateCaseStatusRequest() = 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 "UpdateCaseStatus"; }
29
30 AWS_SECURITYIR_API Aws::String SerializePayload() const override;
31
33
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
56 inline SelfManagedCaseStatus GetCaseStatus() const { return m_caseStatus; }
57 inline bool CaseStatusHasBeenSet() const { return m_caseStatusHasBeenSet; }
59 m_caseStatusHasBeenSet = true;
60 m_caseStatus = value;
61 }
63 SetCaseStatus(value);
64 return *this;
65 }
67 private:
68 Aws::String m_caseId;
69
71 bool m_caseIdHasBeenSet = false;
72 bool m_caseStatusHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace SecurityIR
77} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateCaseStatusRequest & WithCaseId(CaseIdT &&value)
UpdateCaseStatusRequest & WithCaseStatus(SelfManagedCaseStatus value)
AWS_SECURITYIR_API UpdateCaseStatusRequest()=default
AWS_SECURITYIR_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String