AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateAuthenticationProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift {
24namespace Model {
26 public:
27 AWS_REDSHIFT_API CreateAuthenticationProfileResult() = default;
30
32
35 inline const Aws::String& GetAuthenticationProfileName() const { return m_authenticationProfileName; }
36 template <typename AuthenticationProfileNameT = Aws::String>
37 void SetAuthenticationProfileName(AuthenticationProfileNameT&& value) {
38 m_authenticationProfileNameHasBeenSet = true;
39 m_authenticationProfileName = std::forward<AuthenticationProfileNameT>(value);
40 }
41 template <typename AuthenticationProfileNameT = Aws::String>
43 SetAuthenticationProfileName(std::forward<AuthenticationProfileNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetAuthenticationProfileContent() const { return m_authenticationProfileContent; }
53 template <typename AuthenticationProfileContentT = Aws::String>
54 void SetAuthenticationProfileContent(AuthenticationProfileContentT&& value) {
55 m_authenticationProfileContentHasBeenSet = true;
56 m_authenticationProfileContent = std::forward<AuthenticationProfileContentT>(value);
57 }
58 template <typename AuthenticationProfileContentT = Aws::String>
60 SetAuthenticationProfileContent(std::forward<AuthenticationProfileContentT>(value));
61 return *this;
62 }
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
68 template <typename ResponseMetadataT = ResponseMetadata>
69 void SetResponseMetadata(ResponseMetadataT&& value) {
70 m_responseMetadataHasBeenSet = true;
71 m_responseMetadata = std::forward<ResponseMetadataT>(value);
72 }
73 template <typename ResponseMetadataT = ResponseMetadata>
75 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_authenticationProfileName;
83
84 Aws::String m_authenticationProfileContent;
85
86 ResponseMetadata m_responseMetadata;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_authenticationProfileNameHasBeenSet = false;
89 bool m_authenticationProfileContentHasBeenSet = false;
90 bool m_responseMetadataHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace Redshift
95} // 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