AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageLensGroup.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3control/model/StorageLensGroupFilter.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_S3CONTROL_API StorageLensGroup();
39 AWS_S3CONTROL_API StorageLensGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_S3CONTROL_API StorageLensGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline StorageLensGroup& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline StorageLensGroup& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline StorageLensGroup& WithName(const char* value) { SetName(value); return *this;}
58
60
65 inline const StorageLensGroupFilter& GetFilter() const{ return m_filter; }
66 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
67 inline void SetFilter(const StorageLensGroupFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
68 inline void SetFilter(StorageLensGroupFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
69 inline StorageLensGroup& WithFilter(const StorageLensGroupFilter& value) { SetFilter(value); return *this;}
70 inline StorageLensGroup& WithFilter(StorageLensGroupFilter&& value) { SetFilter(std::move(value)); return *this;}
72
74
78 inline const Aws::String& GetStorageLensGroupArn() const{ return m_storageLensGroupArn; }
79 inline bool StorageLensGroupArnHasBeenSet() const { return m_storageLensGroupArnHasBeenSet; }
80 inline void SetStorageLensGroupArn(const Aws::String& value) { m_storageLensGroupArnHasBeenSet = true; m_storageLensGroupArn = value; }
81 inline void SetStorageLensGroupArn(Aws::String&& value) { m_storageLensGroupArnHasBeenSet = true; m_storageLensGroupArn = std::move(value); }
82 inline void SetStorageLensGroupArn(const char* value) { m_storageLensGroupArnHasBeenSet = true; m_storageLensGroupArn.assign(value); }
83 inline StorageLensGroup& WithStorageLensGroupArn(const Aws::String& value) { SetStorageLensGroupArn(value); return *this;}
84 inline StorageLensGroup& WithStorageLensGroupArn(Aws::String&& value) { SetStorageLensGroupArn(std::move(value)); return *this;}
85 inline StorageLensGroup& WithStorageLensGroupArn(const char* value) { SetStorageLensGroupArn(value); return *this;}
87 private:
88
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
93 bool m_filterHasBeenSet = false;
94
95 Aws::String m_storageLensGroupArn;
96 bool m_storageLensGroupArnHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace S3Control
101} // namespace Aws
const Aws::String & GetName() const
const StorageLensGroupFilter & GetFilter() const
StorageLensGroup & WithFilter(const StorageLensGroupFilter &value)
StorageLensGroup & WithName(Aws::String &&value)
void SetStorageLensGroupArn(const Aws::String &value)
AWS_S3CONTROL_API StorageLensGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLensGroup & WithStorageLensGroupArn(const char *value)
void SetStorageLensGroupArn(Aws::String &&value)
void SetFilter(StorageLensGroupFilter &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API StorageLensGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLensGroup & WithStorageLensGroupArn(Aws::String &&value)
const Aws::String & GetStorageLensGroupArn() const
StorageLensGroup & WithFilter(StorageLensGroupFilter &&value)
StorageLensGroup & WithName(const Aws::String &value)
StorageLensGroup & WithStorageLensGroupArn(const Aws::String &value)
void SetFilter(const StorageLensGroupFilter &value)
void SetName(const Aws::String &value)
StorageLensGroup & WithName(const char *value)
void SetStorageLensGroupArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String