AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsAndOperator.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3-crt/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 S3Crt
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_S3CRT_API AnalyticsAndOperator();
39 AWS_S3CRT_API AnalyticsAndOperator(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
50 inline const Aws::String& GetPrefix() const{ return m_prefix; }
51 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
52 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
53 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
54 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
55 inline AnalyticsAndOperator& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
56 inline AnalyticsAndOperator& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
57 inline AnalyticsAndOperator& WithPrefix(const char* value) { SetPrefix(value); return *this;}
59
61
64 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
65 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
66 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
67 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
68 inline AnalyticsAndOperator& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
69 inline AnalyticsAndOperator& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
70 inline AnalyticsAndOperator& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
71 inline AnalyticsAndOperator& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
73 private:
74
75 Aws::String m_prefix;
76 bool m_prefixHasBeenSet = false;
77
78 Aws::Vector<Tag> m_tags;
79 bool m_tagsHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace S3Crt
84} // namespace Aws
AWS_S3CRT_API AnalyticsAndOperator & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Tag > & GetTags() const
AnalyticsAndOperator & WithPrefix(const char *value)
AWS_S3CRT_API AnalyticsAndOperator(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalyticsAndOperator & WithTags(Aws::Vector< Tag > &&value)
void SetPrefix(const Aws::String &value)
AnalyticsAndOperator & AddTags(const Tag &value)
AnalyticsAndOperator & WithPrefix(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
AnalyticsAndOperator & WithPrefix(const Aws::String &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AnalyticsAndOperator & WithTags(const Aws::Vector< Tag > &value)
AnalyticsAndOperator & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector