diff options
author | dakovalkov <dakovalkov@yandex-team.com> | 2023-12-03 13:33:55 +0300 |
---|---|---|
committer | dakovalkov <dakovalkov@yandex-team.com> | 2023-12-03 14:04:39 +0300 |
commit | 2a718325637e5302334b6d0a6430f63168f8dbb3 (patch) | |
tree | 64be81080b7df9ec1d86d053a0c394ae53fcf1fe /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h | |
parent | e0d94a470142d95c3007e9c5d80380994940664a (diff) | |
download | ydb-2a718325637e5302334b6d0a6430f63168f8dbb3.tar.gz |
Update contrib/libs/aws-sdk-cpp to 1.11.37
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h')
-rw-r--r-- | contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h | 72 |
1 files changed, 59 insertions, 13 deletions
diff --git a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h index d084d24b1e..47ddbe008d 100644 --- a/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h +++ b/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-s3/include/aws/s3/model/ObjectVersion.h @@ -6,9 +6,11 @@ #pragma once #include <aws/s3/S3_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> +#include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/s3/model/ObjectVersionStorageClass.h> #include <aws/core/utils/DateTime.h> #include <aws/s3/model/Owner.h> +#include <aws/s3/model/ChecksumAlgorithm.h> #include <utility> namespace Aws @@ -30,14 +32,14 @@ namespace Model * href="http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectVersion">AWS * API Reference</a></p> */ - class AWS_S3_API ObjectVersion + class ObjectVersion { public: - ObjectVersion(); - ObjectVersion(const Aws::Utils::Xml::XmlNode& xmlNode); - ObjectVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectVersion(); + AWS_S3_API ObjectVersion(const Aws::Utils::Xml::XmlNode& xmlNode); + AWS_S3_API ObjectVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); - void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; + AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** @@ -82,6 +84,47 @@ namespace Model /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline const Aws::Vector<ChecksumAlgorithm>& GetChecksumAlgorithm() const{ return m_checksumAlgorithm; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline bool ChecksumAlgorithmHasBeenSet() const { return m_checksumAlgorithmHasBeenSet; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(const Aws::Vector<ChecksumAlgorithm>& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = value; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline void SetChecksumAlgorithm(Aws::Vector<ChecksumAlgorithm>&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm = std::move(value); } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& WithChecksumAlgorithm(const Aws::Vector<ChecksumAlgorithm>& value) { SetChecksumAlgorithm(value); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& WithChecksumAlgorithm(Aws::Vector<ChecksumAlgorithm>&& value) { SetChecksumAlgorithm(std::move(value)); return *this;} + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& AddChecksumAlgorithm(const ChecksumAlgorithm& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm.push_back(value); return *this; } + + /** + * <p>The algorithm that was used to create a checksum of the object.</p> + */ + inline ObjectVersion& AddChecksumAlgorithm(ChecksumAlgorithm&& value) { m_checksumAlgorithmHasBeenSet = true; m_checksumAlgorithm.push_back(std::move(value)); return *this; } + + + /** * <p>Size in bytes of the object.</p> */ inline long long GetSize() const{ return m_size; } @@ -304,28 +347,31 @@ namespace Model private: Aws::String m_eTag; - bool m_eTagHasBeenSet; + bool m_eTagHasBeenSet = false; + + Aws::Vector<ChecksumAlgorithm> m_checksumAlgorithm; + bool m_checksumAlgorithmHasBeenSet = false; long long m_size; - bool m_sizeHasBeenSet; + bool m_sizeHasBeenSet = false; ObjectVersionStorageClass m_storageClass; - bool m_storageClassHasBeenSet; + bool m_storageClassHasBeenSet = false; Aws::String m_key; - bool m_keyHasBeenSet; + bool m_keyHasBeenSet = false; Aws::String m_versionId; - bool m_versionIdHasBeenSet; + bool m_versionIdHasBeenSet = false; bool m_isLatest; - bool m_isLatestHasBeenSet; + bool m_isLatestHasBeenSet = false; Aws::Utils::DateTime m_lastModified; - bool m_lastModifiedHasBeenSet; + bool m_lastModifiedHasBeenSet = false; Owner m_owner; - bool m_ownerHasBeenSet; + bool m_ownerHasBeenSet = false; }; } // namespace Model |