AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CommonPrefix.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3Crt
21{
22namespace Model
23{
24
35 {
36 public:
37 AWS_S3CRT_API CommonPrefix();
38 AWS_S3CRT_API CommonPrefix(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_S3CRT_API CommonPrefix& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
48 inline const Aws::String& GetPrefix() const{ return m_prefix; }
49 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
50 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
51 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
52 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
53 inline CommonPrefix& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
54 inline CommonPrefix& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
55 inline CommonPrefix& WithPrefix(const char* value) { SetPrefix(value); return *this;}
57 private:
58
59 Aws::String m_prefix;
60 bool m_prefixHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace S3Crt
65} // namespace Aws
void SetPrefix(const Aws::String &value)
CommonPrefix & WithPrefix(const char *value)
AWS_S3CRT_API CommonPrefix & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPrefix() const
void SetPrefix(Aws::String &&value)
void SetPrefix(const char *value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
CommonPrefix & WithPrefix(Aws::String &&value)
CommonPrefix & WithPrefix(const Aws::String &value)
AWS_S3CRT_API CommonPrefix(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String