AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAuthenticationProfileName(const Aws::String& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = value; }
49 inline void SetAuthenticationProfileName(Aws::String&& value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName = std::move(value); }
50 inline void SetAuthenticationProfileName(const char* value) { m_authenticationProfileNameHasBeenSet = true; m_authenticationProfileName.assign(value); }
53 inline AuthenticationProfile& WithAuthenticationProfileName(const char* value) { SetAuthenticationProfileName(value); return *this;}
55
57
61 inline const Aws::String& GetAuthenticationProfileContent() const{ return m_authenticationProfileContent; }
62 inline bool AuthenticationProfileContentHasBeenSet() const { return m_authenticationProfileContentHasBeenSet; }
63 inline void SetAuthenticationProfileContent(const Aws::String& value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = value; }
64 inline void SetAuthenticationProfileContent(Aws::String&& value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent = std::move(value); }
65 inline void SetAuthenticationProfileContent(const char* value) { m_authenticationProfileContentHasBeenSet = true; m_authenticationProfileContent.assign(value); }
70 private:
71
72 Aws::String m_authenticationProfileName;
73 bool m_authenticationProfileNameHasBeenSet = false;
74
75 Aws::String m_authenticationProfileContent;
76 bool m_authenticationProfileContentHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace Redshift
81} // namespace Aws
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AuthenticationProfile & WithAuthenticationProfileName(const 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