AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountGateResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/cloudformation/model/AccountGateStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFormation
23{
24namespace Model
25{
26
44 {
45 public:
46 AWS_CLOUDFORMATION_API AccountGateResult();
47 AWS_CLOUDFORMATION_API AccountGateResult(const Aws::Utils::Xml::XmlNode& xmlNode);
48 AWS_CLOUDFORMATION_API AccountGateResult& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
49
50 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
51 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
52
53
55
77 inline const AccountGateStatus& GetStatus() const{ return m_status; }
78 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
79 inline void SetStatus(const AccountGateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
80 inline void SetStatus(AccountGateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
81 inline AccountGateResult& WithStatus(const AccountGateStatus& value) { SetStatus(value); return *this;}
82 inline AccountGateResult& WithStatus(AccountGateStatus&& value) { SetStatus(std::move(value)); return *this;}
84
86
90 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
91 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
92 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
93 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
94 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
95 inline AccountGateResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
96 inline AccountGateResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
97 inline AccountGateResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
99 private:
100
101 AccountGateStatus m_status;
102 bool m_statusHasBeenSet = false;
103
104 Aws::String m_statusReason;
105 bool m_statusReasonHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace CloudFormation
110} // namespace Aws
AccountGateResult & WithStatus(const AccountGateStatus &value)
AccountGateResult & WithStatus(AccountGateStatus &&value)
void SetStatus(const AccountGateStatus &value)
AccountGateResult & WithStatusReason(const Aws::String &value)
void SetStatus(AccountGateStatus &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccountGateResult & WithStatusReason(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const AccountGateStatus & GetStatus() const
AWS_CLOUDFORMATION_API AccountGateResult & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccountGateResult & WithStatusReason(Aws::String &&value)
void SetStatusReason(const Aws::String &value)
AWS_CLOUDFORMATION_API AccountGateResult(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream