121 lines
4.6 KiB
C
121 lines
4.6 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
|
|||
|
|
#include <aws/kinesisanalyticsv2/model/FlinkRunConfiguration.h>
|
|||
|
|
#include <aws/kinesisanalyticsv2/model/ApplicationRestoreConfiguration.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace KinesisAnalyticsV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the updates to the starting parameters for a Kinesis Data Analytics
|
|||
|
|
* application.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RunConfigurationUpdate">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_KINESISANALYTICSV2_API RunConfigurationUpdate
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
RunConfigurationUpdate();
|
|||
|
|
RunConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
RunConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
|
|||
|
|
* Analytics application.</p>
|
|||
|
|
*/
|
|||
|
|
inline const FlinkRunConfiguration& GetFlinkRunConfiguration() const{ return m_flinkRunConfiguration; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
|
|||
|
|
* Analytics application.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool FlinkRunConfigurationHasBeenSet() const { return m_flinkRunConfigurationHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
|
|||
|
|
* Analytics application.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFlinkRunConfiguration(const FlinkRunConfiguration& value) { m_flinkRunConfigurationHasBeenSet = true; m_flinkRunConfiguration = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
|
|||
|
|
* Analytics application.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetFlinkRunConfiguration(FlinkRunConfiguration&& value) { m_flinkRunConfigurationHasBeenSet = true; m_flinkRunConfiguration = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
|
|||
|
|
* Analytics application.</p>
|
|||
|
|
*/
|
|||
|
|
inline RunConfigurationUpdate& WithFlinkRunConfiguration(const FlinkRunConfiguration& value) { SetFlinkRunConfiguration(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
|
|||
|
|
* Analytics application.</p>
|
|||
|
|
*/
|
|||
|
|
inline RunConfigurationUpdate& WithFlinkRunConfiguration(FlinkRunConfiguration&& value) { SetFlinkRunConfiguration(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes updates to the restore behavior of a restarting application.</p>
|
|||
|
|
*/
|
|||
|
|
inline const ApplicationRestoreConfiguration& GetApplicationRestoreConfiguration() const{ return m_applicationRestoreConfiguration; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes updates to the restore behavior of a restarting application.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ApplicationRestoreConfigurationHasBeenSet() const { return m_applicationRestoreConfigurationHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes updates to the restore behavior of a restarting application.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApplicationRestoreConfiguration(const ApplicationRestoreConfiguration& value) { m_applicationRestoreConfigurationHasBeenSet = true; m_applicationRestoreConfiguration = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes updates to the restore behavior of a restarting application.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApplicationRestoreConfiguration(ApplicationRestoreConfiguration&& value) { m_applicationRestoreConfigurationHasBeenSet = true; m_applicationRestoreConfiguration = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes updates to the restore behavior of a restarting application.</p>
|
|||
|
|
*/
|
|||
|
|
inline RunConfigurationUpdate& WithApplicationRestoreConfiguration(const ApplicationRestoreConfiguration& value) { SetApplicationRestoreConfiguration(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes updates to the restore behavior of a restarting application.</p>
|
|||
|
|
*/
|
|||
|
|
inline RunConfigurationUpdate& WithApplicationRestoreConfiguration(ApplicationRestoreConfiguration&& value) { SetApplicationRestoreConfiguration(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
FlinkRunConfiguration m_flinkRunConfiguration;
|
|||
|
|
bool m_flinkRunConfigurationHasBeenSet;
|
|||
|
|
|
|||
|
|
ApplicationRestoreConfiguration m_applicationRestoreConfiguration;
|
|||
|
|
bool m_applicationRestoreConfigurationHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace KinesisAnalyticsV2
|
|||
|
|
} // namespace Aws
|