AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetCaseAttachmentUploadUrlRequest.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/security-ir/SecurityIRRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace SecurityIR
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECURITYIR_API GetCaseAttachmentUploadUrlRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetCaseAttachmentUploadUrl"; }
32
33 AWS_SECURITYIR_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetCaseId() const { return m_caseId; }
42 inline bool CaseIdHasBeenSet() const { return m_caseIdHasBeenSet; }
43 template<typename CaseIdT = Aws::String>
44 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet = true; m_caseId = std::forward<CaseIdT>(value); }
45 template<typename CaseIdT = Aws::String>
46 GetCaseAttachmentUploadUrlRequest& WithCaseId(CaseIdT&& value) { SetCaseId(std::forward<CaseIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetFileName() const { return m_fileName; }
55 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
56 template<typename FileNameT = Aws::String>
57 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
58 template<typename FileNameT = Aws::String>
59 GetCaseAttachmentUploadUrlRequest& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
61
63
67 inline long long GetContentLength() const { return m_contentLength; }
68 inline bool ContentLengthHasBeenSet() const { return m_contentLengthHasBeenSet; }
69 inline void SetContentLength(long long value) { m_contentLengthHasBeenSet = true; m_contentLength = value; }
70 inline GetCaseAttachmentUploadUrlRequest& WithContentLength(long long value) { SetContentLength(value); return *this;}
72
74
77 inline const Aws::String& GetClientToken() const { return m_clientToken; }
78 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
79 template<typename ClientTokenT = Aws::String>
80 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
81 template<typename ClientTokenT = Aws::String>
82 GetCaseAttachmentUploadUrlRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
84 private:
85
86 Aws::String m_caseId;
87 bool m_caseIdHasBeenSet = false;
88
89 Aws::String m_fileName;
90 bool m_fileNameHasBeenSet = false;
91
92 long long m_contentLength{0};
93 bool m_contentLengthHasBeenSet = false;
94
96 bool m_clientTokenHasBeenSet = true;
97 };
98
99} // namespace Model
100} // namespace SecurityIR
101} // namespace Aws
GetCaseAttachmentUploadUrlRequest & WithClientToken(ClientTokenT &&value)
GetCaseAttachmentUploadUrlRequest & WithFileName(FileNameT &&value)
GetCaseAttachmentUploadUrlRequest & WithCaseId(CaseIdT &&value)
GetCaseAttachmentUploadUrlRequest & WithContentLength(long long value)
AWS_SECURITYIR_API Aws::String SerializePayload() const override
AWS_SECURITYIR_API GetCaseAttachmentUploadUrlRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String