AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RollbackTrigger.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/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudFormation
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_CLOUDFORMATION_API RollbackTrigger();
38 AWS_CLOUDFORMATION_API RollbackTrigger(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFORMATION_API RollbackTrigger& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
53 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
54 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
55 inline RollbackTrigger& WithArn(const Aws::String& value) { SetArn(value); return *this;}
56 inline RollbackTrigger& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
57 inline RollbackTrigger& WithArn(const char* value) { SetArn(value); return *this;}
59
61
68 inline const Aws::String& GetType() const{ return m_type; }
69 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
70 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
71 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
72 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
73 inline RollbackTrigger& WithType(const Aws::String& value) { SetType(value); return *this;}
74 inline RollbackTrigger& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
75 inline RollbackTrigger& WithType(const char* value) { SetType(value); return *this;}
77 private:
78
79 Aws::String m_arn;
80 bool m_arnHasBeenSet = false;
81
82 Aws::String m_type;
83 bool m_typeHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace CloudFormation
88} // namespace Aws
RollbackTrigger & WithArn(Aws::String &&value)
RollbackTrigger & WithType(const Aws::String &value)
RollbackTrigger & WithArn(const char *value)
AWS_CLOUDFORMATION_API RollbackTrigger & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetType(const Aws::String &value)
AWS_CLOUDFORMATION_API RollbackTrigger()
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
RollbackTrigger & WithArn(const Aws::String &value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
RollbackTrigger & WithType(Aws::String &&value)
void SetArn(const Aws::String &value)
AWS_CLOUDFORMATION_API RollbackTrigger(const Aws::Utils::Xml::XmlNode &xmlNode)
RollbackTrigger & WithType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream