AWS SDK for C++

AWS SDK for C++ Version 1.11.887

Loading...
Searching...
No Matches
ResolveCaseRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/support/SupportRequest.h>
9#include <aws/support/Support_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Support {
15namespace Model {
16
20 public:
21 AWS_SUPPORT_API ResolveCaseRequest() = 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 "ResolveCase"; }
28
29 AWS_SUPPORT_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetCaseId() const { return m_caseId; }
40 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
41 template <typename CaseIdT = Aws::String>
42 void SetCaseId(CaseIdT&& value) {
43 m_caseIdHasBeenSet = true;
44 m_caseId = std::forward<CaseIdT>(value);
45 }
46 template <typename CaseIdT = Aws::String>
47 ResolveCaseRequest& WithCaseId(CaseIdT&& value) {
48 SetCaseId(std::forward<CaseIdT>(value));
49 return *this;
50 }
52
54
60 inline bool GetDryRun() const { return m_dryRun; }
61 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
62 inline void SetDryRun(bool value) {
63 m_dryRunHasBeenSet = true;
64 m_dryRun = value;
65 }
66 inline ResolveCaseRequest& WithDryRun(bool value) {
67 SetDryRun(value);
68 return *this;
69 }
71 private:
72 Aws::String m_caseId;
73
74 bool m_dryRun{false};
75 bool m_caseIdHasBeenSet = false;
76 bool m_dryRunHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Support
81} // namespace Aws
ResolveCaseRequest & WithDryRun(bool value)
AWS_SUPPORT_API Aws::String SerializePayload() const override
ResolveCaseRequest & WithCaseId(CaseIdT &&value)
AWS_SUPPORT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SUPPORT_API ResolveCaseRequest()=default
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String