AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
JSONInput.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/JSONType.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
27class JSONInput {
28 public:
29 AWS_S3_API JSONInput() = default;
30 AWS_S3_API JSONInput(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_S3_API JSONInput& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
34
36
39 inline JSONType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(JSONType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
45 inline JSONInput& WithType(JSONType value) {
46 SetType(value);
47 return *this;
48 }
50 private:
52 bool m_typeHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace S3
57} // namespace Aws
JSONType GetType() const
Definition JSONInput.h:39
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
bool TypeHasBeenSet() const
Definition JSONInput.h:40
AWS_S3_API JSONInput()=default
AWS_S3_API JSONInput(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetType(JSONType value)
Definition JSONInput.h:41
AWS_S3_API JSONInput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
JSONInput & WithType(JSONType value)
Definition JSONInput.h:45