AWS SDK for C++
1.8.154
AWS SDK for C++
aws-cpp-sdk-s3control
include
aws
s3control
model
S3SetObjectTaggingOperation.h
Go to the documentation of this file.
1
6
#pragma once
7
#include <
aws/s3control/S3Control_EXPORTS.h
>
8
#include <
aws/core/utils/memory/stl/AWSVector.h
>
9
#include <
aws/s3control/model/S3Tag.h
>
10
#include <utility>
11
12
namespace
Aws
13
{
14
namespace
Utils
15
{
16
namespace
Xml
17
{
18
class
XmlNode;
19
}
// namespace Xml
20
}
// namespace Utils
21
namespace
S3Control
22
{
23
namespace
Model
24
{
25
35
class
AWS_S3CONTROL_API
S3SetObjectTaggingOperation
36
{
37
public
:
38
S3SetObjectTaggingOperation
();
39
S3SetObjectTaggingOperation
(
const
Aws::Utils::Xml::XmlNode
& xmlNode);
40
S3SetObjectTaggingOperation
&
operator=
(
const
Aws::Utils::Xml::XmlNode
& xmlNode);
41
42
void
AddToNode
(
Aws::Utils::Xml::XmlNode
& parentNode)
const
;
43
44
48
inline
const
Aws::Vector<S3Tag>
&
GetTagSet
()
const
{
return
m_tagSet; }
49
53
inline
bool
TagSetHasBeenSet
()
const
{
return
m_tagSetHasBeenSet; }
54
58
inline
void
SetTagSet
(
const
Aws::Vector<S3Tag>
& value) { m_tagSetHasBeenSet =
true
; m_tagSet = value; }
59
63
inline
void
SetTagSet
(
Aws::Vector<S3Tag>
&& value) { m_tagSetHasBeenSet =
true
; m_tagSet = std::move(value); }
64
68
inline
S3SetObjectTaggingOperation
&
WithTagSet
(
const
Aws::Vector<S3Tag>
& value) { SetTagSet(value);
return
*
this
;}
69
73
inline
S3SetObjectTaggingOperation
&
WithTagSet
(
Aws::Vector<S3Tag>
&& value) { SetTagSet(std::move(value));
return
*
this
;}
74
78
inline
S3SetObjectTaggingOperation
&
AddTagSet
(
const
S3Tag
& value) { m_tagSetHasBeenSet =
true
; m_tagSet.push_back(value);
return
*
this
; }
79
83
inline
S3SetObjectTaggingOperation
&
AddTagSet
(
S3Tag
&& value) { m_tagSetHasBeenSet =
true
; m_tagSet.push_back(std::move(value));
return
*
this
; }
84
85
private
:
86
87
Aws::Vector<S3Tag>
m_tagSet;
88
bool
m_tagSetHasBeenSet;
89
};
90
91
}
// namespace Model
92
}
// namespace S3Control
93
}
// namespace Aws
Aws::S3Control::Model::S3SetObjectTaggingOperation::S3SetObjectTaggingOperation
S3SetObjectTaggingOperation(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::S3SetObjectTaggingOperation::S3SetObjectTaggingOperation
S3SetObjectTaggingOperation()
Aws::S3Control::Model::S3SetObjectTaggingOperation::SetTagSet
void SetTagSet(Aws::Vector< S3Tag > &&value)
Definition:
S3SetObjectTaggingOperation.h:63
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition:
AWSVector.h:17
AWSVector.h
Aws::S3Control::Model::S3SetObjectTaggingOperation::WithTagSet
S3SetObjectTaggingOperation & WithTagSet(const Aws::Vector< S3Tag > &value)
Definition:
S3SetObjectTaggingOperation.h:68
S3Control_EXPORTS.h
S3Tag.h
Aws::S3Control::Model::S3SetObjectTaggingOperation::operator=
S3SetObjectTaggingOperation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition:
XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition:
S3Control_EXPORTS.h:28
Aws::S3Control::Model::S3SetObjectTaggingOperation::SetTagSet
void SetTagSet(const Aws::Vector< S3Tag > &value)
Definition:
S3SetObjectTaggingOperation.h:58
Aws::S3Control::Model::S3Tag
Definition:
S3Tag.h:31
Aws::S3Control::Model::S3SetObjectTaggingOperation::GetTagSet
const Aws::Vector< S3Tag > & GetTagSet() const
Definition:
S3SetObjectTaggingOperation.h:48
Aws::S3Control::Model::S3SetObjectTaggingOperation::AddTagSet
S3SetObjectTaggingOperation & AddTagSet(S3Tag &&value)
Definition:
S3SetObjectTaggingOperation.h:83
Aws::S3Control::Model::S3SetObjectTaggingOperation::TagSetHasBeenSet
bool TagSetHasBeenSet() const
Definition:
S3SetObjectTaggingOperation.h:53
Aws::S3Control::Model::S3SetObjectTaggingOperation::WithTagSet
S3SetObjectTaggingOperation & WithTagSet(Aws::Vector< S3Tag > &&value)
Definition:
S3SetObjectTaggingOperation.h:73
Aws
Definition:
AccessManagementClient.h:15
Aws::S3Control::Model::S3SetObjectTaggingOperation::AddTagSet
S3SetObjectTaggingOperation & AddTagSet(const S3Tag &value)
Definition:
S3SetObjectTaggingOperation.h:78
Aws::S3Control::Model::S3SetObjectTaggingOperation::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::S3SetObjectTaggingOperation
Definition:
S3SetObjectTaggingOperation.h:36
Generated by
1.8.19
Privacy |
Site terms |
Cookie preferences