AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Limits.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace CloudSearch
20{
21namespace Model
22{
23
24 class Limits
25 {
26 public:
27 AWS_CLOUDSEARCH_API Limits();
28 AWS_CLOUDSEARCH_API Limits(const Aws::Utils::Xml::XmlNode& xmlNode);
29 AWS_CLOUDSEARCH_API Limits& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
30
31 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
32 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
33
34
36
37 inline int GetMaximumReplicationCount() const{ return m_maximumReplicationCount; }
38 inline bool MaximumReplicationCountHasBeenSet() const { return m_maximumReplicationCountHasBeenSet; }
39 inline void SetMaximumReplicationCount(int value) { m_maximumReplicationCountHasBeenSet = true; m_maximumReplicationCount = value; }
40 inline Limits& WithMaximumReplicationCount(int value) { SetMaximumReplicationCount(value); return *this;}
42
44
45 inline int GetMaximumPartitionCount() const{ return m_maximumPartitionCount; }
46 inline bool MaximumPartitionCountHasBeenSet() const { return m_maximumPartitionCountHasBeenSet; }
47 inline void SetMaximumPartitionCount(int value) { m_maximumPartitionCountHasBeenSet = true; m_maximumPartitionCount = value; }
48 inline Limits& WithMaximumPartitionCount(int value) { SetMaximumPartitionCount(value); return *this;}
50 private:
51
52 int m_maximumReplicationCount;
53 bool m_maximumReplicationCountHasBeenSet = false;
54
55 int m_maximumPartitionCount;
56 bool m_maximumPartitionCountHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace CloudSearch
61} // namespace Aws
int GetMaximumPartitionCount() const
Definition Limits.h:45
int GetMaximumReplicationCount() const
Definition Limits.h:37
AWS_CLOUDSEARCH_API Limits()
Limits & WithMaximumPartitionCount(int value)
Definition Limits.h:48
void SetMaximumReplicationCount(int value)
Definition Limits.h:39
bool MaximumReplicationCountHasBeenSet() const
Definition Limits.h:38
AWS_CLOUDSEARCH_API Limits(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MaximumPartitionCountHasBeenSet() const
Definition Limits.h:46
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDSEARCH_API Limits & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Limits & WithMaximumReplicationCount(int value)
Definition Limits.h:40
void SetMaximumPartitionCount(int value)
Definition Limits.h:47
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream