AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
IntelligentTieringAndOperator.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Tag.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3 {
21namespace Model {
22
31 public:
32 AWS_S3_API IntelligentTieringAndOperator() = default;
35
36 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
37
39
43 inline const Aws::String& GetPrefix() const { return m_prefix; }
44 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
45 template <typename PrefixT = Aws::String>
46 void SetPrefix(PrefixT&& value) {
47 m_prefixHasBeenSet = true;
48 m_prefix = std::forward<PrefixT>(value);
49 }
50 template <typename PrefixT = Aws::String>
52 SetPrefix(std::forward<PrefixT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
63 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
64 template <typename TagsT = Aws::Vector<Tag>>
65 void SetTags(TagsT&& value) {
66 m_tagsHasBeenSet = true;
67 m_tags = std::forward<TagsT>(value);
68 }
69 template <typename TagsT = Aws::Vector<Tag>>
71 SetTags(std::forward<TagsT>(value));
72 return *this;
73 }
74 template <typename TagsT = Tag>
76 m_tagsHasBeenSet = true;
77 m_tags.emplace_back(std::forward<TagsT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_prefix;
83
84 Aws::Vector<Tag> m_tags;
85 bool m_prefixHasBeenSet = false;
86 bool m_tagsHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace S3
91} // namespace Aws
IntelligentTieringAndOperator & WithTags(TagsT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
IntelligentTieringAndOperator & AddTags(TagsT &&value)
AWS_S3_API IntelligentTieringAndOperator(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API IntelligentTieringAndOperator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
IntelligentTieringAndOperator & WithPrefix(PrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector