AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RollbackConfiguration.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/AWSVector.h>
10#include <aws/cloudformation/model/RollbackTrigger.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
41 {
42 public:
43 AWS_CLOUDFORMATION_API RollbackConfiguration();
44 AWS_CLOUDFORMATION_API RollbackConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
45 AWS_CLOUDFORMATION_API RollbackConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
46
47 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
50
52
69 inline const Aws::Vector<RollbackTrigger>& GetRollbackTriggers() const{ return m_rollbackTriggers; }
70 inline bool RollbackTriggersHasBeenSet() const { return m_rollbackTriggersHasBeenSet; }
71 inline void SetRollbackTriggers(const Aws::Vector<RollbackTrigger>& value) { m_rollbackTriggersHasBeenSet = true; m_rollbackTriggers = value; }
72 inline void SetRollbackTriggers(Aws::Vector<RollbackTrigger>&& value) { m_rollbackTriggersHasBeenSet = true; m_rollbackTriggers = std::move(value); }
75 inline RollbackConfiguration& AddRollbackTriggers(const RollbackTrigger& value) { m_rollbackTriggersHasBeenSet = true; m_rollbackTriggers.push_back(value); return *this; }
76 inline RollbackConfiguration& AddRollbackTriggers(RollbackTrigger&& value) { m_rollbackTriggersHasBeenSet = true; m_rollbackTriggers.push_back(std::move(value)); return *this; }
78
80
95 inline int GetMonitoringTimeInMinutes() const{ return m_monitoringTimeInMinutes; }
96 inline bool MonitoringTimeInMinutesHasBeenSet() const { return m_monitoringTimeInMinutesHasBeenSet; }
97 inline void SetMonitoringTimeInMinutes(int value) { m_monitoringTimeInMinutesHasBeenSet = true; m_monitoringTimeInMinutes = value; }
100 private:
101
102 Aws::Vector<RollbackTrigger> m_rollbackTriggers;
103 bool m_rollbackTriggersHasBeenSet = false;
104
105 int m_monitoringTimeInMinutes;
106 bool m_monitoringTimeInMinutesHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudFormation
111} // namespace Aws
RollbackConfiguration & WithRollbackTriggers(Aws::Vector< RollbackTrigger > &&value)
const Aws::Vector< RollbackTrigger > & GetRollbackTriggers() const
void SetRollbackTriggers(Aws::Vector< RollbackTrigger > &&value)
RollbackConfiguration & AddRollbackTriggers(RollbackTrigger &&value)
RollbackConfiguration & WithMonitoringTimeInMinutes(int value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API RollbackConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
RollbackConfiguration & AddRollbackTriggers(const RollbackTrigger &value)
AWS_CLOUDFORMATION_API RollbackConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
RollbackConfiguration & WithRollbackTriggers(const Aws::Vector< RollbackTrigger > &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetRollbackTriggers(const Aws::Vector< RollbackTrigger > &value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream