AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountLimit.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFormation
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_CLOUDFORMATION_API AccountLimit();
42 AWS_CLOUDFORMATION_API AccountLimit(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_CLOUDFORMATION_API AccountLimit& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline AccountLimit& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline AccountLimit& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline AccountLimit& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline int GetValue() const{ return m_value; }
70 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
71 inline void SetValue(int value) { m_valueHasBeenSet = true; m_value = value; }
72 inline AccountLimit& WithValue(int value) { SetValue(value); return *this;}
74 private:
75
76 Aws::String m_name;
77 bool m_nameHasBeenSet = false;
78
79 int m_value;
80 bool m_valueHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace CloudFormation
85} // namespace Aws
AWS_CLOUDFORMATION_API AccountLimit & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(Aws::String &&value)
AccountLimit & WithName(Aws::String &&value)
AccountLimit & WithName(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetName() const
AccountLimit & WithValue(int value)
AWS_CLOUDFORMATION_API AccountLimit(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccountLimit & WithName(const Aws::String &value)
void SetName(const Aws::String &value)
AWS_CLOUDFORMATION_API AccountLimit()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream