AWS SDK for C++  1.9.160
AWS SDK for C++
CreateAuthenticationProfileResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace Redshift
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetAuthenticationProfileName() const{ return m_authenticationProfileName; }
40 
44  inline void SetAuthenticationProfileName(const Aws::String& value) { m_authenticationProfileName = value; }
45 
49  inline void SetAuthenticationProfileName(Aws::String&& value) { m_authenticationProfileName = std::move(value); }
50 
54  inline void SetAuthenticationProfileName(const char* value) { m_authenticationProfileName.assign(value); }
55 
59  inline CreateAuthenticationProfileResult& WithAuthenticationProfileName(const Aws::String& value) { SetAuthenticationProfileName(value); return *this;}
60 
64  inline CreateAuthenticationProfileResult& WithAuthenticationProfileName(Aws::String&& value) { SetAuthenticationProfileName(std::move(value)); return *this;}
65 
69  inline CreateAuthenticationProfileResult& WithAuthenticationProfileName(const char* value) { SetAuthenticationProfileName(value); return *this;}
70 
71 
75  inline const Aws::String& GetAuthenticationProfileContent() const{ return m_authenticationProfileContent; }
76 
80  inline void SetAuthenticationProfileContent(const Aws::String& value) { m_authenticationProfileContent = value; }
81 
85  inline void SetAuthenticationProfileContent(Aws::String&& value) { m_authenticationProfileContent = std::move(value); }
86 
90  inline void SetAuthenticationProfileContent(const char* value) { m_authenticationProfileContent.assign(value); }
91 
95  inline CreateAuthenticationProfileResult& WithAuthenticationProfileContent(const Aws::String& value) { SetAuthenticationProfileContent(value); return *this;}
96 
100  inline CreateAuthenticationProfileResult& WithAuthenticationProfileContent(Aws::String&& value) { SetAuthenticationProfileContent(std::move(value)); return *this;}
101 
105  inline CreateAuthenticationProfileResult& WithAuthenticationProfileContent(const char* value) { SetAuthenticationProfileContent(value); return *this;}
106 
107 
108 
109  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
110 
111 
112  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
113 
114 
115  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
116 
117 
118  inline CreateAuthenticationProfileResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
119 
120 
121  inline CreateAuthenticationProfileResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
122 
123  private:
124 
125  Aws::String m_authenticationProfileName;
126 
127  Aws::String m_authenticationProfileContent;
128 
129  ResponseMetadata m_responseMetadata;
130  };
131 
132 } // namespace Model
133 } // namespace Redshift
134 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetAuthenticationProfileName
void SetAuthenticationProfileName(const Aws::String &value)
Definition: CreateAuthenticationProfileResult.h:44
Aws::Redshift::Model::CreateAuthenticationProfileResult::GetAuthenticationProfileName
const Aws::String & GetAuthenticationProfileName() const
Definition: CreateAuthenticationProfileResult.h:39
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateAuthenticationProfileResult.h:112
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetAuthenticationProfileName
void SetAuthenticationProfileName(Aws::String &&value)
Definition: CreateAuthenticationProfileResult.h:49
Aws::Redshift::Model::CreateAuthenticationProfileResult::CreateAuthenticationProfileResult
CreateAuthenticationProfileResult()
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateAuthenticationProfileResult.h:115
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithAuthenticationProfileContent
CreateAuthenticationProfileResult & WithAuthenticationProfileContent(Aws::String &&value)
Definition: CreateAuthenticationProfileResult.h:100
Aws::Redshift::Model::CreateAuthenticationProfileResult
Definition: CreateAuthenticationProfileResult.h:29
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithAuthenticationProfileContent
CreateAuthenticationProfileResult & WithAuthenticationProfileContent(const char *value)
Definition: CreateAuthenticationProfileResult.h:105
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const Aws::String &value)
Definition: CreateAuthenticationProfileResult.h:80
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithResponseMetadata
CreateAuthenticationProfileResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateAuthenticationProfileResult.h:121
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(const char *value)
Definition: CreateAuthenticationProfileResult.h:90
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::CreateAuthenticationProfileResult::CreateAuthenticationProfileResult
CreateAuthenticationProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithAuthenticationProfileName
CreateAuthenticationProfileResult & WithAuthenticationProfileName(Aws::String &&value)
Definition: CreateAuthenticationProfileResult.h:64
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithAuthenticationProfileName
CreateAuthenticationProfileResult & WithAuthenticationProfileName(const char *value)
Definition: CreateAuthenticationProfileResult.h:69
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithAuthenticationProfileName
CreateAuthenticationProfileResult & WithAuthenticationProfileName(const Aws::String &value)
Definition: CreateAuthenticationProfileResult.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetAuthenticationProfileName
void SetAuthenticationProfileName(const char *value)
Definition: CreateAuthenticationProfileResult.h:54
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithResponseMetadata
CreateAuthenticationProfileResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateAuthenticationProfileResult.h:118
Aws::Redshift::Model::CreateAuthenticationProfileResult::SetAuthenticationProfileContent
void SetAuthenticationProfileContent(Aws::String &&value)
Definition: CreateAuthenticationProfileResult.h:85
Aws::Redshift::Model::CreateAuthenticationProfileResult::WithAuthenticationProfileContent
CreateAuthenticationProfileResult & WithAuthenticationProfileContent(const Aws::String &value)
Definition: CreateAuthenticationProfileResult.h:95
Aws::Redshift::Model::CreateAuthenticationProfileResult::GetAuthenticationProfileContent
const Aws::String & GetAuthenticationProfileContent() const
Definition: CreateAuthenticationProfileResult.h:75
Aws::Redshift::Model::CreateAuthenticationProfileResult::operator=
CreateAuthenticationProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::CreateAuthenticationProfileResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateAuthenticationProfileResult.h:109