AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetObjectKeyFormat.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/s3-crt/model/SimplePrefix.h>
9#include <aws/s3-crt/model/PartitionedPrefix.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
33 {
34 public:
35 AWS_S3CRT_API TargetObjectKeyFormat();
36 AWS_S3CRT_API TargetObjectKeyFormat(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const SimplePrefix& GetSimplePrefix() const{ return m_simplePrefix; }
48 inline bool SimplePrefixHasBeenSet() const { return m_simplePrefixHasBeenSet; }
49 inline void SetSimplePrefix(const SimplePrefix& value) { m_simplePrefixHasBeenSet = true; m_simplePrefix = value; }
50 inline void SetSimplePrefix(SimplePrefix&& value) { m_simplePrefixHasBeenSet = true; m_simplePrefix = std::move(value); }
51 inline TargetObjectKeyFormat& WithSimplePrefix(const SimplePrefix& value) { SetSimplePrefix(value); return *this;}
52 inline TargetObjectKeyFormat& WithSimplePrefix(SimplePrefix&& value) { SetSimplePrefix(std::move(value)); return *this;}
54
56
59 inline const PartitionedPrefix& GetPartitionedPrefix() const{ return m_partitionedPrefix; }
60 inline bool PartitionedPrefixHasBeenSet() const { return m_partitionedPrefixHasBeenSet; }
61 inline void SetPartitionedPrefix(const PartitionedPrefix& value) { m_partitionedPrefixHasBeenSet = true; m_partitionedPrefix = value; }
62 inline void SetPartitionedPrefix(PartitionedPrefix&& value) { m_partitionedPrefixHasBeenSet = true; m_partitionedPrefix = std::move(value); }
64 inline TargetObjectKeyFormat& WithPartitionedPrefix(PartitionedPrefix&& value) { SetPartitionedPrefix(std::move(value)); return *this;}
66 private:
67
68 SimplePrefix m_simplePrefix;
69 bool m_simplePrefixHasBeenSet = false;
70
71 PartitionedPrefix m_partitionedPrefix;
72 bool m_partitionedPrefixHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace S3Crt
77} // namespace Aws
const PartitionedPrefix & GetPartitionedPrefix() const
void SetSimplePrefix(const SimplePrefix &value)
AWS_S3CRT_API TargetObjectKeyFormat(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetObjectKeyFormat & WithPartitionedPrefix(PartitionedPrefix &&value)
void SetPartitionedPrefix(const PartitionedPrefix &value)
TargetObjectKeyFormat & WithSimplePrefix(const SimplePrefix &value)
void SetPartitionedPrefix(PartitionedPrefix &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CRT_API TargetObjectKeyFormat & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetObjectKeyFormat & WithSimplePrefix(SimplePrefix &&value)
TargetObjectKeyFormat & WithPartitionedPrefix(const PartitionedPrefix &value)