/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SecurityHub
{
namespace Model
{
/**
* Information about the resize operation for the cluster.
See
* Also:
AWS
* API Reference
*/
class AwsRedshiftClusterResizeInfo
{
public:
AWS_SECURITYHUB_API AwsRedshiftClusterResizeInfo();
AWS_SECURITYHUB_API AwsRedshiftClusterResizeInfo(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API AwsRedshiftClusterResizeInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* Indicates whether the resize operation can be canceled.
*/
inline bool GetAllowCancelResize() const{ return m_allowCancelResize; }
/**
* Indicates whether the resize operation can be canceled.
*/
inline bool AllowCancelResizeHasBeenSet() const { return m_allowCancelResizeHasBeenSet; }
/**
* Indicates whether the resize operation can be canceled.
*/
inline void SetAllowCancelResize(bool value) { m_allowCancelResizeHasBeenSet = true; m_allowCancelResize = value; }
/**
* Indicates whether the resize operation can be canceled.
*/
inline AwsRedshiftClusterResizeInfo& WithAllowCancelResize(bool value) { SetAllowCancelResize(value); return *this;}
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline const Aws::String& GetResizeType() const{ return m_resizeType; }
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline bool ResizeTypeHasBeenSet() const { return m_resizeTypeHasBeenSet; }
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline void SetResizeType(const Aws::String& value) { m_resizeTypeHasBeenSet = true; m_resizeType = value; }
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline void SetResizeType(Aws::String&& value) { m_resizeTypeHasBeenSet = true; m_resizeType = std::move(value); }
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline void SetResizeType(const char* value) { m_resizeTypeHasBeenSet = true; m_resizeType.assign(value); }
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline AwsRedshiftClusterResizeInfo& WithResizeType(const Aws::String& value) { SetResizeType(value); return *this;}
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline AwsRedshiftClusterResizeInfo& WithResizeType(Aws::String&& value) { SetResizeType(std::move(value)); return *this;}
/**
* The type of resize operation.
Valid values: ClassicResize
*
*/
inline AwsRedshiftClusterResizeInfo& WithResizeType(const char* value) { SetResizeType(value); return *this;}
private:
bool m_allowCancelResize;
bool m_allowCancelResizeHasBeenSet = false;
Aws::String m_resizeType;
bool m_resizeTypeHasBeenSet = false;
};
} // namespace Model
} // namespace SecurityHub
} // namespace Aws