AWS SDK for C++  1.9.104
AWS SDK for C++
AuthenticationProfile.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Redshift
22 {
23 namespace Model
24 {
25 
32  {
33  public:
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  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 
70  inline AuthenticationProfile& WithAuthenticationProfileName(const Aws::String& value) { SetAuthenticationProfileName(value); return *this;}
71 
75  inline AuthenticationProfile& WithAuthenticationProfileName(Aws::String&& value) { SetAuthenticationProfileName(std::move(value)); return *this;}
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 
117  inline AuthenticationProfile& WithAuthenticationProfileContent(const Aws::String& value) { SetAuthenticationProfileContent(value); return *this;}
118 
123  inline AuthenticationProfile& WithAuthenticationProfileContent(Aws::String&& value) { SetAuthenticationProfileContent(std::move(value)); return *this;}
124 
129  inline AuthenticationProfile& WithAuthenticationProfileContent(const char* value) { SetAuthenticationProfileContent(value); return *this;}
130 
131  private:
132 
133  Aws::String m_authenticationProfileName;
134  bool m_authenticationProfileNameHasBeenSet;
135 
136  Aws::String m_authenticationProfileContent;
137  bool m_authenticationProfileContentHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace Redshift
142 } // namespace Aws
Aws::Redshift::Model::AuthenticationProfile::AuthenticationProfileContentHasBeenSet
bool AuthenticationProfileContentHasBeenSet() const
Definition: AuthenticationProfile.h:93
Aws::Redshift::Model::AuthenticationProfile::WithAuthenticationProfileName
AuthenticationProfile & WithAuthenticationProfileName(Aws::String &&value)
Definition: AuthenticationProfile.h:75
Aws::Redshift::Model::AuthenticationProfile::GetAuthenticationProfileContent
const Aws::String & GetAuthenticationProfileContent() const
Definition: AuthenticationProfile.h:87
Aws::Redshift::Model::AuthenticationProfile::operator=
AuthenticationProfile & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::Redshift::Model::AuthenticationProfile::WithAuthenticationProfileName
AuthenticationProfile & WithAuthenticationProfileName(const char *value)
Definition: AuthenticationProfile.h:80
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::AuthenticationProfile::SetAuthenticationProfileName
void SetAuthenticationProfileName(Aws::String &&value)
Definition: AuthenticationProfile.h:60
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::AuthenticationProfile::WithAuthenticationProfileContent
AuthenticationProfile & WithAuthenticationProfileContent(const char *value)
Definition: AuthenticationProfile.h:129
Aws::Redshift::Model::AuthenticationProfile::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(Aws::String &&value)
Definition: AuthenticationProfile.h:105
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::AuthenticationProfile::SetAuthenticationProfileName
void SetAuthenticationProfileName(const char *value)
Definition: AuthenticationProfile.h:65
Aws::Redshift::Model::AuthenticationProfile
Definition: AuthenticationProfile.h:32
Aws::Redshift::Model::AuthenticationProfile::WithAuthenticationProfileContent
AuthenticationProfile & WithAuthenticationProfileContent(Aws::String &&value)
Definition: AuthenticationProfile.h:123
AWSString.h
Aws::Redshift::Model::AuthenticationProfile::GetAuthenticationProfileName
const Aws::String & GetAuthenticationProfileName() const
Definition: AuthenticationProfile.h:45
Aws::Redshift::Model::AuthenticationProfile::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const char *value)
Definition: AuthenticationProfile.h:111
Aws::Redshift::Model::AuthenticationProfile::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::AuthenticationProfile::SetAuthenticationProfileName
void SetAuthenticationProfileName(const Aws::String &value)
Definition: AuthenticationProfile.h:55
Aws::Redshift::Model::AuthenticationProfile::WithAuthenticationProfileContent
AuthenticationProfile & WithAuthenticationProfileContent(const Aws::String &value)
Definition: AuthenticationProfile.h:117
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::AuthenticationProfile::WithAuthenticationProfileName
AuthenticationProfile & WithAuthenticationProfileName(const Aws::String &value)
Definition: AuthenticationProfile.h:70
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::AuthenticationProfile::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::AuthenticationProfile::AuthenticationProfile
AuthenticationProfile()
Aws::Redshift::Model::AuthenticationProfile::AuthenticationProfileNameHasBeenSet
bool AuthenticationProfileNameHasBeenSet() const
Definition: AuthenticationProfile.h:50
Aws::Redshift::Model::AuthenticationProfile::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const Aws::String &value)
Definition: AuthenticationProfile.h:99
Aws::Redshift::Model::AuthenticationProfile::AuthenticationProfile
AuthenticationProfile(const Aws::Utils::Xml::XmlNode &xmlNode)