AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidObjectState.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/StorageClass.h>
9#include <aws/s3-crt/model/IntelligentTieringAccessTier.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Crt
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_S3CRT_API InvalidObjectState();
45 AWS_S3CRT_API InvalidObjectState(const Aws::Utils::Xml::XmlNode& xmlNode);
47
48 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
49
50
52
53 inline const StorageClass& GetStorageClass() const{ return m_storageClass; }
54 inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; }
55 inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; }
56 inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); }
57 inline InvalidObjectState& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;}
58 inline InvalidObjectState& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;}
60
62
63 inline const IntelligentTieringAccessTier& GetAccessTier() const{ return m_accessTier; }
64 inline bool AccessTierHasBeenSet() const { return m_accessTierHasBeenSet; }
65 inline void SetAccessTier(const IntelligentTieringAccessTier& value) { m_accessTierHasBeenSet = true; m_accessTier = value; }
66 inline void SetAccessTier(IntelligentTieringAccessTier&& value) { m_accessTierHasBeenSet = true; m_accessTier = std::move(value); }
67 inline InvalidObjectState& WithAccessTier(const IntelligentTieringAccessTier& value) { SetAccessTier(value); return *this;}
68 inline InvalidObjectState& WithAccessTier(IntelligentTieringAccessTier&& value) { SetAccessTier(std::move(value)); return *this;}
70 private:
71
72 StorageClass m_storageClass;
73 bool m_storageClassHasBeenSet = false;
74
76 bool m_accessTierHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace S3Crt
81} // namespace Aws
const IntelligentTieringAccessTier & GetAccessTier() const
const StorageClass & GetStorageClass() const
InvalidObjectState & WithAccessTier(const IntelligentTieringAccessTier &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStorageClass(StorageClass &&value)
AWS_S3CRT_API InvalidObjectState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API InvalidObjectState(const Aws::Utils::Xml::XmlNode &xmlNode)
InvalidObjectState & WithStorageClass(StorageClass &&value)
InvalidObjectState & WithStorageClass(const StorageClass &value)
void SetAccessTier(const IntelligentTieringAccessTier &value)
InvalidObjectState & WithAccessTier(IntelligentTieringAccessTier &&value)
void SetStorageClass(const StorageClass &value)
void SetAccessTier(IntelligentTieringAccessTier &&value)