AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceLink.h
1
6#pragma once
7#include <aws/redshift/Redshift_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 Redshift
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFT_API ReferenceLink();
36 AWS_REDSHIFT_API ReferenceLink(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API ReferenceLink& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetText() const{ return m_text; }
48 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
49 inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; }
50 inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); }
51 inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); }
52 inline ReferenceLink& WithText(const Aws::String& value) { SetText(value); return *this;}
53 inline ReferenceLink& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;}
54 inline ReferenceLink& WithText(const char* value) { SetText(value); return *this;}
56
58
61 inline const Aws::String& GetLink() const{ return m_link; }
62 inline bool LinkHasBeenSet() const { return m_linkHasBeenSet; }
63 inline void SetLink(const Aws::String& value) { m_linkHasBeenSet = true; m_link = value; }
64 inline void SetLink(Aws::String&& value) { m_linkHasBeenSet = true; m_link = std::move(value); }
65 inline void SetLink(const char* value) { m_linkHasBeenSet = true; m_link.assign(value); }
66 inline ReferenceLink& WithLink(const Aws::String& value) { SetLink(value); return *this;}
67 inline ReferenceLink& WithLink(Aws::String&& value) { SetLink(std::move(value)); return *this;}
68 inline ReferenceLink& WithLink(const char* value) { SetLink(value); return *this;}
70 private:
71
72 Aws::String m_text;
73 bool m_textHasBeenSet = false;
74
75 Aws::String m_link;
76 bool m_linkHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Redshift
81} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream