AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename RecordDelimiterT = Aws::String>
49 void SetRecordDelimiter(RecordDelimiterT&& value) { m_recordDelimiterHasBeenSet = true; m_recordDelimiter = std::forward<RecordDelimiterT>(value); }
50 template<typename RecordDelimiterT = Aws::String>
51 JSONOutput& WithRecordDelimiter(RecordDelimiterT&& value) { SetRecordDelimiter(std::forward<RecordDelimiterT>(value)); return *this;}
53 private:
54
55 Aws::String m_recordDelimiter;
56 bool m_recordDelimiterHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace S3
61} // namespace Aws
AWS_S3_API JSONOutput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RecordDelimiterHasBeenSet() const
Definition JSONOutput.h:47
const Aws::String & GetRecordDelimiter() const
Definition JSONOutput.h:46
AWS_S3_API JSONOutput()=default
AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRecordDelimiter(RecordDelimiterT &&value)
Definition JSONOutput.h:49
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
JSONOutput & WithRecordDelimiter(RecordDelimiterT &&value)
Definition JSONOutput.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String