AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JSONOutput.h
1
6#pragma once
7#include <aws/s3/S3_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 S3
21{
22namespace Model
23{
24
32 {
33 public:
34 AWS_S3_API JSONOutput();
35 AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_S3_API JSONOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39
40
42
46 inline const Aws::String& GetRecordDelimiter() const{ return m_recordDelimiter; }
47 inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
48 inline void SetRecordDelimiter(const Aws::String& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = value; }
49 inline void SetRecordDelimiter(Aws::String&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::move(value); }
50 inline void SetRecordDelimiter(const char* value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter.assign(value); }
51 inline JSONOutput& WithRecordDelimiter(const Aws::String& value) { SetRecordDelimiter(value); return *this;}
52 inline JSONOutput& WithRecordDelimiter(Aws::String&& value) { SetRecordDelimiter(std::move(value)); return *this;}
53 inline JSONOutput& WithRecordDelimiter(const char* value) { SetRecordDelimiter(value); return *this;}
55 private:
56
57 Aws::String m_recordDelimiter;
58 bool m_recordDelimiterHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace S3
63} // namespace Aws
AWS_S3_API JSONOutput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RecordDelimiterHasBeenSet() const
Definition JSONOutput.h:47
JSONOutput & WithRecordDelimiter(const char *value)
Definition JSONOutput.h:53
const Aws::String & GetRecordDelimiter() const
Definition JSONOutput.h:46
void SetRecordDelimiter(const Aws::String &value)
Definition JSONOutput.h:48
JSONOutput & WithRecordDelimiter(const Aws::String &value)
Definition JSONOutput.h:51
void SetRecordDelimiter(Aws::String &&value)
Definition JSONOutput.h:49
AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
JSONOutput & WithRecordDelimiter(Aws::String &&value)
Definition JSONOutput.h:52
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetRecordDelimiter(const char *value)
Definition JSONOutput.h:50
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String