AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
IndexDocument.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
31 {
32 public:
36
38
39
51 inline const Aws::String& GetSuffix() const{ return m_suffix; }
52
64 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
65
77 inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; }
78
90 inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); }
91
103 inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); }
104
116 inline IndexDocument& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
117
129 inline IndexDocument& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
130
142 inline IndexDocument& WithSuffix(const char* value) { SetSuffix(value); return *this;}
143
144 private:
145
146 Aws::String m_suffix;
147 bool m_suffixHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace S3
152} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
void SetSuffix(Aws::String &&value)
Definition: IndexDocument.h:90
AWS_S3_API IndexDocument & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSuffix(const Aws::String &value)
Definition: IndexDocument.h:77
void SetSuffix(const char *value)
IndexDocument & WithSuffix(const char *value)
IndexDocument & WithSuffix(Aws::String &&value)
const Aws::String & GetSuffix() const
Definition: IndexDocument.h:51
IndexDocument & WithSuffix(const Aws::String &value)
AWS_S3_API IndexDocument(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String