AWS SDK for C++  1.8.157
AWS SDK for C++
GetBucketTaggingResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace S3Control
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<S3Tag>& GetTagSet() const{ return m_tagSet; }
40 
44  inline void SetTagSet(const Aws::Vector<S3Tag>& value) { m_tagSet = value; }
45 
49  inline void SetTagSet(Aws::Vector<S3Tag>&& value) { m_tagSet = std::move(value); }
50 
54  inline GetBucketTaggingResult& WithTagSet(const Aws::Vector<S3Tag>& value) { SetTagSet(value); return *this;}
55 
59  inline GetBucketTaggingResult& WithTagSet(Aws::Vector<S3Tag>&& value) { SetTagSet(std::move(value)); return *this;}
60 
64  inline GetBucketTaggingResult& AddTagSet(const S3Tag& value) { m_tagSet.push_back(value); return *this; }
65 
69  inline GetBucketTaggingResult& AddTagSet(S3Tag&& value) { m_tagSet.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<S3Tag> m_tagSet;
74  };
75 
76 } // namespace Model
77 } // namespace S3Control
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::GetBucketTaggingResult::SetTagSet
void SetTagSet(const Aws::Vector< S3Tag > &value)
Definition: GetBucketTaggingResult.h:44
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::S3Control::Model::GetBucketTaggingResult::SetTagSet
void SetTagSet(Aws::Vector< S3Tag > &&value)
Definition: GetBucketTaggingResult.h:49
S3Control_EXPORTS.h
S3Tag.h
Aws::S3Control::Model::GetBucketTaggingResult
Definition: GetBucketTaggingResult.h:29
Aws::S3Control::Model::GetBucketTaggingResult::GetTagSet
const Aws::Vector< S3Tag > & GetTagSet() const
Definition: GetBucketTaggingResult.h:39
Aws::S3Control::Model::GetBucketTaggingResult::WithTagSet
GetBucketTaggingResult & WithTagSet(const Aws::Vector< S3Tag > &value)
Definition: GetBucketTaggingResult.h:54
Aws::S3Control::Model::GetBucketTaggingResult::AddTagSet
GetBucketTaggingResult & AddTagSet(S3Tag &&value)
Definition: GetBucketTaggingResult.h:69
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::GetBucketTaggingResult::WithTagSet
GetBucketTaggingResult & WithTagSet(Aws::Vector< S3Tag > &&value)
Definition: GetBucketTaggingResult.h:59
Aws::S3Control::Model::GetBucketTaggingResult::GetBucketTaggingResult
GetBucketTaggingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::S3Tag
Definition: S3Tag.h:31
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::GetBucketTaggingResult::operator=
GetBucketTaggingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::GetBucketTaggingResult::GetBucketTaggingResult
GetBucketTaggingResult()
Aws::S3Control::Model::GetBucketTaggingResult::AddTagSet
GetBucketTaggingResult & AddTagSet(const S3Tag &value)
Definition: GetBucketTaggingResult.h:64