AWS SDK for C++  1.9.108
AWS SDK for C++
Outpost.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace RDS
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetArn() const{ return m_arn; }
50 
54  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 
59  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
60 
64  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 
69  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 
74  inline Outpost& WithArn(const Aws::String& value) { SetArn(value); return *this;}
75 
79  inline Outpost& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
80 
84  inline Outpost& WithArn(const char* value) { SetArn(value); return *this;}
85 
86  private:
87 
88  Aws::String m_arn;
89  bool m_arnHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace RDS
94 } // namespace Aws
Aws::RDS::Model::Outpost::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: Outpost.h:54
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::Outpost::SetArn
void SetArn(Aws::String &&value)
Definition: Outpost.h:64
Aws::RDS::Model::Outpost::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::RDS::Model::Outpost::SetArn
void SetArn(const Aws::String &value)
Definition: Outpost.h:59
Aws::RDS::Model::Outpost::Outpost
Outpost()
Aws::RDS::Model::Outpost::GetArn
const Aws::String & GetArn() const
Definition: Outpost.h:49
Aws::RDS::Model::Outpost::WithArn
Outpost & WithArn(Aws::String &&value)
Definition: Outpost.h:79
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::Outpost::SetArn
void SetArn(const char *value)
Definition: Outpost.h:69
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::Outpost::WithArn
Outpost & WithArn(const char *value)
Definition: Outpost.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::Outpost::operator=
Outpost & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::Outpost
Definition: Outpost.h:36
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::Outpost::Outpost
Outpost(const Aws::Utils::Xml::XmlNode &xmlNode)
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::Outpost::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::Outpost::WithArn
Outpost & WithArn(const Aws::String &value)
Definition: Outpost.h:74