AWS SDK for C++
1.8.129
AWS SDK for C++
aws-cpp-sdk-rds-data
include
aws
rds-data
model
StructValue.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/rds-data/RDSDataService_EXPORTS.h
>
8
#include <
aws/core/utils/memory/stl/AWSVector.h
>
9
#include <
aws/rds-data/model/Value.h
>
10
#include <utility>
11
12
namespace
Aws
13
{
14
namespace
Utils
15
{
16
namespace
Json
17
{
18
class
JsonValue;
19
class
JsonView;
20
}
// namespace Json
21
}
// namespace Utils
22
namespace
RDSDataService
23
{
24
namespace
Model
25
{
26
32
class
AWS_RDSDATASERVICE_API
StructValue
33
{
34
public
:
35
StructValue
();
36
StructValue
(
Aws::Utils::Json::JsonView
jsonValue);
37
StructValue
&
operator=
(
Aws::Utils::Json::JsonView
jsonValue);
38
Aws::Utils::Json::JsonValue
Jsonize
()
const
;
39
40
44
inline
const
Aws::Vector<Value>
&
GetAttributes
()
const
{
return
m_attributes; }
45
49
inline
bool
AttributesHasBeenSet
()
const
{
return
m_attributesHasBeenSet; }
50
54
inline
void
SetAttributes
(
const
Aws::Vector<Value>
& value) { m_attributesHasBeenSet =
true
; m_attributes = value; }
55
59
inline
void
SetAttributes
(
Aws::Vector<Value>
&& value) { m_attributesHasBeenSet =
true
; m_attributes = std::move(value); }
60
64
inline
StructValue
&
WithAttributes
(
const
Aws::Vector<Value>
& value) { SetAttributes(value);
return
*
this
;}
65
69
inline
StructValue
&
WithAttributes
(
Aws::Vector<Value>
&& value) { SetAttributes(std::move(value));
return
*
this
;}
70
74
inline
StructValue
&
AddAttributes
(
const
Value
& value) { m_attributesHasBeenSet =
true
; m_attributes.push_back(value);
return
*
this
; }
75
79
inline
StructValue
&
AddAttributes
(
Value
&& value) { m_attributesHasBeenSet =
true
; m_attributes.push_back(std::move(value));
return
*
this
; }
80
81
private
:
82
83
Aws::Vector<Value>
m_attributes;
84
bool
m_attributesHasBeenSet;
85
};
86
87
}
// namespace Model
88
}
// namespace RDSDataService
89
}
// namespace Aws
Aws::RDSDataService::Model::StructValue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::RDSDataService::Model::StructValue::operator=
StructValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::RDSDataService::Model::StructValue::StructValue
StructValue(Aws::Utils::Json::JsonView jsonValue)
AWS_RDSDATASERVICE_API
#define AWS_RDSDATASERVICE_API
Definition:
RDSDataService_EXPORTS.h:28
Aws::RDSDataService::Model::StructValue::WithAttributes
StructValue & WithAttributes(const Aws::Vector< Value > &value)
Definition:
StructValue.h:64
Aws::RDSDataService::Model::StructValue::AttributesHasBeenSet
bool AttributesHasBeenSet() const
Definition:
StructValue.h:49
Aws::RDSDataService::Model::Value
Definition:
Value.h:39
Aws::RDSDataService::Model::StructValue
Definition:
StructValue.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
AWSVector.h
Aws::RDSDataService::Model::StructValue::AddAttributes
StructValue & AddAttributes(Value &&value)
Definition:
StructValue.h:79
Aws::RDSDataService::Model::StructValue::SetAttributes
void SetAttributes(Aws::Vector< Value > &&value)
Definition:
StructValue.h:59
Aws::RDSDataService::Model::StructValue::WithAttributes
StructValue & WithAttributes(Aws::Vector< Value > &&value)
Definition:
StructValue.h:69
Aws::RDSDataService::Model::StructValue::GetAttributes
const Aws::Vector< Value > & GetAttributes() const
Definition:
StructValue.h:44
Aws::Utils::Json::JsonView
Definition:
JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition:
JsonSerializer.h:30
Value.h
RDSDataService_EXPORTS.h
Aws::RDSDataService::Model::StructValue::AddAttributes
StructValue & AddAttributes(const Value &value)
Definition:
StructValue.h:74
Aws
Definition:
AccessManagementClient.h:15
Aws::RDSDataService::Model::StructValue::StructValue
StructValue()
Aws::RDSDataService::Model::StructValue::SetAttributes
void SetAttributes(const Aws::Vector< Value > &value)
Definition:
StructValue.h:54
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences