AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntelligentTieringConfiguration.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/IntelligentTieringFilter.h>
10#include <aws/s3/model/IntelligentTieringStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/s3/model/Tiering.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace S3
25{
26namespace Model
27{
28
40 {
41 public:
45
46 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
47
48
50
53 inline const Aws::String& GetId() const{ return m_id; }
54 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
55 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
56 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
57 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
58 inline IntelligentTieringConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
59 inline IntelligentTieringConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
60 inline IntelligentTieringConfiguration& WithId(const char* value) { SetId(value); return *this;}
62
64
68 inline const IntelligentTieringFilter& GetFilter() const{ return m_filter; }
69 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
70 inline void SetFilter(const IntelligentTieringFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
71 inline void SetFilter(IntelligentTieringFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
73 inline IntelligentTieringConfiguration& WithFilter(IntelligentTieringFilter&& value) { SetFilter(std::move(value)); return *this;}
75
77
80 inline const IntelligentTieringStatus& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const IntelligentTieringStatus& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(IntelligentTieringStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
85 inline IntelligentTieringConfiguration& WithStatus(IntelligentTieringStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
93 inline const Aws::Vector<Tiering>& GetTierings() const{ return m_tierings; }
94 inline bool TieringsHasBeenSet() const { return m_tieringsHasBeenSet; }
95 inline void SetTierings(const Aws::Vector<Tiering>& value) { m_tieringsHasBeenSet = true; m_tierings = value; }
96 inline void SetTierings(Aws::Vector<Tiering>&& value) { m_tieringsHasBeenSet = true; m_tierings = std::move(value); }
98 inline IntelligentTieringConfiguration& WithTierings(Aws::Vector<Tiering>&& value) { SetTierings(std::move(value)); return *this;}
99 inline IntelligentTieringConfiguration& AddTierings(const Tiering& value) { m_tieringsHasBeenSet = true; m_tierings.push_back(value); return *this; }
100 inline IntelligentTieringConfiguration& AddTierings(Tiering&& value) { m_tieringsHasBeenSet = true; m_tierings.push_back(std::move(value)); return *this; }
102 private:
103
104 Aws::String m_id;
105 bool m_idHasBeenSet = false;
106
108 bool m_filterHasBeenSet = false;
109
111 bool m_statusHasBeenSet = false;
112
113 Aws::Vector<Tiering> m_tierings;
114 bool m_tieringsHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace S3
119} // namespace Aws
AWS_S3_API IntelligentTieringConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API IntelligentTieringConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
IntelligentTieringConfiguration & WithFilter(IntelligentTieringFilter &&value)
void SetFilter(const IntelligentTieringFilter &value)
void SetStatus(const IntelligentTieringStatus &value)
IntelligentTieringConfiguration & AddTierings(const Tiering &value)
IntelligentTieringConfiguration & WithTierings(Aws::Vector< Tiering > &&value)
IntelligentTieringConfiguration & WithId(Aws::String &&value)
IntelligentTieringConfiguration & WithStatus(const IntelligentTieringStatus &value)
void SetTierings(const Aws::Vector< Tiering > &value)
IntelligentTieringConfiguration & WithTierings(const Aws::Vector< Tiering > &value)
IntelligentTieringConfiguration & WithStatus(IntelligentTieringStatus &&value)
IntelligentTieringConfiguration & AddTierings(Tiering &&value)
IntelligentTieringConfiguration & WithId(const Aws::String &value)
IntelligentTieringConfiguration & WithId(const char *value)
IntelligentTieringConfiguration & WithFilter(const IntelligentTieringFilter &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector