AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
IntelligentTieringAndOperator.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <aws/s3/model/Tag.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3
23{
24namespace Model
25{
26
35 {
36 public:
40
42
43
48 inline const Aws::String& GetPrefix() const{ return m_prefix; }
49
54 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
55
60 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
61
66 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
67
72 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
73
78 inline IntelligentTieringAndOperator& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
79
84 inline IntelligentTieringAndOperator& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
85
90 inline IntelligentTieringAndOperator& WithPrefix(const char* value) { SetPrefix(value); return *this;}
91
92
97 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
98
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104
109 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
110
115 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
116
121 inline IntelligentTieringAndOperator& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
122
127 inline IntelligentTieringAndOperator& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
128
133 inline IntelligentTieringAndOperator& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
134
139 inline IntelligentTieringAndOperator& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
140
141 private:
142
143 Aws::String m_prefix;
144 bool m_prefixHasBeenSet = false;
145
146 Aws::Vector<Tag> m_tags;
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace S3
152} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
IntelligentTieringAndOperator & WithTags(Aws::Vector< Tag > &&value)
IntelligentTieringAndOperator & WithPrefix(const Aws::String &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
IntelligentTieringAndOperator & WithPrefix(const char *value)
IntelligentTieringAndOperator & AddTags(Tag &&value)
IntelligentTieringAndOperator & WithTags(const Aws::Vector< Tag > &value)
IntelligentTieringAndOperator & WithPrefix(Aws::String &&value)
AWS_S3_API IntelligentTieringAndOperator(const Aws::Utils::Xml::XmlNode &xmlNode)
IntelligentTieringAndOperator & AddTags(const Tag &value)
AWS_S3_API IntelligentTieringAndOperator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector