AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPropertyPath(const Aws::String& value) { m_propertyPathHasBeenSet = true; m_propertyPath = value; }
52 inline void SetPropertyPath(Aws::String&& value) { m_propertyPathHasBeenSet = true; m_propertyPath = std::move(value); }
53 inline void SetPropertyPath(const char* value) { m_propertyPathHasBeenSet = true; m_propertyPath.assign(value); }
54 inline WarningProperty& WithPropertyPath(const Aws::String& value) { SetPropertyPath(value); return *this;}
55 inline WarningProperty& WithPropertyPath(Aws::String&& value) { SetPropertyPath(std::move(value)); return *this;}
56 inline WarningProperty& WithPropertyPath(const char* value) { SetPropertyPath(value); return *this;}
58
60
63 inline bool GetRequired() const{ return m_required; }
64 inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; }
65 inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; }
66 inline WarningProperty& WithRequired(bool value) { SetRequired(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline WarningProperty& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline WarningProperty& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline WarningProperty& WithDescription(const char* value) { SetDescription(value); return *this;}
82 private:
83
84 Aws::String m_propertyPath;
85 bool m_propertyPathHasBeenSet = false;
86
87 bool m_required;
88 bool m_requiredHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CloudFormation
96} // namespace Aws
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
WarningProperty & WithPropertyPath(const Aws::String &value)
AWS_CLOUDFORMATION_API WarningProperty & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDescription(const Aws::String &value)
void SetPropertyPath(const Aws::String &value)
WarningProperty & WithPropertyPath(Aws::String &&value)
const Aws::String & GetDescription() const
WarningProperty & WithDescription(Aws::String &&value)
WarningProperty & WithPropertyPath(const char *value)
WarningProperty & WithDescription(const char *value)
AWS_CLOUDFORMATION_API WarningProperty(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPropertyPath() const
WarningProperty & WithDescription(const Aws::String &value)
AWS_CLOUDFORMATION_API WarningProperty()
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