AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChangeSetHook.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/ChangeSetHookTargetDetails.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 ChangeSetHook() = default;
39 AWS_CLOUDFORMATION_API ChangeSetHook(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_CLOUDFORMATION_API ChangeSetHook& 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
63 inline HookFailureMode GetFailureMode() const { return m_failureMode; }
64 inline bool FailureModeHasBeenSet() const { return m_failureModeHasBeenSet; }
65 inline void SetFailureMode(HookFailureMode value) { m_failureModeHasBeenSet = true; m_failureMode = value; }
66 inline ChangeSetHook& WithFailureMode(HookFailureMode value) { SetFailureMode(value); return *this;}
68
70
81 inline const Aws::String& GetTypeName() const { return m_typeName; }
82 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
83 template<typename TypeNameT = Aws::String>
84 void SetTypeName(TypeNameT&& value) { m_typeNameHasBeenSet = true; m_typeName = std::forward<TypeNameT>(value); }
85 template<typename TypeNameT = Aws::String>
86 ChangeSetHook& WithTypeName(TypeNameT&& value) { SetTypeName(std::forward<TypeNameT>(value)); return *this;}
88
90
93 inline const Aws::String& GetTypeVersionId() const { return m_typeVersionId; }
94 inline bool TypeVersionIdHasBeenSet() const { return m_typeVersionIdHasBeenSet; }
95 template<typename TypeVersionIdT = Aws::String>
96 void SetTypeVersionId(TypeVersionIdT&& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = std::forward<TypeVersionIdT>(value); }
97 template<typename TypeVersionIdT = Aws::String>
98 ChangeSetHook& WithTypeVersionId(TypeVersionIdT&& value) { SetTypeVersionId(std::forward<TypeVersionIdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetTypeConfigurationVersionId() const { return m_typeConfigurationVersionId; }
106 inline bool TypeConfigurationVersionIdHasBeenSet() const { return m_typeConfigurationVersionIdHasBeenSet; }
107 template<typename TypeConfigurationVersionIdT = Aws::String>
108 void SetTypeConfigurationVersionId(TypeConfigurationVersionIdT&& value) { m_typeConfigurationVersionIdHasBeenSet = true; m_typeConfigurationVersionId = std::forward<TypeConfigurationVersionIdT>(value); }
109 template<typename TypeConfigurationVersionIdT = Aws::String>
110 ChangeSetHook& WithTypeConfigurationVersionId(TypeConfigurationVersionIdT&& value) { SetTypeConfigurationVersionId(std::forward<TypeConfigurationVersionIdT>(value)); return *this;}
112
114
117 inline const ChangeSetHookTargetDetails& GetTargetDetails() const { return m_targetDetails; }
118 inline bool TargetDetailsHasBeenSet() const { return m_targetDetailsHasBeenSet; }
119 template<typename TargetDetailsT = ChangeSetHookTargetDetails>
120 void SetTargetDetails(TargetDetailsT&& value) { m_targetDetailsHasBeenSet = true; m_targetDetails = std::forward<TargetDetailsT>(value); }
121 template<typename TargetDetailsT = ChangeSetHookTargetDetails>
122 ChangeSetHook& WithTargetDetails(TargetDetailsT&& value) { SetTargetDetails(std::forward<TargetDetailsT>(value)); return *this;}
124 private:
125
127 bool m_invocationPointHasBeenSet = false;
128
130 bool m_failureModeHasBeenSet = false;
131
132 Aws::String m_typeName;
133 bool m_typeNameHasBeenSet = false;
134
135 Aws::String m_typeVersionId;
136 bool m_typeVersionIdHasBeenSet = false;
137
138 Aws::String m_typeConfigurationVersionId;
139 bool m_typeConfigurationVersionIdHasBeenSet = false;
140
141 ChangeSetHookTargetDetails m_targetDetails;
142 bool m_targetDetailsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace CloudFormation
147} // namespace Aws
AWS_CLOUDFORMATION_API ChangeSetHook & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetTypeVersionId() const
ChangeSetHook & WithTypeName(TypeNameT &&value)
void SetTargetDetails(TargetDetailsT &&value)
ChangeSetHook & WithTypeConfigurationVersionId(TypeConfigurationVersionIdT &&value)
void SetFailureMode(HookFailureMode value)
const ChangeSetHookTargetDetails & GetTargetDetails() const
AWS_CLOUDFORMATION_API ChangeSetHook()=default
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTypeConfigurationVersionId(TypeConfigurationVersionIdT &&value)
ChangeSetHook & WithTypeVersionId(TypeVersionIdT &&value)
ChangeSetHook & WithTargetDetails(TargetDetailsT &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInvocationPoint(HookInvocationPoint value)
ChangeSetHook & WithFailureMode(HookFailureMode value)
void SetTypeVersionId(TypeVersionIdT &&value)
const Aws::String & GetTypeConfigurationVersionId() const
AWS_CLOUDFORMATION_API ChangeSetHook(const Aws::Utils::Xml::XmlNode &xmlNode)
HookInvocationPoint GetInvocationPoint() const
ChangeSetHook & WithInvocationPoint(HookInvocationPoint value)
const Aws::String & GetTypeName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream