AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Warnings.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/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_CLOUDFORMATION_API Warnings();
37 AWS_CLOUDFORMATION_API Warnings(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFORMATION_API Warnings& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
51 inline const Aws::Vector<Aws::String>& GetUnrecognizedResourceTypes() const{ return m_unrecognizedResourceTypes; }
52 inline bool UnrecognizedResourceTypesHasBeenSet() const { return m_unrecognizedResourceTypesHasBeenSet; }
53 inline void SetUnrecognizedResourceTypes(const Aws::Vector<Aws::String>& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes = value; }
54 inline void SetUnrecognizedResourceTypes(Aws::Vector<Aws::String>&& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes = std::move(value); }
57 inline Warnings& AddUnrecognizedResourceTypes(const Aws::String& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes.push_back(value); return *this; }
58 inline Warnings& AddUnrecognizedResourceTypes(Aws::String&& value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes.push_back(std::move(value)); return *this; }
59 inline Warnings& AddUnrecognizedResourceTypes(const char* value) { m_unrecognizedResourceTypesHasBeenSet = true; m_unrecognizedResourceTypes.push_back(value); return *this; }
61 private:
62
63 Aws::Vector<Aws::String> m_unrecognizedResourceTypes;
64 bool m_unrecognizedResourceTypesHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace CloudFormation
69} // namespace Aws
AWS_CLOUDFORMATION_API Warnings(const Aws::Utils::Xml::XmlNode &xmlNode)
bool UnrecognizedResourceTypesHasBeenSet() const
Definition Warnings.h:52
Warnings & AddUnrecognizedResourceTypes(Aws::String &&value)
Definition Warnings.h:58
void SetUnrecognizedResourceTypes(Aws::Vector< Aws::String > &&value)
Definition Warnings.h:54
void SetUnrecognizedResourceTypes(const Aws::Vector< Aws::String > &value)
Definition Warnings.h:53
Warnings & WithUnrecognizedResourceTypes(Aws::Vector< Aws::String > &&value)
Definition Warnings.h:56
AWS_CLOUDFORMATION_API Warnings & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Warnings & WithUnrecognizedResourceTypes(const Aws::Vector< Aws::String > &value)
Definition Warnings.h:55
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Warnings & AddUnrecognizedResourceTypes(const char *value)
Definition Warnings.h:59
AWS_CLOUDFORMATION_API Warnings()
const Aws::Vector< Aws::String > & GetUnrecognizedResourceTypes() const
Definition Warnings.h:51
Warnings & AddUnrecognizedResourceTypes(const Aws::String &value)
Definition Warnings.h:57
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream