AWS SDK for C++  1.8.157
AWS SDK for C++
ListStorageLensConfigurationEntry.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace S3Control
21 {
22 namespace Model
23 {
24 
34  {
35  public:
39 
40  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41 
42 
46  inline const Aws::String& GetId() const{ return m_id; }
47 
51  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
52 
56  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 
61  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
62 
66  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 
71  inline ListStorageLensConfigurationEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
72 
76  inline ListStorageLensConfigurationEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
77 
81  inline ListStorageLensConfigurationEntry& WithId(const char* value) { SetId(value); return *this;}
82 
83 
87  inline const Aws::String& GetStorageLensArn() const{ return m_storageLensArn; }
88 
92  inline bool StorageLensArnHasBeenSet() const { return m_storageLensArnHasBeenSet; }
93 
97  inline void SetStorageLensArn(const Aws::String& value) { m_storageLensArnHasBeenSet = true; m_storageLensArn = value; }
98 
102  inline void SetStorageLensArn(Aws::String&& value) { m_storageLensArnHasBeenSet = true; m_storageLensArn = std::move(value); }
103 
107  inline void SetStorageLensArn(const char* value) { m_storageLensArnHasBeenSet = true; m_storageLensArn.assign(value); }
108 
112  inline ListStorageLensConfigurationEntry& WithStorageLensArn(const Aws::String& value) { SetStorageLensArn(value); return *this;}
113 
117  inline ListStorageLensConfigurationEntry& WithStorageLensArn(Aws::String&& value) { SetStorageLensArn(std::move(value)); return *this;}
118 
122  inline ListStorageLensConfigurationEntry& WithStorageLensArn(const char* value) { SetStorageLensArn(value); return *this;}
123 
124 
129  inline const Aws::String& GetHomeRegion() const{ return m_homeRegion; }
130 
135  inline bool HomeRegionHasBeenSet() const { return m_homeRegionHasBeenSet; }
136 
141  inline void SetHomeRegion(const Aws::String& value) { m_homeRegionHasBeenSet = true; m_homeRegion = value; }
142 
147  inline void SetHomeRegion(Aws::String&& value) { m_homeRegionHasBeenSet = true; m_homeRegion = std::move(value); }
148 
153  inline void SetHomeRegion(const char* value) { m_homeRegionHasBeenSet = true; m_homeRegion.assign(value); }
154 
159  inline ListStorageLensConfigurationEntry& WithHomeRegion(const Aws::String& value) { SetHomeRegion(value); return *this;}
160 
165  inline ListStorageLensConfigurationEntry& WithHomeRegion(Aws::String&& value) { SetHomeRegion(std::move(value)); return *this;}
166 
171  inline ListStorageLensConfigurationEntry& WithHomeRegion(const char* value) { SetHomeRegion(value); return *this;}
172 
173 
178  inline bool GetIsEnabled() const{ return m_isEnabled; }
179 
184  inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
185 
190  inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
191 
196  inline ListStorageLensConfigurationEntry& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
197 
198  private:
199 
200  Aws::String m_id;
201  bool m_idHasBeenSet;
202 
203  Aws::String m_storageLensArn;
204  bool m_storageLensArnHasBeenSet;
205 
206  Aws::String m_homeRegion;
207  bool m_homeRegionHasBeenSet;
208 
209  bool m_isEnabled;
210  bool m_isEnabledHasBeenSet;
211  };
212 
213 } // namespace Model
214 } // namespace S3Control
215 } // namespace Aws
Aws::S3Control::Model::ListStorageLensConfigurationEntry
Definition: ListStorageLensConfigurationEntry.h:34
Aws::S3Control::Model::ListStorageLensConfigurationEntry::GetHomeRegion
const Aws::String & GetHomeRegion() const
Definition: ListStorageLensConfigurationEntry.h:129
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithHomeRegion
ListStorageLensConfigurationEntry & WithHomeRegion(const Aws::String &value)
Definition: ListStorageLensConfigurationEntry.h:159
Aws::S3Control::Model::ListStorageLensConfigurationEntry::GetId
const Aws::String & GetId() const
Definition: ListStorageLensConfigurationEntry.h:46
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithStorageLensArn
ListStorageLensConfigurationEntry & WithStorageLensArn(const Aws::String &value)
Definition: ListStorageLensConfigurationEntry.h:112
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetId
void SetId(Aws::String &&value)
Definition: ListStorageLensConfigurationEntry.h:61
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithHomeRegion
ListStorageLensConfigurationEntry & WithHomeRegion(Aws::String &&value)
Definition: ListStorageLensConfigurationEntry.h:165
Aws::S3Control::Model::ListStorageLensConfigurationEntry::operator=
ListStorageLensConfigurationEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::ListStorageLensConfigurationEntry::GetIsEnabled
bool GetIsEnabled() const
Definition: ListStorageLensConfigurationEntry.h:178
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithIsEnabled
ListStorageLensConfigurationEntry & WithIsEnabled(bool value)
Definition: ListStorageLensConfigurationEntry.h:196
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetHomeRegion
void SetHomeRegion(const Aws::String &value)
Definition: ListStorageLensConfigurationEntry.h:141
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetId
void SetId(const char *value)
Definition: ListStorageLensConfigurationEntry.h:66
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithId
ListStorageLensConfigurationEntry & WithId(const Aws::String &value)
Definition: ListStorageLensConfigurationEntry.h:71
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithHomeRegion
ListStorageLensConfigurationEntry & WithHomeRegion(const char *value)
Definition: ListStorageLensConfigurationEntry.h:171
Aws::S3Control::Model::ListStorageLensConfigurationEntry::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ListStorageLensConfigurationEntry.h:51
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetHomeRegion
void SetHomeRegion(Aws::String &&value)
Definition: ListStorageLensConfigurationEntry.h:147
Aws::S3Control::Model::ListStorageLensConfigurationEntry::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
S3Control_EXPORTS.h
Aws::S3Control::Model::ListStorageLensConfigurationEntry::HomeRegionHasBeenSet
bool HomeRegionHasBeenSet() const
Definition: ListStorageLensConfigurationEntry.h:135
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithId
ListStorageLensConfigurationEntry & WithId(Aws::String &&value)
Definition: ListStorageLensConfigurationEntry.h:76
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetStorageLensArn
void SetStorageLensArn(Aws::String &&value)
Definition: ListStorageLensConfigurationEntry.h:102
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
AWSString.h
Aws::S3Control::Model::ListStorageLensConfigurationEntry::ListStorageLensConfigurationEntry
ListStorageLensConfigurationEntry()
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetStorageLensArn
void SetStorageLensArn(const Aws::String &value)
Definition: ListStorageLensConfigurationEntry.h:97
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithId
ListStorageLensConfigurationEntry & WithId(const char *value)
Definition: ListStorageLensConfigurationEntry.h:81
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetIsEnabled
void SetIsEnabled(bool value)
Definition: ListStorageLensConfigurationEntry.h:190
Aws::S3Control::Model::ListStorageLensConfigurationEntry::StorageLensArnHasBeenSet
bool StorageLensArnHasBeenSet() const
Definition: ListStorageLensConfigurationEntry.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetHomeRegion
void SetHomeRegion(const char *value)
Definition: ListStorageLensConfigurationEntry.h:153
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithStorageLensArn
ListStorageLensConfigurationEntry & WithStorageLensArn(Aws::String &&value)
Definition: ListStorageLensConfigurationEntry.h:117
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetId
void SetId(const Aws::String &value)
Definition: ListStorageLensConfigurationEntry.h:56
Aws::S3Control::Model::ListStorageLensConfigurationEntry::IsEnabledHasBeenSet
bool IsEnabledHasBeenSet() const
Definition: ListStorageLensConfigurationEntry.h:184
Aws::S3Control::Model::ListStorageLensConfigurationEntry::ListStorageLensConfigurationEntry
ListStorageLensConfigurationEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::ListStorageLensConfigurationEntry::WithStorageLensArn
ListStorageLensConfigurationEntry & WithStorageLensArn(const char *value)
Definition: ListStorageLensConfigurationEntry.h:122
Aws::S3Control::Model::ListStorageLensConfigurationEntry::SetStorageLensArn
void SetStorageLensArn(const char *value)
Definition: ListStorageLensConfigurationEntry.h:107
Aws::S3Control::Model::ListStorageLensConfigurationEntry::GetStorageLensArn
const Aws::String & GetStorageLensArn() const
Definition: ListStorageLensConfigurationEntry.h:87