/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Xml
{
class XmlNode;
} // namespace Xml
} // namespace Utils
namespace Redshift
{
namespace Model
{
/**
* Describes a resize operation.
See Also:
AWS
* API Reference
*/
class ResizeInfo
{
public:
AWS_REDSHIFT_API ResizeInfo();
AWS_REDSHIFT_API ResizeInfo(const Aws::Utils::Xml::XmlNode& xmlNode);
AWS_REDSHIFT_API ResizeInfo& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
/**
* Returns the value ClassicResize
.
*/
inline const Aws::String& GetResizeType() const{ return m_resizeType; }
/**
* Returns the value ClassicResize
.
*/
inline bool ResizeTypeHasBeenSet() const { return m_resizeTypeHasBeenSet; }
/**
* Returns the value ClassicResize
.
*/
inline void SetResizeType(const Aws::String& value) { m_resizeTypeHasBeenSet = true; m_resizeType = value; }
/**
* Returns the value ClassicResize
.
*/
inline void SetResizeType(Aws::String&& value) { m_resizeTypeHasBeenSet = true; m_resizeType = std::move(value); }
/**
* Returns the value ClassicResize
.
*/
inline void SetResizeType(const char* value) { m_resizeTypeHasBeenSet = true; m_resizeType.assign(value); }
/**
* Returns the value ClassicResize
.
*/
inline ResizeInfo& WithResizeType(const Aws::String& value) { SetResizeType(value); return *this;}
/**
* Returns the value ClassicResize
.
*/
inline ResizeInfo& WithResizeType(Aws::String&& value) { SetResizeType(std::move(value)); return *this;}
/**
* Returns the value ClassicResize
.
*/
inline ResizeInfo& WithResizeType(const char* value) { SetResizeType(value); return *this;}
/**
* A boolean value indicating if the resize operation can be cancelled.
*/
inline bool GetAllowCancelResize() const{ return m_allowCancelResize; }
/**
* A boolean value indicating if the resize operation can be cancelled.
*/
inline bool AllowCancelResizeHasBeenSet() const { return m_allowCancelResizeHasBeenSet; }
/**
* A boolean value indicating if the resize operation can be cancelled.
*/
inline void SetAllowCancelResize(bool value) { m_allowCancelResizeHasBeenSet = true; m_allowCancelResize = value; }
/**
* A boolean value indicating if the resize operation can be cancelled.
*/
inline ResizeInfo& WithAllowCancelResize(bool value) { SetAllowCancelResize(value); return *this;}
private:
Aws::String m_resizeType;
bool m_resizeTypeHasBeenSet = false;
bool m_allowCancelResize;
bool m_allowCancelResizeHasBeenSet = false;
};
} // namespace Model
} // namespace Redshift
} // namespace Aws