AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AdditionalLimit.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API AdditionalLimit();
37 AWS_ELASTICSEARCHSERVICE_API AdditionalLimit(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API AdditionalLimit& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
54 inline const Aws::String& GetLimitName() const{ return m_limitName; }
55 inline bool LimitNameHasBeenSet() const { return m_limitNameHasBeenSet; }
56 inline void SetLimitName(const Aws::String& value) { m_limitNameHasBeenSet = true; m_limitName = value; }
57 inline void SetLimitName(Aws::String&& value) { m_limitNameHasBeenSet = true; m_limitName = std::move(value); }
58 inline void SetLimitName(const char* value) { m_limitNameHasBeenSet = true; m_limitName.assign(value); }
59 inline AdditionalLimit& WithLimitName(const Aws::String& value) { SetLimitName(value); return *this;}
60 inline AdditionalLimit& WithLimitName(Aws::String&& value) { SetLimitName(std::move(value)); return *this;}
61 inline AdditionalLimit& WithLimitName(const char* value) { SetLimitName(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetLimitValues() const{ return m_limitValues; }
69 inline bool LimitValuesHasBeenSet() const { return m_limitValuesHasBeenSet; }
70 inline void SetLimitValues(const Aws::Vector<Aws::String>& value) { m_limitValuesHasBeenSet = true; m_limitValues = value; }
71 inline void SetLimitValues(Aws::Vector<Aws::String>&& value) { m_limitValuesHasBeenSet = true; m_limitValues = std::move(value); }
72 inline AdditionalLimit& WithLimitValues(const Aws::Vector<Aws::String>& value) { SetLimitValues(value); return *this;}
73 inline AdditionalLimit& WithLimitValues(Aws::Vector<Aws::String>&& value) { SetLimitValues(std::move(value)); return *this;}
74 inline AdditionalLimit& AddLimitValues(const Aws::String& value) { m_limitValuesHasBeenSet = true; m_limitValues.push_back(value); return *this; }
75 inline AdditionalLimit& AddLimitValues(Aws::String&& value) { m_limitValuesHasBeenSet = true; m_limitValues.push_back(std::move(value)); return *this; }
76 inline AdditionalLimit& AddLimitValues(const char* value) { m_limitValuesHasBeenSet = true; m_limitValues.push_back(value); return *this; }
78 private:
79
80 Aws::String m_limitName;
81 bool m_limitNameHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_limitValues;
84 bool m_limitValuesHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace ElasticsearchService
89} // namespace Aws
void SetLimitValues(const Aws::Vector< Aws::String > &value)
AdditionalLimit & WithLimitName(Aws::String &&value)
AdditionalLimit & AddLimitValues(Aws::String &&value)
AdditionalLimit & WithLimitValues(const Aws::Vector< Aws::String > &value)
AWS_ELASTICSEARCHSERVICE_API AdditionalLimit()
AWS_ELASTICSEARCHSERVICE_API AdditionalLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLimitValues(Aws::Vector< Aws::String > &&value)
AWS_ELASTICSEARCHSERVICE_API AdditionalLimit(Aws::Utils::Json::JsonView jsonValue)
AdditionalLimit & AddLimitValues(const Aws::String &value)
AdditionalLimit & WithLimitValues(Aws::Vector< Aws::String > &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetLimitValues() const
AdditionalLimit & AddLimitValues(const char *value)
AdditionalLimit & WithLimitName(const Aws::String &value)
AdditionalLimit & WithLimitName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue