AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HookResultSummary.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/HookInvocationPoint.h>
10#include <aws/cloudformation/model/HookFailureMode.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/cloudformation/model/HookStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace CloudFormation
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CLOUDFORMATION_API HookResultSummary() = default;
39 AWS_CLOUDFORMATION_API HookResultSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFORMATION_API HookResultSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline HookInvocationPoint GetInvocationPoint() const { return m_invocationPoint; }
51 inline bool InvocationPointHasBeenSet() const { return m_invocationPointHasBeenSet; }
52 inline void SetInvocationPoint(HookInvocationPoint value) { m_invocationPointHasBeenSet = true; m_invocationPoint = value; }
55
57
64 inline HookFailureMode GetFailureMode() const { return m_failureMode; }
65 inline bool FailureModeHasBeenSet() const { return m_failureModeHasBeenSet; }
66 inline void SetFailureMode(HookFailureMode value) { m_failureModeHasBeenSet = true; m_failureMode = value; }
67 inline HookResultSummary& WithFailureMode(HookFailureMode value) { SetFailureMode(value); return *this;}
69
71
74 inline const Aws::String& GetTypeName() const { return m_typeName; }
75 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
76 template<typename TypeNameT = Aws::String>
77 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
78 template<typename TypeNameT = Aws::String>
79 HookResultSummary& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
81
83
86 inline const Aws::String& GetTypeVersionId() const { return m_typeVersionId; }
87 inline bool TypeVersionIdHasBeenSet() const { return m_typeVersionIdHasBeenSet; }
88 template<typename TypeVersionIdT = Aws::String>
89 void SetTypeVersionId(TypeVersionIdT&& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = std::forward<TypeVersionIdT>(value); }
90 template<typename TypeVersionIdT = Aws::String>
91 HookResultSummary& WithTypeVersionId(TypeVersionIdT&& value) { SetTypeVersionId(std::forward<TypeVersionIdT>(value)); return *this;}
93
95
98 inline const Aws::String& GetTypeConfigurationVersionId() const { return m_typeConfigurationVersionId; }
99 inline bool TypeConfigurationVersionIdHasBeenSet() const { return m_typeConfigurationVersionIdHasBeenSet; }
100 template<typename TypeConfigurationVersionIdT = Aws::String>
101 void SetTypeConfigurationVersionId(TypeConfigurationVersionIdT&& value) { m_typeConfigurationVersionIdHasBeenSet = true; m_typeConfigurationVersionId = std::forward<TypeConfigurationVersionIdT>(value); }
102 template<typename TypeConfigurationVersionIdT = Aws::String>
103 HookResultSummary& WithTypeConfigurationVersionId(TypeConfigurationVersionIdT&& value) { SetTypeConfigurationVersionId(std::forward<TypeConfigurationVersionIdT>(value)); return *this;}
105
107
110 inline HookStatus GetStatus() const { return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(HookStatus value) { m_statusHasBeenSet = true; m_status = value; }
113 inline HookResultSummary& WithStatus(HookStatus value) { SetStatus(value); return *this;}
115
117
122 inline const Aws::String& GetHookStatusReason() const { return m_hookStatusReason; }
123 inline bool HookStatusReasonHasBeenSet() const { return m_hookStatusReasonHasBeenSet; }
124 template<typename HookStatusReasonT = Aws::String>
125 void SetHookStatusReason(HookStatusReasonT&& value) { m_hookStatusReasonHasBeenSet = true; m_hookStatusReason = std::forward<HookStatusReasonT>(value); }
126 template<typename HookStatusReasonT = Aws::String>
127 HookResultSummary& WithHookStatusReason(HookStatusReasonT&& value) { SetHookStatusReason(std::forward<HookStatusReasonT>(value)); return *this;}
129 private:
130
132 bool m_invocationPointHasBeenSet = false;
133
135 bool m_failureModeHasBeenSet = false;
136
137 Aws::String m_typeName;
138 bool m_typeNameHasBeenSet = false;
139
140 Aws::String m_typeVersionId;
141 bool m_typeVersionIdHasBeenSet = false;
142
143 Aws::String m_typeConfigurationVersionId;
144 bool m_typeConfigurationVersionIdHasBeenSet = false;
145
147 bool m_statusHasBeenSet = false;
148
149 Aws::String m_hookStatusReason;
150 bool m_hookStatusReasonHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace CloudFormation
155} // namespace Aws
const Aws::String & GetTypeConfigurationVersionId() const
AWS_CLOUDFORMATION_API HookResultSummary()=default
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
HookResultSummary & WithHookStatusReason(HookStatusReasonT &&value)
AWS_CLOUDFORMATION_API HookResultSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHookStatusReason(HookStatusReasonT &&value)
void SetInvocationPoint(HookInvocationPoint value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
HookResultSummary & WithTypeName(TypeNameT &&value)
HookResultSummary & WithTypeVersionId(TypeVersionIdT &&value)
HookResultSummary & WithStatus(HookStatus value)
void SetTypeConfigurationVersionId(TypeConfigurationVersionIdT &&value)
AWS_CLOUDFORMATION_API HookResultSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HookResultSummary & WithFailureMode(HookFailureMode value)
HookResultSummary & WithInvocationPoint(HookInvocationPoint value)
HookResultSummary & WithTypeConfigurationVersionId(TypeConfigurationVersionIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream