AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
54 template<typename ArnT = Aws::String>
55 Outpost& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
57 private:
58
59 Aws::String m_arn;
60 bool m_arnHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace RDS
65} // 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
void SetArn(ArnT &&value)
Definition Outpost.h:53
AWS_RDS_API Outpost(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Outpost & WithArn(ArnT &&value)
Definition Outpost.h:55
bool ArnHasBeenSet() const
Definition Outpost.h:51
AWS_RDS_API Outpost & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API Outpost()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream