AWS SDK for C++

AWS SDK for C++ Version 1.11.764

Loading...
Searching...
No Matches
DescribeCustomDomainAssociationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Association.h>
12#include <aws/redshift/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift {
26namespace Model {
28 public:
29 AWS_REDSHIFT_API DescribeCustomDomainAssociationsResult() = default;
33
35
38 inline const Aws::String& GetMarker() const { return m_marker; }
39 template <typename MarkerT = Aws::String>
40 void SetMarker(MarkerT&& value) {
41 m_markerHasBeenSet = true;
42 m_marker = std::forward<MarkerT>(value);
43 }
44 template <typename MarkerT = Aws::String>
46 SetMarker(std::forward<MarkerT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::Vector<Association>& GetAssociations() const { return m_associations; }
56 template <typename AssociationsT = Aws::Vector<Association>>
57 void SetAssociations(AssociationsT&& value) {
58 m_associationsHasBeenSet = true;
59 m_associations = std::forward<AssociationsT>(value);
60 }
61 template <typename AssociationsT = Aws::Vector<Association>>
63 SetAssociations(std::forward<AssociationsT>(value));
64 return *this;
65 }
66 template <typename AssociationsT = Association>
68 m_associationsHasBeenSet = true;
69 m_associations.emplace_back(std::forward<AssociationsT>(value));
70 return *this;
71 }
73
75
76 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
77 template <typename ResponseMetadataT = ResponseMetadata>
78 void SetResponseMetadata(ResponseMetadataT&& value) {
79 m_responseMetadataHasBeenSet = true;
80 m_responseMetadata = std::forward<ResponseMetadataT>(value);
81 }
82 template <typename ResponseMetadataT = ResponseMetadata>
84 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
85 return *this;
86 }
88 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
89
90 private:
91 Aws::String m_marker;
92
93 Aws::Vector<Association> m_associations;
94
95 ResponseMetadata m_responseMetadata;
96 Aws::Http::HttpResponseCode m_HttpResponseCode;
97 bool m_markerHasBeenSet = false;
98 bool m_associationsHasBeenSet = false;
99 bool m_responseMetadataHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Redshift
104} // namespace Aws
AWS_REDSHIFT_API DescribeCustomDomainAssociationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCustomDomainAssociationsResult & AddAssociations(AssociationsT &&value)
AWS_REDSHIFT_API DescribeCustomDomainAssociationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeCustomDomainAssociationsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeCustomDomainAssociationsResult & WithAssociations(AssociationsT &&value)
DescribeCustomDomainAssociationsResult & WithMarker(MarkerT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument