AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AuthenticationProfile.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
32 {
33 public:
34 AWS_REDSHIFT_API AuthenticationProfile() = default;
35 AWS_REDSHIFT_API AuthenticationProfile(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_REDSHIFT_API AuthenticationProfile& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
43
46 inline const Aws::String& GetAuthenticationProfileName() const { return m_authenticationProfileName; }
47 inline bool AuthenticationProfileNameHasBeenSet() const { return m_authenticationProfileNameHasBeenSet; }
48 template<typename AuthenticationProfileNameT = Aws::String>
49 void SetAuthenticationProfileName(AuthenticationProfileNameT&& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = std::forward<AuthenticationProfileNameT>(value); }
50 template<typename AuthenticationProfileNameT = Aws::String>
51 AuthenticationProfile& WithAuthenticationProfileName(AuthenticationProfileNameT&& value) { SetAuthenticationProfileName(std::forward<AuthenticationProfileNameT>(value)); return *this;}
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) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = std::forward<AuthenticationProfileContentT>(value); }
63 template<typename AuthenticationProfileContentT = Aws::String>
64 AuthenticationProfile& WithAuthenticationProfileContent(AuthenticationProfileContentT&& value) { SetAuthenticationProfileContent(std::forward<AuthenticationProfileContentT>(value)); return *this;}
66 private:
67
68 Aws::String m_authenticationProfileName;
69 bool m_authenticationProfileNameHasBeenSet = false;
70
71 Aws::String m_authenticationProfileContent;
72 bool m_authenticationProfileContentHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Redshift
77} // 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