AWS SDK for C++  1.9.21
AWS SDK for C++
ListTagsForResource2020_05_31Result.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace CloudFront
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Tags& GetTags() const{ return m_tags; }
45 
49  inline void SetTags(const Tags& value) { m_tags = value; }
50 
54  inline void SetTags(Tags&& value) { m_tags = std::move(value); }
55 
59  inline ListTagsForResource2020_05_31Result& WithTags(const Tags& value) { SetTags(value); return *this;}
60 
64  inline ListTagsForResource2020_05_31Result& WithTags(Tags&& value) { SetTags(std::move(value)); return *this;}
65 
66  private:
67 
68  Tags m_tags;
69  };
70 
71 } // namespace Model
72 } // namespace CloudFront
73 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::ListTagsForResource2020_05_31Result
ListTagsForResource2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Tags.h
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result
Definition: ListTagsForResource2020_05_31Result.h:34
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::SetTags
void SetTags(const Tags &value)
Definition: ListTagsForResource2020_05_31Result.h:49
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::WithTags
ListTagsForResource2020_05_31Result & WithTags(const Tags &value)
Definition: ListTagsForResource2020_05_31Result.h:59
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::WithTags
ListTagsForResource2020_05_31Result & WithTags(Tags &&value)
Definition: ListTagsForResource2020_05_31Result.h:64
CloudFront_EXPORTS.h
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::operator=
ListTagsForResource2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::GetTags
const Tags & GetTags() const
Definition: ListTagsForResource2020_05_31Result.h:44
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::ListTagsForResource2020_05_31Result
ListTagsForResource2020_05_31Result()
Aws::CloudFront::Model::Tags
Definition: Tags.h:33
Aws::CloudFront::Model::ListTagsForResource2020_05_31Result::SetTags
void SetTags(Tags &&value)
Definition: ListTagsForResource2020_05_31Result.h:54