AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AuthenticationProfile.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/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace Redshift {
20namespace Model {
21
28 public:
29 AWS_REDSHIFT_API AuthenticationProfile() = default;
30 AWS_REDSHIFT_API AuthenticationProfile(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_REDSHIFT_API AuthenticationProfile& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
40 inline const Aws::String& GetAuthenticationProfileName() const { return m_authenticationProfileName; }
41 inline bool AuthenticationProfileNameHasBeenSet() const { return m_authenticationProfileNameHasBeenSet; }
42 template <typename AuthenticationProfileNameT = Aws::String>
43 void SetAuthenticationProfileName(AuthenticationProfileNameT&& value) {
44 m_authenticationProfileNameHasBeenSet = true;
45 m_authenticationProfileName = std::forward<AuthenticationProfileNameT>(value);
46 }
47 template <typename AuthenticationProfileNameT = Aws::String>
48 AuthenticationProfile& WithAuthenticationProfileName(AuthenticationProfileNameT&& value) {
49 SetAuthenticationProfileName(std::forward<AuthenticationProfileNameT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetAuthenticationProfileContent() const { return m_authenticationProfileContent; }
60 inline bool AuthenticationProfileContentHasBeenSet() const { return m_authenticationProfileContentHasBeenSet; }
61 template <typename AuthenticationProfileContentT = Aws::String>
62 void SetAuthenticationProfileContent(AuthenticationProfileContentT&& value) {
63 m_authenticationProfileContentHasBeenSet = true;
64 m_authenticationProfileContent = std::forward<AuthenticationProfileContentT>(value);
65 }
66 template <typename AuthenticationProfileContentT = Aws::String>
67 AuthenticationProfile& WithAuthenticationProfileContent(AuthenticationProfileContentT&& value) {
68 SetAuthenticationProfileContent(std::forward<AuthenticationProfileContentT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_authenticationProfileName;
74
75 Aws::String m_authenticationProfileContent;
76 bool m_authenticationProfileNameHasBeenSet = false;
77 bool m_authenticationProfileContentHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Redshift
82} // namespace Aws
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AuthenticationProfile & WithAuthenticationProfileName(AuthenticationProfileNameT &&value)
const Aws::String & GetAuthenticationProfileContent() const
const Aws::String & GetAuthenticationProfileName() const
AWS_REDSHIFT_API AuthenticationProfile()=default
void SetAuthenticationProfileName(AuthenticationProfileNameT &&value)
AWS_REDSHIFT_API AuthenticationProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API AuthenticationProfile(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AuthenticationProfile & WithAuthenticationProfileContent(AuthenticationProfileContentT &&value)
void SetAuthenticationProfileContent(AuthenticationProfileContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream