AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Outpost.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace RDS
22{
23namespace Model
24{
25
35 class Outpost
36 {
37 public:
38 AWS_RDS_API Outpost();
39 AWS_RDS_API Outpost(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_RDS_API Outpost& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline Outpost& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline Outpost& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline Outpost& WithArn(const char* value) { SetArn(value); return *this;}
59 private:
60
61 Aws::String m_arn;
62 bool m_arnHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace RDS
67} // namespace Aws
const Aws::String & GetArn() const
Definition Outpost.h:50
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API Outpost(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetArn(Aws::String &&value)
Definition Outpost.h:53
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetArn(const char *value)
Definition Outpost.h:54
void SetArn(const Aws::String &value)
Definition Outpost.h:52
bool ArnHasBeenSet() const
Definition Outpost.h:51
Outpost & WithArn(const Aws::String &value)
Definition Outpost.h:55
AWS_RDS_API Outpost & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Outpost & WithArn(const char *value)
Definition Outpost.h:57
Outpost & WithArn(Aws::String &&value)
Definition Outpost.h:56
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream