AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
JSONOutput.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
32 {
33 public:
37
39
40
45 inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
46
51 inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
52
57 inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
58
63 inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
64
69 inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
70
75 inline JSONOutput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
76
81 inline JSONOutput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
82
87 inline JSONOutput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
88
89 private:
90
91 Aws::String m_recordDelimiter;
92 bool m_recordDelimiterHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace S3
97} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API JSONOutput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RecordDelimiterHasBeenSet() const
Definition: JSONOutput.h:51
JSONOutput & WithRecordDelimiter(const char *value)
Definition: JSONOutput.h:87
const Aws::String & GetRecordDelimiter() const
Definition: JSONOutput.h:45
void SetRecordDelimiter(const Aws::String &value)
Definition: JSONOutput.h:57
JSONOutput & WithRecordDelimiter(const Aws::String &value)
Definition: JSONOutput.h:75
void SetRecordDelimiter(Aws::String &&value)
Definition: JSONOutput.h:63
AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
JSONOutput & WithRecordDelimiter(Aws::String &&value)
Definition: JSONOutput.h:81
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetRecordDelimiter(const char *value)
Definition: JSONOutput.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String