AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WarningProperty.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
33 {
34 public:
35 AWS_CLOUDFORMATION_API WarningProperty() = default;
36 AWS_CLOUDFORMATION_API WarningProperty(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFORMATION_API WarningProperty& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
49 inline const Aws::String& GetPropertyPath() const { return m_propertyPath; }
50 inline bool PropertyPathHasBeenSet() const { return m_propertyPathHasBeenSet; }
51 template<typename PropertyPathT = Aws::String>
52 void SetPropertyPath(PropertyPathT&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::forward<PropertyPathT>(value); }
53 template<typename PropertyPathT = Aws::String>
54 WarningProperty& WithPropertyPath(PropertyPathT&& value) { SetPropertyPath(std::forward<PropertyPathT>(value)); return *this;}
56
58
61 inline bool GetRequired() const { return m_required; }
62 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
63 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
64 inline WarningProperty& WithRequired(bool value) { SetRequired(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 WarningProperty& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78 private:
79
80 Aws::String m_propertyPath;
81 bool m_propertyPathHasBeenSet = false;
82
83 bool m_required{false};
84 bool m_requiredHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CloudFormation
92} // namespace Aws
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_CLOUDFORMATION_API WarningProperty & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPropertyPath(PropertyPathT &&value)
WarningProperty & WithPropertyPath(PropertyPathT &&value)
AWS_CLOUDFORMATION_API WarningProperty()=default
WarningProperty & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_CLOUDFORMATION_API WarningProperty(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPropertyPath() const
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
WarningProperty & WithRequired(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream