AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AuthenticationProfile.h
Go to the documentation of this file.
1
6#pragma once
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
32 {
33 public:
37
38 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
45 inline const Aws::String& GetAuthenticationProfileName() const{ return m_authenticationProfileName; }
46
50 inline bool AuthenticationProfileNameHasBeenSet() const { return m_authenticationProfileNameHasBeenSet; }
51
55 inline void SetAuthenticationProfileName(const Aws::String& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = value; }
56
60 inline void SetAuthenticationProfileName(Aws::String&& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = std::move(value); }
61
65 inline void SetAuthenticationProfileName(const char* value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName.assign(value); }
66
71
76
80 inline AuthenticationProfile& WithAuthenticationProfileName(const char* value) { SetAuthenticationProfileName(value); return *this;}
81
82
87 inline const Aws::String& GetAuthenticationProfileContent() const{ return m_authenticationProfileContent; }
88
93 inline bool AuthenticationProfileContentHasBeenSet() const { return m_authenticationProfileContentHasBeenSet; }
94
99 inline void SetAuthenticationProfileContent(const Aws::String& value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = value; }
100
105 inline void SetAuthenticationProfileContent(Aws::String&& value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = std::move(value); }
106
111 inline void SetAuthenticationProfileContent(const char* value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent.assign(value); }
112
118
124
130
131 private:
132
133 Aws::String m_authenticationProfileName;
134 bool m_authenticationProfileNameHasBeenSet = false;
135
136 Aws::String m_authenticationProfileContent;
137 bool m_authenticationProfileContentHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Redshift
142} // namespace Aws
#define AWS_REDSHIFT_API
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AuthenticationProfile & WithAuthenticationProfileName(const Aws::String &value)
void SetAuthenticationProfileName(Aws::String &&value)
AuthenticationProfile & WithAuthenticationProfileName(const char *value)
AuthenticationProfile & WithAuthenticationProfileContent(const char *value)
const Aws::String & GetAuthenticationProfileContent() const
const Aws::String & GetAuthenticationProfileName() const
void SetAuthenticationProfileContent(const Aws::String &value)
void SetAuthenticationProfileContent(Aws::String &&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
void SetAuthenticationProfileName(const Aws::String &value)
AuthenticationProfile & WithAuthenticationProfileName(Aws::String &&value)
AuthenticationProfile & WithAuthenticationProfileContent(const Aws::String &value)
AuthenticationProfile & WithAuthenticationProfileContent(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream