AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StackSetOperationResultSummary.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 <aws/cloudformation/model/StackSetOperationResultStatus.h>
11#include <aws/cloudformation/model/AccountGateResult.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFormation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLOUDFORMATION_API StackSetOperationResultSummary();
38 AWS_CLOUDFORMATION_API StackSetOperationResultSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFORMATION_API StackSetOperationResultSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetAccount() const{ return m_account; }
51 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
52 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
53 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
54 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
55 inline StackSetOperationResultSummary& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
56 inline StackSetOperationResultSummary& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
57 inline StackSetOperationResultSummary& WithAccount(const char* value) { SetAccount(value); return *this;}
59
61
64 inline const Aws::String& GetRegion() const{ return m_region; }
65 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
66 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
67 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
68 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
69 inline StackSetOperationResultSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
70 inline StackSetOperationResultSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
71 inline StackSetOperationResultSummary& WithRegion(const char* value) { SetRegion(value); return *this;}
73
75
90 inline const StackSetOperationResultStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const StackSetOperationResultStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(StackSetOperationResultStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline StackSetOperationResultSummary& WithStatus(StackSetOperationResultStatus&& value) { SetStatus(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
103 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
104 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
105 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
106 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
107 inline StackSetOperationResultSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
108 inline StackSetOperationResultSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
109 inline StackSetOperationResultSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
111
113
117 inline const AccountGateResult& GetAccountGateResult() const{ return m_accountGateResult; }
118 inline bool AccountGateResultHasBeenSet() const { return m_accountGateResultHasBeenSet; }
119 inline void SetAccountGateResult(const AccountGateResult& value) { m_accountGateResultHasBeenSet = true; m_accountGateResult = value; }
120 inline void SetAccountGateResult(AccountGateResult&& value) { m_accountGateResultHasBeenSet = true; m_accountGateResult = std::move(value); }
124
126
131 inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; }
132 inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; }
133 inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; }
134 inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); }
135 inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); }
138 inline StackSetOperationResultSummary& WithOrganizationalUnitId(const char* value) { SetOrganizationalUnitId(value); return *this;}
140 private:
141
142 Aws::String m_account;
143 bool m_accountHasBeenSet = false;
144
145 Aws::String m_region;
146 bool m_regionHasBeenSet = false;
147
149 bool m_statusHasBeenSet = false;
150
151 Aws::String m_statusReason;
152 bool m_statusReasonHasBeenSet = false;
153
154 AccountGateResult m_accountGateResult;
155 bool m_accountGateResultHasBeenSet = false;
156
157 Aws::String m_organizationalUnitId;
158 bool m_organizationalUnitIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace CloudFormation
163} // namespace Aws
StackSetOperationResultSummary & WithStatus(StackSetOperationResultStatus &&value)
StackSetOperationResultSummary & WithStatusReason(const char *value)
StackSetOperationResultSummary & WithAccount(Aws::String &&value)
StackSetOperationResultSummary & WithRegion(const Aws::String &value)
AWS_CLOUDFORMATION_API StackSetOperationResultSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
StackSetOperationResultSummary & WithOrganizationalUnitId(Aws::String &&value)
StackSetOperationResultSummary & WithStatusReason(const Aws::String &value)
StackSetOperationResultSummary & WithAccountGateResult(const AccountGateResult &value)
StackSetOperationResultSummary & WithAccount(const char *value)
AWS_CLOUDFORMATION_API StackSetOperationResultSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StackSetOperationResultSummary & WithStatus(const StackSetOperationResultStatus &value)
StackSetOperationResultSummary & WithRegion(const char *value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
StackSetOperationResultSummary & WithAccount(const Aws::String &value)
StackSetOperationResultSummary & WithAccountGateResult(AccountGateResult &&value)
StackSetOperationResultSummary & WithOrganizationalUnitId(const char *value)
StackSetOperationResultSummary & WithRegion(Aws::String &&value)
StackSetOperationResultSummary & WithOrganizationalUnitId(const Aws::String &value)
StackSetOperationResultSummary & WithStatusReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream