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/ResponseMetadata.h>
12#include <aws/redshift/model/Tag.h>
13#include <aws/redshift/model/UsageLimitBreachAction.h>
14#include <aws/redshift/model/UsageLimitFeatureType.h>
15#include <aws/redshift/model/UsageLimitLimitType.h>
16#include <aws/redshift/model/UsageLimitPeriod.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
47 template <
typename UsageLimitIdT = Aws::String>
49 m_usageLimitIdHasBeenSet =
true;
50 m_usageLimitId = std::forward<UsageLimitIdT>(value);
52 template <
typename UsageLimitIdT = Aws::String>
64 template <
typename ClusterIdentifierT = Aws::String>
66 m_clusterIdentifierHasBeenSet =
true;
67 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
69 template <
typename ClusterIdentifierT = Aws::String>
82 m_featureTypeHasBeenSet =
true;
83 m_featureType = value;
98 m_limitTypeHasBeenSet =
true;
114 m_amountHasBeenSet =
true;
130 m_periodHasBeenSet =
true;
149 m_breachActionHasBeenSet =
true;
150 m_breachAction = value;
163 template <
typename TagsT = Aws::Vector<Tag>>
165 m_tagsHasBeenSet =
true;
166 m_tags = std::forward<TagsT>(value);
168 template <
typename TagsT = Aws::Vector<Tag>>
170 SetTags(std::forward<TagsT>(value));
173 template <
typename TagsT = Tag>
175 m_tagsHasBeenSet =
true;
176 m_tags.emplace_back(std::forward<TagsT>(value));
184 template <
typename ResponseMetadataT = ResponseMetadata>
186 m_responseMetadataHasBeenSet =
true;
187 m_responseMetadata = std::forward<ResponseMetadataT>(value);
189 template <
typename ResponseMetadataT = ResponseMetadata>
206 long long m_amount{0};
214 ResponseMetadata m_responseMetadata;
216 bool m_usageLimitIdHasBeenSet =
false;
217 bool m_clusterIdentifierHasBeenSet =
false;
218 bool m_featureTypeHasBeenSet =
false;
219 bool m_limitTypeHasBeenSet =
false;
220 bool m_amountHasBeenSet =
false;
221 bool m_periodHasBeenSet =
false;
222 bool m_breachActionHasBeenSet =
false;
223 bool m_tagsHasBeenSet =
false;
224 bool m_responseMetadataHasBeenSet =
false;
UsageLimitLimitType GetLimitType() const
void SetBreachAction(UsageLimitBreachAction value)
void SetUsageLimitId(UsageLimitIdT &&value)
CreateUsageLimitResult & WithClusterIdentifier(ClusterIdentifierT &&value)
AWS_REDSHIFT_API CreateUsageLimitResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateUsageLimitResult & WithFeatureType(UsageLimitFeatureType value)
CreateUsageLimitResult & WithResponseMetadata(ResponseMetadataT &&value)
CreateUsageLimitResult & WithTags(TagsT &&value)
void SetAmount(long long value)
const ResponseMetadata & GetResponseMetadata() const
CreateUsageLimitResult & WithBreachAction(UsageLimitBreachAction value)
void SetTags(TagsT &&value)
void SetLimitType(UsageLimitLimitType value)
void SetResponseMetadata(ResponseMetadataT &&value)
UsageLimitFeatureType GetFeatureType() const
UsageLimitPeriod GetPeriod() const
CreateUsageLimitResult & WithLimitType(UsageLimitLimitType value)
AWS_REDSHIFT_API CreateUsageLimitResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::String & GetClusterIdentifier() const
AWS_REDSHIFT_API CreateUsageLimitResult()=default
void SetClusterIdentifier(ClusterIdentifierT &&value)
long long GetAmount() const
UsageLimitBreachAction GetBreachAction() const
CreateUsageLimitResult & AddTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateUsageLimitResult & WithAmount(long long value)
const Aws::Vector< Tag > & GetTags() const
CreateUsageLimitResult & WithUsageLimitId(UsageLimitIdT &&value)
const Aws::String & GetUsageLimitId() const
CreateUsageLimitResult & WithPeriod(UsageLimitPeriod value)
void SetPeriod(UsageLimitPeriod value)
void SetFeatureType(UsageLimitFeatureType 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