AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Outpost.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rds/RDS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace RDS {
20namespace Model {
21
31class Outpost {
32 public:
33 AWS_RDS_API Outpost() = default;
34 AWS_RDS_API Outpost(const Aws::Utils::Xml::XmlNode& xmlNode);
35 AWS_RDS_API Outpost& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
36
37 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
46 template <typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) {
48 m_arnHasBeenSet = true;
49 m_arn = std::forward<ArnT>(value);
50 }
51 template <typename ArnT = Aws::String>
52 Outpost& WithArn(ArnT&& value) {
53 SetArn(std::forward<ArnT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_arn;
59 bool m_arnHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace RDS
64} // namespace Aws
const Aws::String & GetArn() const
Definition Outpost.h:44
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetArn(ArnT &&value)
Definition Outpost.h:47
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:52
bool ArnHasBeenSet() const
Definition Outpost.h:45
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