AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeAccountLimitsResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/ResponseMetadata.h>
11#include <aws/cloudformation/model/AccountLimit.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace CloudFormation
27{
28namespace Model
29{
37 {
38 public:
39 AWS_CLOUDFORMATION_API DescribeAccountLimitsResult() = default;
42
43
45
49 inline const Aws::Vector<AccountLimit>& GetAccountLimits() const { return m_accountLimits; }
50 template<typename AccountLimitsT = Aws::Vector<AccountLimit>>
51 void SetAccountLimits(AccountLimitsT&& value) { m_accountLimitsHasBeenSet = true; m_accountLimits = std::forward<AccountLimitsT>(value); }
52 template<typename AccountLimitsT = Aws::Vector<AccountLimit>>
53 DescribeAccountLimitsResult& WithAccountLimits(AccountLimitsT&& value) { SetAccountLimits(std::forward<AccountLimitsT>(value)); return *this;}
54 template<typename AccountLimitsT = AccountLimit>
55 DescribeAccountLimitsResult& AddAccountLimits(AccountLimitsT&& value) { m_accountLimitsHasBeenSet = true; m_accountLimits.emplace_back(std::forward<AccountLimitsT>(value)); return *this; }
57
59
63 inline const Aws::String& GetNextToken() const { return m_nextToken; }
64 template<typename NextTokenT = Aws::String>
65 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
66 template<typename NextTokenT = Aws::String>
67 DescribeAccountLimitsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
69
71
72 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
73 template<typename ResponseMetadataT = ResponseMetadata>
74 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
75 template<typename ResponseMetadataT = ResponseMetadata>
76 DescribeAccountLimitsResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
78 private:
79
80 Aws::Vector<AccountLimit> m_accountLimits;
81 bool m_accountLimitsHasBeenSet = false;
82
83 Aws::String m_nextToken;
84 bool m_nextTokenHasBeenSet = false;
85
86 ResponseMetadata m_responseMetadata;
87 bool m_responseMetadataHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CloudFormation
92} // namespace Aws
DescribeAccountLimitsResult & WithNextToken(NextTokenT &&value)
DescribeAccountLimitsResult & AddAccountLimits(AccountLimitsT &&value)
AWS_CLOUDFORMATION_API DescribeAccountLimitsResult()=default
const Aws::Vector< AccountLimit > & GetAccountLimits() const
AWS_CLOUDFORMATION_API DescribeAccountLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeAccountLimitsResult & WithAccountLimits(AccountLimitsT &&value)
AWS_CLOUDFORMATION_API DescribeAccountLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeAccountLimitsResult & WithResponseMetadata(ResponseMetadataT &&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