AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeAuthenticationProfilesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/redshift/Redshift_EXPORTS.h>
9#include <aws/redshift/model/AuthenticationProfile.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 DescribeAuthenticationProfilesResult() = default;
30
32
35 inline const Aws::Vector<AuthenticationProfile>& GetAuthenticationProfiles() const { return m_authenticationProfiles; }
36 template <typename AuthenticationProfilesT = Aws::Vector<AuthenticationProfile>>
37 void SetAuthenticationProfiles(AuthenticationProfilesT&& value) {
38 m_authenticationProfilesHasBeenSet = true;
39 m_authenticationProfiles = std::forward<AuthenticationProfilesT>(value);
40 }
41 template <typename AuthenticationProfilesT = Aws::Vector<AuthenticationProfile>>
43 SetAuthenticationProfiles(std::forward<AuthenticationProfilesT>(value));
44 return *this;
45 }
46 template <typename AuthenticationProfilesT = AuthenticationProfile>
48 m_authenticationProfilesHasBeenSet = true;
49 m_authenticationProfiles.emplace_back(std::forward<AuthenticationProfilesT>(value));
50 return *this;
51 }
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template <typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) {
59 m_responseMetadataHasBeenSet = true;
60 m_responseMetadata = std::forward<ResponseMetadataT>(value);
61 }
62 template <typename ResponseMetadataT = ResponseMetadata>
64 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
65 return *this;
66 }
68 private:
69 Aws::Vector<AuthenticationProfile> m_authenticationProfiles;
70
71 ResponseMetadata m_responseMetadata;
72 bool m_authenticationProfilesHasBeenSet = false;
73 bool m_responseMetadataHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Redshift
78} // namespace Aws
DescribeAuthenticationProfilesResult & WithAuthenticationProfiles(AuthenticationProfilesT &&value)
AWS_REDSHIFT_API DescribeAuthenticationProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_REDSHIFT_API DescribeAuthenticationProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeAuthenticationProfilesResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::Vector< AuthenticationProfile > & GetAuthenticationProfiles() const
DescribeAuthenticationProfilesResult & AddAuthenticationProfiles(AuthenticationProfilesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument