AWS SDK for C++  1.8.154
AWS SDK for C++
StorageLensAwsOrg.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 
31  {
32  public:
36 
37  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
38 
39 
46  inline const Aws::String& GetArn() const{ return m_arn; }
47 
54  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 
62  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
63 
70  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
71 
78  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
79 
86  inline StorageLensAwsOrg& WithArn(const Aws::String& value) { SetArn(value); return *this;}
87 
94  inline StorageLensAwsOrg& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
95 
102  inline StorageLensAwsOrg& WithArn(const char* value) { SetArn(value); return *this;}
103 
104  private:
105 
106  Aws::String m_arn;
107  bool m_arnHasBeenSet;
108  };
109 
110 } // namespace Model
111 } // namespace S3Control
112 } // namespace Aws
Aws::S3Control::Model::StorageLensAwsOrg::StorageLensAwsOrg
StorageLensAwsOrg(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::StorageLensAwsOrg::WithArn
StorageLensAwsOrg & WithArn(const char *value)
Definition: StorageLensAwsOrg.h:102
Aws::S3Control::Model::StorageLensAwsOrg::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::StorageLensAwsOrg::GetArn
const Aws::String & GetArn() const
Definition: StorageLensAwsOrg.h:46
Aws::S3Control::Model::StorageLensAwsOrg::operator=
StorageLensAwsOrg & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::StorageLensAwsOrg::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: StorageLensAwsOrg.h:54
S3Control_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::StorageLensAwsOrg::WithArn
StorageLensAwsOrg & WithArn(const Aws::String &value)
Definition: StorageLensAwsOrg.h:86
AWSString.h
Aws::S3Control::Model::StorageLensAwsOrg::SetArn
void SetArn(const char *value)
Definition: StorageLensAwsOrg.h:78
Aws::S3Control::Model::StorageLensAwsOrg::StorageLensAwsOrg
StorageLensAwsOrg()
Aws::S3Control::Model::StorageLensAwsOrg::SetArn
void SetArn(const Aws::String &value)
Definition: StorageLensAwsOrg.h:62
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::StorageLensAwsOrg::WithArn
StorageLensAwsOrg & WithArn(Aws::String &&value)
Definition: StorageLensAwsOrg.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::S3Control::Model::StorageLensAwsOrg
Definition: StorageLensAwsOrg.h:31
Aws::S3Control::Model::StorageLensAwsOrg::SetArn
void SetArn(Aws::String &&value)
Definition: StorageLensAwsOrg.h:70