AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
aws-cpp-sdk-s3
include
aws
s3
model
JSONInput.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/s3/S3_EXPORTS.h
>
8
#include <
aws/s3/model/JSONType.h
>
9
#include <utility>
10
11
namespace
Aws
12
{
13
namespace
Utils
14
{
15
namespace
Xml
16
{
17
class
XmlNode;
18
}
// namespace Xml
19
}
// namespace Utils
20
namespace
S3
21
{
22
namespace
Model
23
{
24
31
class
JSONInput
32
{
33
public
:
34
AWS_S3_API
JSONInput
();
35
AWS_S3_API
JSONInput
(
const
Aws::Utils::Xml::XmlNode
& xmlNode);
36
AWS_S3_API
JSONInput
&
operator=
(
const
Aws::Utils::Xml::XmlNode
& xmlNode);
37
38
AWS_S3_API
void
AddToNode
(
Aws::Utils::Xml::XmlNode
& parentNode)
const
;
39
40
44
inline
const
JSONType
&
GetType
()
const
{
return
m_type; }
45
49
inline
bool
TypeHasBeenSet
()
const
{
return
m_typeHasBeenSet; }
50
54
inline
void
SetType
(
const
JSONType
& value) { m_typeHasBeenSet =
true
; m_type = value; }
55
59
inline
void
SetType
(
JSONType
&& value) { m_typeHasBeenSet =
true
; m_type = std::move(value); }
60
64
inline
JSONInput
&
WithType
(
const
JSONType
& value) {
SetType
(value);
return
*
this
;}
65
69
inline
JSONInput
&
WithType
(
JSONType
&& value) {
SetType
(std::move(value));
return
*
this
;}
70
71
private
:
72
73
JSONType
m_type;
74
bool
m_typeHasBeenSet =
false
;
75
};
76
77
}
// namespace Model
78
}
// namespace S3
79
}
// namespace Aws
JSONType.h
S3_EXPORTS.h
AWS_S3_API
#define AWS_S3_API
Definition:
S3_EXPORTS.h:28
Aws::S3::Model::JSONInput
Definition:
JSONInput.h:32
Aws::S3::Model::JSONInput::AddToNode
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3::Model::JSONInput::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition:
JSONInput.h:49
Aws::S3::Model::JSONInput::SetType
void SetType(JSONType &&value)
Definition:
JSONInput.h:59
Aws::S3::Model::JSONInput::SetType
void SetType(const JSONType &value)
Definition:
JSONInput.h:54
Aws::S3::Model::JSONInput::JSONInput
AWS_S3_API JSONInput()
Aws::S3::Model::JSONInput::WithType
JSONInput & WithType(const JSONType &value)
Definition:
JSONInput.h:64
Aws::S3::Model::JSONInput::WithType
JSONInput & WithType(JSONType &&value)
Definition:
JSONInput.h:69
Aws::S3::Model::JSONInput::JSONInput
AWS_S3_API JSONInput(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3::Model::JSONInput::operator=
AWS_S3_API JSONInput & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3::Model::JSONInput::GetType
const JSONType & GetType() const
Definition:
JSONInput.h:44
Aws::Utils::Xml::XmlNode
Aws::S3::Model::JSONType
JSONType
Definition:
JSONType.h:17
Aws
Generated by
1.9.7
Privacy |
Site terms |
Cookie preferences