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/opensearch/OpenSearchService_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 OpenSearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_OPENSEARCHSERVICE_API AdditionalLimit();
37 AWS_OPENSEARCHSERVICE_API AdditionalLimit(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OPENSEARCHSERVICE_API AdditionalLimit& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const Aws::String& GetLimitName() const{ return m_limitName; }
52 inline bool LimitNameHasBeenSet() const { return m_limitNameHasBeenSet; }
53 inline void SetLimitName(const Aws::String& value) { m_limitNameHasBeenSet = true; m_limitName = value; }
54 inline void SetLimitName(Aws::String&& value) { m_limitNameHasBeenSet = true; m_limitName = std::move(value); }
55 inline void SetLimitName(const char* value) { m_limitNameHasBeenSet = true; m_limitName.assign(value); }
56 inline AdditionalLimit& WithLimitName(const Aws::String& value) { SetLimitName(value); return *this;}
57 inline AdditionalLimit& WithLimitName(Aws::String&& value) { SetLimitName(std::move(value)); return *this;}
58 inline AdditionalLimit& WithLimitName(const char* value) { SetLimitName(value); return *this;}
60
62
65 inline const Aws::Vector<Aws::String>& GetLimitValues() const{ return m_limitValues; }
66 inline bool LimitValuesHasBeenSet() const { return m_limitValuesHasBeenSet; }
67 inline void SetLimitValues(const Aws::Vector<Aws::String>& value) { m_limitValuesHasBeenSet = true; m_limitValues = value; }
68 inline void SetLimitValues(Aws::Vector<Aws::String>&& value) { m_limitValuesHasBeenSet = true; m_limitValues = std::move(value); }
69 inline AdditionalLimit& WithLimitValues(const Aws::Vector<Aws::String>& value) { SetLimitValues(value); return *this;}
70 inline AdditionalLimit& WithLimitValues(Aws::Vector<Aws::String>&& value) { SetLimitValues(std::move(value)); return *this;}
71 inline AdditionalLimit& AddLimitValues(const Aws::String& value) { m_limitValuesHasBeenSet = true; m_limitValues.push_back(value); return *this; }
72 inline AdditionalLimit& AddLimitValues(Aws::String&& value) { m_limitValuesHasBeenSet = true; m_limitValues.push_back(std::move(value)); return *this; }
73 inline AdditionalLimit& AddLimitValues(const char* value) { m_limitValuesHasBeenSet = true; m_limitValues.push_back(value); return *this; }
75 private:
76
77 Aws::String m_limitName;
78 bool m_limitNameHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_limitValues;
81 bool m_limitValuesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace OpenSearchService
86} // namespace Aws
AdditionalLimit & AddLimitValues(Aws::String &&value)
AdditionalLimit & WithLimitName(const char *value)
AWS_OPENSEARCHSERVICE_API AdditionalLimit & operator=(Aws::Utils::Json::JsonView jsonValue)
AdditionalLimit & WithLimitValues(const Aws::Vector< Aws::String > &value)
AdditionalLimit & WithLimitName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetLimitValues() const
AWS_OPENSEARCHSERVICE_API AdditionalLimit(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API AdditionalLimit()
AdditionalLimit & AddLimitValues(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AdditionalLimit & WithLimitValues(Aws::Vector< Aws::String > &&value)
void SetLimitName(const Aws::String &value)
AdditionalLimit & AddLimitValues(const char *value)
AdditionalLimit & WithLimitName(const Aws::String &value)
void SetLimitValues(const Aws::Vector< Aws::String > &value)
void SetLimitValues(Aws::Vector< Aws::String > &&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