AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DescribeUsageLimitsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/UsageLimit.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift {
25namespace Model {
27 public:
28 AWS_REDSHIFT_API DescribeUsageLimitsResult() = default;
31
33
36 inline const Aws::Vector<UsageLimit>& GetUsageLimits() const { return m_usageLimits; }
37 template <typename UsageLimitsT = Aws::Vector<UsageLimit>>
38 void SetUsageLimits(UsageLimitsT&& value) {
39 m_usageLimitsHasBeenSet = true;
40 m_usageLimits = std::forward<UsageLimitsT>(value);
41 }
42 template <typename UsageLimitsT = Aws::Vector<UsageLimit>>
44 SetUsageLimits(std::forward<UsageLimitsT>(value));
45 return *this;
46 }
47 template <typename UsageLimitsT = UsageLimit>
49 m_usageLimitsHasBeenSet = true;
50 m_usageLimits.emplace_back(std::forward<UsageLimitsT>(value));
51 return *this;
52 }
54
56
64 inline const Aws::String& GetMarker() const { return m_marker; }
65 template <typename MarkerT = Aws::String>
66 void SetMarker(MarkerT&& value) {
67 m_markerHasBeenSet = true;
68 m_marker = std::forward<MarkerT>(value);
69 }
70 template <typename MarkerT = Aws::String>
72 SetMarker(std::forward<MarkerT>(value));
73 return *this;
74 }
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
80 template <typename ResponseMetadataT = ResponseMetadata>
81 void SetResponseMetadata(ResponseMetadataT&& value) {
82 m_responseMetadataHasBeenSet = true;
83 m_responseMetadata = std::forward<ResponseMetadataT>(value);
84 }
85 template <typename ResponseMetadataT = ResponseMetadata>
86 DescribeUsageLimitsResult& WithResponseMetadata(ResponseMetadataT&& value) {
87 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
88 return *this;
89 }
91 private:
92 Aws::Vector<UsageLimit> m_usageLimits;
93
94 Aws::String m_marker;
95
96 ResponseMetadata m_responseMetadata;
97 bool m_usageLimitsHasBeenSet = false;
98 bool m_markerHasBeenSet = false;
99 bool m_responseMetadataHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Redshift
104} // namespace Aws
AWS_REDSHIFT_API DescribeUsageLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeUsageLimitsResult & WithUsageLimits(UsageLimitsT &&value)
DescribeUsageLimitsResult & AddUsageLimits(UsageLimitsT &&value)
const Aws::Vector< UsageLimit > & GetUsageLimits() const
AWS_REDSHIFT_API DescribeUsageLimitsResult()=default
AWS_REDSHIFT_API DescribeUsageLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeUsageLimitsResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeUsageLimitsResult & 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