AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TemplateConfiguration.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/GeneratedTemplateDeletionPolicy.h>
10#include <aws/cloudformation/model/GeneratedTemplateUpdateReplacePolicy.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
34 {
35 public:
36 AWS_CLOUDFORMATION_API TemplateConfiguration();
37 AWS_CLOUDFORMATION_API TemplateConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFORMATION_API TemplateConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
54 inline const GeneratedTemplateDeletionPolicy& GetDeletionPolicy() const{ return m_deletionPolicy; }
55 inline bool DeletionPolicyHasBeenSet() const { return m_deletionPolicyHasBeenSet; }
56 inline void SetDeletionPolicy(const GeneratedTemplateDeletionPolicy& value) { m_deletionPolicyHasBeenSet = true; m_deletionPolicy = value; }
57 inline void SetDeletionPolicy(GeneratedTemplateDeletionPolicy&& value) { m_deletionPolicyHasBeenSet = true; m_deletionPolicy = std::move(value); }
61
63
73 inline const GeneratedTemplateUpdateReplacePolicy& GetUpdateReplacePolicy() const{ return m_updateReplacePolicy; }
74 inline bool UpdateReplacePolicyHasBeenSet() const { return m_updateReplacePolicyHasBeenSet; }
75 inline void SetUpdateReplacePolicy(const GeneratedTemplateUpdateReplacePolicy& value) { m_updateReplacePolicyHasBeenSet = true; m_updateReplacePolicy = value; }
76 inline void SetUpdateReplacePolicy(GeneratedTemplateUpdateReplacePolicy&& value) { m_updateReplacePolicyHasBeenSet = true; m_updateReplacePolicy = std::move(value); }
80 private:
81
82 GeneratedTemplateDeletionPolicy m_deletionPolicy;
83 bool m_deletionPolicyHasBeenSet = false;
84
85 GeneratedTemplateUpdateReplacePolicy m_updateReplacePolicy;
86 bool m_updateReplacePolicyHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace CloudFormation
91} // namespace Aws
void SetUpdateReplacePolicy(const GeneratedTemplateUpdateReplacePolicy &value)
TemplateConfiguration & WithUpdateReplacePolicy(const GeneratedTemplateUpdateReplacePolicy &value)
TemplateConfiguration & WithDeletionPolicy(GeneratedTemplateDeletionPolicy &&value)
AWS_CLOUDFORMATION_API TemplateConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TemplateConfiguration & WithDeletionPolicy(const GeneratedTemplateDeletionPolicy &value)
void SetUpdateReplacePolicy(GeneratedTemplateUpdateReplacePolicy &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDeletionPolicy(GeneratedTemplateDeletionPolicy &&value)
const GeneratedTemplateDeletionPolicy & GetDeletionPolicy() const
TemplateConfiguration & WithUpdateReplacePolicy(GeneratedTemplateUpdateReplacePolicy &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDeletionPolicy(const GeneratedTemplateDeletionPolicy &value)
const GeneratedTemplateUpdateReplacePolicy & GetUpdateReplacePolicy() const
AWS_CLOUDFORMATION_API TemplateConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream