AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
S3ComputeObjectChecksumOperation.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/ComputeObjectChecksumAlgorithm.h>
9#include <aws/s3control/model/ComputeObjectChecksumType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3Control {
20namespace Model {
21
29 public:
30 AWS_S3CONTROL_API S3ComputeObjectChecksumOperation() = default;
33
34 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
43 inline ComputeObjectChecksumAlgorithm GetChecksumAlgorithm() const { return m_checksumAlgorithm; }
44 inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; }
46 m_checksumAlgorithmHasBeenSet = true;
47 m_checksumAlgorithm = value;
48 }
51 return *this;
52 }
54
56
62 inline ComputeObjectChecksumType GetChecksumType() const { return m_checksumType; }
63 inline bool ChecksumTypeHasBeenSet() const { return m_checksumTypeHasBeenSet; }
65 m_checksumTypeHasBeenSet = true;
66 m_checksumType = value;
67 }
69 SetChecksumType(value);
70 return *this;
71 }
73 private:
75
77 bool m_checksumAlgorithmHasBeenSet = false;
78 bool m_checksumTypeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace S3Control
83} // namespace Aws
AWS_S3CONTROL_API S3ComputeObjectChecksumOperation()=default
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
S3ComputeObjectChecksumOperation & WithChecksumAlgorithm(ComputeObjectChecksumAlgorithm value)
AWS_S3CONTROL_API S3ComputeObjectChecksumOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API S3ComputeObjectChecksumOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
S3ComputeObjectChecksumOperation & WithChecksumType(ComputeObjectChecksumType value)