AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PutObjectLegalHoldResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3-crt/S3Crt_EXPORTS.h>
9#include <aws/s3-crt/model/RequestCharged.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace S3Crt {
23namespace Model {
25 public:
26 AWS_S3CRT_API PutObjectLegalHoldResult() = default;
29
31
32 inline RequestCharged GetRequestCharged() const { return m_requestCharged; }
33 inline void SetRequestCharged(RequestCharged value) {
34 m_requestChargedHasBeenSet = true;
35 m_requestCharged = value;
36 }
38 SetRequestCharged(value);
39 return *this;
40 }
42
44
45 inline const Aws::String& GetRequestId() const { return m_requestId; }
46 template <typename RequestIdT = Aws::String>
47 void SetRequestId(RequestIdT&& value) {
48 m_requestIdHasBeenSet = true;
49 m_requestId = std::forward<RequestIdT>(value);
50 }
51 template <typename RequestIdT = Aws::String>
53 SetRequestId(std::forward<RequestIdT>(value));
54 return *this;
55 }
57 private:
59
60 Aws::String m_requestId;
61 bool m_requestChargedHasBeenSet = false;
62 bool m_requestIdHasBeenSet = false;
63};
64
65} // namespace Model
66} // namespace S3Crt
67} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument