AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const HookInvocationPoint& GetInvocationPoint() const{ return m_invocationPoint; }
51 inline bool InvocationPointHasBeenSet() const { return m_invocationPointHasBeenSet; }
52 inline void SetInvocationPoint(const HookInvocationPoint& value) { m_invocationPointHasBeenSet = true; m_invocationPoint = value; }
53 inline void SetInvocationPoint(HookInvocationPoint&& value) { m_invocationPointHasBeenSet = true; m_invocationPoint = std::move(value); }
54 inline ChangeSetHook& WithInvocationPoint(const HookInvocationPoint& value) { SetInvocationPoint(value); return *this;}
55 inline ChangeSetHook& WithInvocationPoint(HookInvocationPoint&& value) { SetInvocationPoint(std::move(value)); return *this;}
57
59
65 inline const HookFailureMode& GetFailureMode() const{ return m_failureMode; }
66 inline bool FailureModeHasBeenSet() const { return m_failureModeHasBeenSet; }
67 inline void SetFailureMode(const HookFailureMode& value) { m_failureModeHasBeenSet = true; m_failureMode = value; }
68 inline void SetFailureMode(HookFailureMode&& value) { m_failureModeHasBeenSet = true; m_failureMode = std::move(value); }
69 inline ChangeSetHook& WithFailureMode(const HookFailureMode& value) { SetFailureMode(value); return *this;}
70 inline ChangeSetHook& WithFailureMode(HookFailureMode&& value) { SetFailureMode(std::move(value)); return *this;}
72
74
85 inline const Aws::String& GetTypeName() const{ return m_typeName; }
86 inline bool TypeNameHasBeenSet() const { return m_typeNameHasBeenSet; }
87 inline void SetTypeName(const Aws::String& value) { m_typeNameHasBeenSet = true; m_typeName = value; }
88 inline void SetTypeName(Aws::String&& value) { m_typeNameHasBeenSet = true; m_typeName = std::move(value); }
89 inline void SetTypeName(const char* value) { m_typeNameHasBeenSet = true; m_typeName.assign(value); }
90 inline ChangeSetHook& WithTypeName(const Aws::String& value) { SetTypeName(value); return *this;}
91 inline ChangeSetHook& WithTypeName(Aws::String&& value) { SetTypeName(std::move(value)); return *this;}
92 inline ChangeSetHook& WithTypeName(const char* value) { SetTypeName(value); return *this;}
94
96
99 inline const Aws::String& GetTypeVersionId() const{ return m_typeVersionId; }
100 inline bool TypeVersionIdHasBeenSet() const { return m_typeVersionIdHasBeenSet; }
101 inline void SetTypeVersionId(const Aws::String& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = value; }
102 inline void SetTypeVersionId(Aws::String&& value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId = std::move(value); }
103 inline void SetTypeVersionId(const char* value) { m_typeVersionIdHasBeenSet = true; m_typeVersionId.assign(value); }
104 inline ChangeSetHook& WithTypeVersionId(const Aws::String& value) { SetTypeVersionId(value); return *this;}
105 inline ChangeSetHook& WithTypeVersionId(Aws::String&& value) { SetTypeVersionId(std::move(value)); return *this;}
106 inline ChangeSetHook& WithTypeVersionId(const char* value) { SetTypeVersionId(value); return *this;}
108
110
113 inline const Aws::String& GetTypeConfigurationVersionId() const{ return m_typeConfigurationVersionId; }
114 inline bool TypeConfigurationVersionIdHasBeenSet() const { return m_typeConfigurationVersionIdHasBeenSet; }
115 inline void SetTypeConfigurationVersionId(const Aws::String& value) { m_typeConfigurationVersionIdHasBeenSet = true; m_typeConfigurationVersionId = value; }
116 inline void SetTypeConfigurationVersionId(Aws::String&& value) { m_typeConfigurationVersionIdHasBeenSet = true; m_typeConfigurationVersionId = std::move(value); }
117 inline void SetTypeConfigurationVersionId(const char* value) { m_typeConfigurationVersionIdHasBeenSet = true; m_typeConfigurationVersionId.assign(value); }
120 inline ChangeSetHook& WithTypeConfigurationVersionId(const char* value) { SetTypeConfigurationVersionId(value); return *this;}
122
124
127 inline const ChangeSetHookTargetDetails& GetTargetDetails() const{ return m_targetDetails; }
128 inline bool TargetDetailsHasBeenSet() const { return m_targetDetailsHasBeenSet; }
129 inline void SetTargetDetails(const ChangeSetHookTargetDetails& value) { m_targetDetailsHasBeenSet = true; m_targetDetails = value; }
130 inline void SetTargetDetails(ChangeSetHookTargetDetails&& value) { m_targetDetailsHasBeenSet = true; m_targetDetails = std::move(value); }
131 inline ChangeSetHook& WithTargetDetails(const ChangeSetHookTargetDetails& value) { SetTargetDetails(value); return *this;}
132 inline ChangeSetHook& WithTargetDetails(ChangeSetHookTargetDetails&& value) { SetTargetDetails(std::move(value)); return *this;}
134 private:
135
136 HookInvocationPoint m_invocationPoint;
137 bool m_invocationPointHasBeenSet = false;
138
139 HookFailureMode m_failureMode;
140 bool m_failureModeHasBeenSet = false;
141
142 Aws::String m_typeName;
143 bool m_typeNameHasBeenSet = false;
144
145 Aws::String m_typeVersionId;
146 bool m_typeVersionIdHasBeenSet = false;
147
148 Aws::String m_typeConfigurationVersionId;
149 bool m_typeConfigurationVersionIdHasBeenSet = false;
150
151 ChangeSetHookTargetDetails m_targetDetails;
152 bool m_targetDetailsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace CloudFormation
157} // namespace Aws
ChangeSetHook & WithTypeName(Aws::String &&value)
AWS_CLOUDFORMATION_API ChangeSetHook()
AWS_CLOUDFORMATION_API ChangeSetHook & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const HookFailureMode & GetFailureMode() const
void SetTypeVersionId(const Aws::String &value)
const Aws::String & GetTypeVersionId() const
void SetTypeConfigurationVersionId(Aws::String &&value)
ChangeSetHook & WithTypeVersionId(const char *value)
void SetTypeConfigurationVersionId(const char *value)
void SetFailureMode(const HookFailureMode &value)
void SetTypeName(Aws::String &&value)
const ChangeSetHookTargetDetails & GetTargetDetails() const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTypeName(const Aws::String &value)
ChangeSetHook & WithTypeName(const char *value)
ChangeSetHook & WithTypeName(const Aws::String &value)
ChangeSetHook & WithTypeVersionId(const Aws::String &value)
void SetTypeConfigurationVersionId(const Aws::String &value)
ChangeSetHook & WithInvocationPoint(HookInvocationPoint &&value)
void SetFailureMode(HookFailureMode &&value)
ChangeSetHook & WithTargetDetails(const ChangeSetHookTargetDetails &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInvocationPoint(HookInvocationPoint &&value)
void SetTargetDetails(ChangeSetHookTargetDetails &&value)
ChangeSetHook & WithFailureMode(HookFailureMode &&value)
ChangeSetHook & WithTypeVersionId(Aws::String &&value)
const Aws::String & GetTypeConfigurationVersionId() const
ChangeSetHook & WithFailureMode(const HookFailureMode &value)
AWS_CLOUDFORMATION_API ChangeSetHook(const Aws::Utils::Xml::XmlNode &xmlNode)
ChangeSetHook & WithTargetDetails(ChangeSetHookTargetDetails &&value)
const HookInvocationPoint & GetInvocationPoint() const
ChangeSetHook & WithTypeConfigurationVersionId(Aws::String &&value)
void SetTargetDetails(const ChangeSetHookTargetDetails &value)
void SetInvocationPoint(const HookInvocationPoint &value)
ChangeSetHook & WithInvocationPoint(const HookInvocationPoint &value)
ChangeSetHook & WithTypeConfigurationVersionId(const char *value)
const Aws::String & GetTypeName() const
ChangeSetHook & WithTypeConfigurationVersionId(const Aws::String &value)
void SetTypeVersionId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream