AWS SDK for C++  1.8.154
AWS SDK for C++
GetJobTaggingResult.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>& GetTags() const{ return m_tags; }
40 
44  inline void SetTags(const Aws::Vector<S3Tag>& value) { m_tags = value; }
45 
49  inline void SetTags(Aws::Vector<S3Tag>&& value) { m_tags = std::move(value); }
50 
54  inline GetJobTaggingResult& WithTags(const Aws::Vector<S3Tag>& value) { SetTags(value); return *this;}
55 
59  inline GetJobTaggingResult& WithTags(Aws::Vector<S3Tag>&& value) { SetTags(std::move(value)); return *this;}
60 
64  inline GetJobTaggingResult& AddTags(const S3Tag& value) { m_tags.push_back(value); return *this; }
65 
69  inline GetJobTaggingResult& AddTags(S3Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<S3Tag> m_tags;
74  };
75 
76 } // namespace Model
77 } // namespace S3Control
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::S3Control::Model::GetJobTaggingResult::operator=
GetJobTaggingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::GetJobTaggingResult::SetTags
void SetTags(Aws::Vector< S3Tag > &&value)
Definition: GetJobTaggingResult.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::S3Control::Model::GetJobTaggingResult::AddTags
GetJobTaggingResult & AddTags(const S3Tag &value)
Definition: GetJobTaggingResult.h:64
S3Control_EXPORTS.h
S3Tag.h
Aws::S3Control::Model::GetJobTaggingResult::SetTags
void SetTags(const Aws::Vector< S3Tag > &value)
Definition: GetJobTaggingResult.h:44
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::S3Tag
Definition: S3Tag.h:31
Aws::S3Control::Model::GetJobTaggingResult::WithTags
GetJobTaggingResult & WithTags(Aws::Vector< S3Tag > &&value)
Definition: GetJobTaggingResult.h:59
Aws::S3Control::Model::GetJobTaggingResult::GetJobTaggingResult
GetJobTaggingResult()
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::GetJobTaggingResult
Definition: GetJobTaggingResult.h:29
Aws::S3Control::Model::GetJobTaggingResult::GetJobTaggingResult
GetJobTaggingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::S3Control::Model::GetJobTaggingResult::GetTags
const Aws::Vector< S3Tag > & GetTags() const
Definition: GetJobTaggingResult.h:39
Aws::S3Control::Model::GetJobTaggingResult::AddTags
GetJobTaggingResult & AddTags(S3Tag &&value)
Definition: GetJobTaggingResult.h:69
Aws::S3Control::Model::GetJobTaggingResult::WithTags
GetJobTaggingResult & WithTags(const Aws::Vector< S3Tag > &value)
Definition: GetJobTaggingResult.h:54