AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeElasticsearchInstanceTypeLimitsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/es/model/Limits.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace ElasticsearchService
26 {
27 namespace Model
28 {
37  {
38  public:
42 
43 
44 
45  inline const Aws::Map<Aws::String, Limits>& GetLimitsByRole() const{ return m_limitsByRole; }
46 
47 
48  inline void SetLimitsByRole(const Aws::Map<Aws::String, Limits>& value) { m_limitsByRole = value; }
49 
50 
51  inline void SetLimitsByRole(Aws::Map<Aws::String, Limits>&& value) { m_limitsByRole = std::move(value); }
52 
53 
54  inline DescribeElasticsearchInstanceTypeLimitsResult& WithLimitsByRole(const Aws::Map<Aws::String, Limits>& value) { SetLimitsByRole(value); return *this;}
55 
56 
57  inline DescribeElasticsearchInstanceTypeLimitsResult& WithLimitsByRole(Aws::Map<Aws::String, Limits>&& value) { SetLimitsByRole(std::move(value)); return *this;}
58 
59 
60  inline DescribeElasticsearchInstanceTypeLimitsResult& AddLimitsByRole(const Aws::String& key, const Limits& value) { m_limitsByRole.emplace(key, value); return *this; }
61 
62 
63  inline DescribeElasticsearchInstanceTypeLimitsResult& AddLimitsByRole(Aws::String&& key, const Limits& value) { m_limitsByRole.emplace(std::move(key), value); return *this; }
64 
65 
66  inline DescribeElasticsearchInstanceTypeLimitsResult& AddLimitsByRole(const Aws::String& key, Limits&& value) { m_limitsByRole.emplace(key, std::move(value)); return *this; }
67 
68 
69  inline DescribeElasticsearchInstanceTypeLimitsResult& AddLimitsByRole(Aws::String&& key, Limits&& value) { m_limitsByRole.emplace(std::move(key), std::move(value)); return *this; }
70 
71 
72  inline DescribeElasticsearchInstanceTypeLimitsResult& AddLimitsByRole(const char* key, Limits&& value) { m_limitsByRole.emplace(key, std::move(value)); return *this; }
73 
74 
75  inline DescribeElasticsearchInstanceTypeLimitsResult& AddLimitsByRole(const char* key, const Limits& value) { m_limitsByRole.emplace(key, value); return *this; }
76 
77  private:
78 
79  Aws::Map<Aws::String, Limits> m_limitsByRole;
80  };
81 
82 } // namespace Model
83 } // namespace ElasticsearchService
84 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Limits.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::SetLimitsByRole
void SetLimitsByRole(const Aws::Map< Aws::String, Limits > &value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:48
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::DescribeElasticsearchInstanceTypeLimitsResult
DescribeElasticsearchInstanceTypeLimitsResult()
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::AddLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & AddLimitsByRole(const char *key, Limits &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:72
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::AddLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & AddLimitsByRole(const Aws::String &key, const Limits &value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:60
Aws::ElasticsearchService::Model::Limits
Definition: Limits.h:38
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::WithLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & WithLimitsByRole(const Aws::Map< Aws::String, Limits > &value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:54
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::WithLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & WithLimitsByRole(Aws::Map< Aws::String, Limits > &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:57
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::AddLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & AddLimitsByRole(const Aws::String &key, Limits &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:66
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::AddLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & AddLimitsByRole(const char *key, const Limits &value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:75
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::AddLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & AddLimitsByRole(Aws::String &&key, Limits &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:69
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::AddLimitsByRole
DescribeElasticsearchInstanceTypeLimitsResult & AddLimitsByRole(Aws::String &&key, const Limits &value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:63
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::operator=
DescribeElasticsearchInstanceTypeLimitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::GetLimitsByRole
const Aws::Map< Aws::String, Limits > & GetLimitsByRole() const
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:45
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::DescribeElasticsearchInstanceTypeLimitsResult
DescribeElasticsearchInstanceTypeLimitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult::SetLimitsByRole
void SetLimitsByRole(Aws::Map< Aws::String, Limits > &&value)
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWSMap.h
Aws::ElasticsearchService::Model::DescribeElasticsearchInstanceTypeLimitsResult
Definition: DescribeElasticsearchInstanceTypeLimitsResult.h:37
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19