/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace CloudFormation
{
namespace Model
{
/**
* Options for the GetTemplateSummary
API action.
See
* Also:
AWS
* API Reference
*/
class TemplateSummaryConfig
{
public:
AWS_CLOUDFORMATION_API TemplateSummaryConfig();
AWS_CLOUDFORMATION_API TemplateSummaryConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
AWS_CLOUDFORMATION_API TemplateSummaryConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
AWS_CLOUDFORMATION_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
/**
* If set to True
, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* Warnings
output parameter.
*/
inline bool GetTreatUnrecognizedResourceTypesAsWarnings() const{ return m_treatUnrecognizedResourceTypesAsWarnings; }
/**
* If set to True
, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* Warnings
output parameter.
*/
inline bool TreatUnrecognizedResourceTypesAsWarningsHasBeenSet() const { return m_treatUnrecognizedResourceTypesAsWarningsHasBeenSet; }
/**
* If set to True
, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* Warnings
output parameter.
*/
inline void SetTreatUnrecognizedResourceTypesAsWarnings(bool value) { m_treatUnrecognizedResourceTypesAsWarningsHasBeenSet = true; m_treatUnrecognizedResourceTypesAsWarnings = value; }
/**
* If set to True
, any unrecognized resource types generate
* warnings and not an error. Any unrecognized resource types are returned in the
* Warnings
output parameter.
*/
inline TemplateSummaryConfig& WithTreatUnrecognizedResourceTypesAsWarnings(bool value) { SetTreatUnrecognizedResourceTypesAsWarnings(value); return *this;}
private:
bool m_treatUnrecognizedResourceTypesAsWarnings;
bool m_treatUnrecognizedResourceTypesAsWarningsHasBeenSet = false;
};
} // namespace Model
} // namespace CloudFormation
} // namespace Aws