AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WarningDetail.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/WarningType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/cloudformation/model/WarningProperty.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFormation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLOUDFORMATION_API WarningDetail();
38 AWS_CLOUDFORMATION_API WarningDetail(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_CLOUDFORMATION_API WarningDetail& 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
67 inline const WarningType& GetType() const{ return m_type; }
68 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
69 inline void SetType(const WarningType& value) { m_typeHasBeenSet = true; m_type = value; }
70 inline void SetType(WarningType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
71 inline WarningDetail& WithType(const WarningType& value) { SetType(value); return *this;}
72 inline WarningDetail& WithType(WarningType&& value) { SetType(std::move(value)); return *this;}
74
76
79 inline const Aws::Vector<WarningProperty>& GetProperties() const{ return m_properties; }
80 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
81 inline void SetProperties(const Aws::Vector<WarningProperty>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
82 inline void SetProperties(Aws::Vector<WarningProperty>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
83 inline WarningDetail& WithProperties(const Aws::Vector<WarningProperty>& value) { SetProperties(value); return *this;}
84 inline WarningDetail& WithProperties(Aws::Vector<WarningProperty>&& value) { SetProperties(std::move(value)); return *this;}
85 inline WarningDetail& AddProperties(const WarningProperty& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; }
86 inline WarningDetail& AddProperties(WarningProperty&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; }
88 private:
89
90 WarningType m_type;
91 bool m_typeHasBeenSet = false;
92
94 bool m_propertiesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CloudFormation
99} // namespace Aws
void SetProperties(Aws::Vector< WarningProperty > &&value)
WarningDetail & WithType(const WarningType &value)
const Aws::Vector< WarningProperty > & GetProperties() const
WarningDetail & WithProperties(Aws::Vector< WarningProperty > &&value)
WarningDetail & AddProperties(WarningProperty &&value)
WarningDetail & WithProperties(const Aws::Vector< WarningProperty > &value)
void SetProperties(const Aws::Vector< WarningProperty > &value)
AWS_CLOUDFORMATION_API WarningDetail(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_CLOUDFORMATION_API WarningDetail()
WarningDetail & AddProperties(const WarningProperty &value)
WarningDetail & WithType(WarningType &&value)
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API WarningDetail & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const WarningType & GetType() const
void SetType(const WarningType &value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream