AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JSONOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Xml {
15class XmlNode;
16} // namespace Xml
17} // namespace Utils
18namespace S3 {
19namespace Model {
20
28 public:
29 AWS_S3_API JSONOutput() = default;
30 AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_S3_API JSONOutput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
34
36
40 inline const Aws::String& GetRecordDelimiter() const { return m_recordDelimiter; }
41 inline bool RecordDelimiterHasBeenSet() const { return m_recordDelimiterHasBeenSet; }
42 template <typename RecordDelimiterT = Aws::String>
43 void SetRecordDelimiter(RecordDelimiterT&& value) {
44 m_recordDelimiterHasBeenSet = true;
45 m_recordDelimiter = std::forward<RecordDelimiterT>(value);
46 }
47 template <typename RecordDelimiterT = Aws::String>
48 JSONOutput& WithRecordDelimiter(RecordDelimiterT&& value) {
49 SetRecordDelimiter(std::forward<RecordDelimiterT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_recordDelimiter;
55 bool m_recordDelimiterHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace S3
60} // namespace Aws
AWS_S3_API JSONOutput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool RecordDelimiterHasBeenSet() const
Definition JSONOutput.h:41
const Aws::String & GetRecordDelimiter() const
Definition JSONOutput.h:40
AWS_S3_API JSONOutput()=default
AWS_S3_API JSONOutput(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetRecordDelimiter(RecordDelimiterT &&value)
Definition JSONOutput.h:43
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
JSONOutput & WithRecordDelimiter(RecordDelimiterT &&value)
Definition JSONOutput.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String