AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateAuthenticationProfileResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/Redshift_EXPORTS.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace Redshift {
23namespace Model {
25 public:
26 AWS_REDSHIFT_API CreateAuthenticationProfileResult() = default;
29
31
34 inline const Aws::String& GetAuthenticationProfileName() const { return m_authenticationProfileName; }
35 template <typename AuthenticationProfileNameT = Aws::String>
36 void SetAuthenticationProfileName(AuthenticationProfileNameT&& value) {
37 m_authenticationProfileNameHasBeenSet = true;
38 m_authenticationProfileName = std::forward<AuthenticationProfileNameT>(value);
39 }
40 template <typename AuthenticationProfileNameT = Aws::String>
42 SetAuthenticationProfileName(std::forward<AuthenticationProfileNameT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetAuthenticationProfileContent() const { return m_authenticationProfileContent; }
52 template <typename AuthenticationProfileContentT = Aws::String>
53 void SetAuthenticationProfileContent(AuthenticationProfileContentT&& value) {
54 m_authenticationProfileContentHasBeenSet = true;
55 m_authenticationProfileContent = std::forward<AuthenticationProfileContentT>(value);
56 }
57 template <typename AuthenticationProfileContentT = Aws::String>
59 SetAuthenticationProfileContent(std::forward<AuthenticationProfileContentT>(value));
60 return *this;
61 }
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
67 template <typename ResponseMetadataT = ResponseMetadata>
68 void SetResponseMetadata(ResponseMetadataT&& value) {
69 m_responseMetadataHasBeenSet = true;
70 m_responseMetadata = std::forward<ResponseMetadataT>(value);
71 }
72 template <typename ResponseMetadataT = ResponseMetadata>
74 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_authenticationProfileName;
80
81 Aws::String m_authenticationProfileContent;
82
83 ResponseMetadata m_responseMetadata;
84 bool m_authenticationProfileNameHasBeenSet = false;
85 bool m_authenticationProfileContentHasBeenSet = false;
86 bool m_responseMetadataHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace Redshift
91} // namespace Aws
CreateAuthenticationProfileResult & WithAuthenticationProfileContent(AuthenticationProfileContentT &&value)
CreateAuthenticationProfileResult & WithAuthenticationProfileName(AuthenticationProfileNameT &&value)
AWS_REDSHIFT_API CreateAuthenticationProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API CreateAuthenticationProfileResult()=default
AWS_REDSHIFT_API CreateAuthenticationProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetAuthenticationProfileContent(AuthenticationProfileContentT &&value)
CreateAuthenticationProfileResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument