This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

289 lines
12 KiB
C
Raw Normal View History

/**
* 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/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/KinesisStreamsOutputUpdate.h>
#include <aws/kinesisanalyticsv2/model/KinesisFirehoseOutputUpdate.h>
#include <aws/kinesisanalyticsv2/model/LambdaOutputUpdate.h>
#include <aws/kinesisanalyticsv2/model/DestinationSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p> For an SQL-based Amazon Kinesis Data Analytics application, describes
* updates to the output configuration identified by the <code>OutputId</code>.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/OutputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API OutputUpdate
{
public:
OutputUpdate();
OutputUpdate(Aws::Utils::Json::JsonView jsonValue);
OutputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline const Aws::String& GetOutputId() const{ return m_outputId; }
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline bool OutputIdHasBeenSet() const { return m_outputIdHasBeenSet; }
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline void SetOutputId(const Aws::String& value) { m_outputIdHasBeenSet = true; m_outputId = value; }
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline void SetOutputId(Aws::String&& value) { m_outputIdHasBeenSet = true; m_outputId = std::move(value); }
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline void SetOutputId(const char* value) { m_outputIdHasBeenSet = true; m_outputId.assign(value); }
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline OutputUpdate& WithOutputId(const Aws::String& value) { SetOutputId(value); return *this;}
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline OutputUpdate& WithOutputId(Aws::String&& value) { SetOutputId(std::move(value)); return *this;}
/**
* <p>Identifies the specific output configuration that you want to update.</p>
*/
inline OutputUpdate& WithOutputId(const char* value) { SetOutputId(value); return *this;}
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline const Aws::String& GetNameUpdate() const{ return m_nameUpdate; }
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline bool NameUpdateHasBeenSet() const { return m_nameUpdateHasBeenSet; }
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline void SetNameUpdate(const Aws::String& value) { m_nameUpdateHasBeenSet = true; m_nameUpdate = value; }
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline void SetNameUpdate(Aws::String&& value) { m_nameUpdateHasBeenSet = true; m_nameUpdate = std::move(value); }
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline void SetNameUpdate(const char* value) { m_nameUpdateHasBeenSet = true; m_nameUpdate.assign(value); }
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline OutputUpdate& WithNameUpdate(const Aws::String& value) { SetNameUpdate(value); return *this;}
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline OutputUpdate& WithNameUpdate(Aws::String&& value) { SetNameUpdate(std::move(value)); return *this;}
/**
* <p>If you want to specify a different in-application stream for this output
* configuration, use this field to specify the new in-application stream name.</p>
*/
inline OutputUpdate& WithNameUpdate(const char* value) { SetNameUpdate(value); return *this;}
/**
* <p>Describes a Kinesis data stream as the destination for the output.</p>
*/
inline const KinesisStreamsOutputUpdate& GetKinesisStreamsOutputUpdate() const{ return m_kinesisStreamsOutputUpdate; }
/**
* <p>Describes a Kinesis data stream as the destination for the output.</p>
*/
inline bool KinesisStreamsOutputUpdateHasBeenSet() const { return m_kinesisStreamsOutputUpdateHasBeenSet; }
/**
* <p>Describes a Kinesis data stream as the destination for the output.</p>
*/
inline void SetKinesisStreamsOutputUpdate(const KinesisStreamsOutputUpdate& value) { m_kinesisStreamsOutputUpdateHasBeenSet = true; m_kinesisStreamsOutputUpdate = value; }
/**
* <p>Describes a Kinesis data stream as the destination for the output.</p>
*/
inline void SetKinesisStreamsOutputUpdate(KinesisStreamsOutputUpdate&& value) { m_kinesisStreamsOutputUpdateHasBeenSet = true; m_kinesisStreamsOutputUpdate = std::move(value); }
/**
* <p>Describes a Kinesis data stream as the destination for the output.</p>
*/
inline OutputUpdate& WithKinesisStreamsOutputUpdate(const KinesisStreamsOutputUpdate& value) { SetKinesisStreamsOutputUpdate(value); return *this;}
/**
* <p>Describes a Kinesis data stream as the destination for the output.</p>
*/
inline OutputUpdate& WithKinesisStreamsOutputUpdate(KinesisStreamsOutputUpdate&& value) { SetKinesisStreamsOutputUpdate(std::move(value)); return *this;}
/**
* <p>Describes a Kinesis Data Firehose delivery stream as the destination for the
* output.</p>
*/
inline const KinesisFirehoseOutputUpdate& GetKinesisFirehoseOutputUpdate() const{ return m_kinesisFirehoseOutputUpdate; }
/**
* <p>Describes a Kinesis Data Firehose delivery stream as the destination for the
* output.</p>
*/
inline bool KinesisFirehoseOutputUpdateHasBeenSet() const { return m_kinesisFirehoseOutputUpdateHasBeenSet; }
/**
* <p>Describes a Kinesis Data Firehose delivery stream as the destination for the
* output.</p>
*/
inline void SetKinesisFirehoseOutputUpdate(const KinesisFirehoseOutputUpdate& value) { m_kinesisFirehoseOutputUpdateHasBeenSet = true; m_kinesisFirehoseOutputUpdate = value; }
/**
* <p>Describes a Kinesis Data Firehose delivery stream as the destination for the
* output.</p>
*/
inline void SetKinesisFirehoseOutputUpdate(KinesisFirehoseOutputUpdate&& value) { m_kinesisFirehoseOutputUpdateHasBeenSet = true; m_kinesisFirehoseOutputUpdate = std::move(value); }
/**
* <p>Describes a Kinesis Data Firehose delivery stream as the destination for the
* output.</p>
*/
inline OutputUpdate& WithKinesisFirehoseOutputUpdate(const KinesisFirehoseOutputUpdate& value) { SetKinesisFirehoseOutputUpdate(value); return *this;}
/**
* <p>Describes a Kinesis Data Firehose delivery stream as the destination for the
* output.</p>
*/
inline OutputUpdate& WithKinesisFirehoseOutputUpdate(KinesisFirehoseOutputUpdate&& value) { SetKinesisFirehoseOutputUpdate(std::move(value)); return *this;}
/**
* <p>Describes an AWS Lambda function as the destination for the output.</p>
*/
inline const LambdaOutputUpdate& GetLambdaOutputUpdate() const{ return m_lambdaOutputUpdate; }
/**
* <p>Describes an AWS Lambda function as the destination for the output.</p>
*/
inline bool LambdaOutputUpdateHasBeenSet() const { return m_lambdaOutputUpdateHasBeenSet; }
/**
* <p>Describes an AWS Lambda function as the destination for the output.</p>
*/
inline void SetLambdaOutputUpdate(const LambdaOutputUpdate& value) { m_lambdaOutputUpdateHasBeenSet = true; m_lambdaOutputUpdate = value; }
/**
* <p>Describes an AWS Lambda function as the destination for the output.</p>
*/
inline void SetLambdaOutputUpdate(LambdaOutputUpdate&& value) { m_lambdaOutputUpdateHasBeenSet = true; m_lambdaOutputUpdate = std::move(value); }
/**
* <p>Describes an AWS Lambda function as the destination for the output.</p>
*/
inline OutputUpdate& WithLambdaOutputUpdate(const LambdaOutputUpdate& value) { SetLambdaOutputUpdate(value); return *this;}
/**
* <p>Describes an AWS Lambda function as the destination for the output.</p>
*/
inline OutputUpdate& WithLambdaOutputUpdate(LambdaOutputUpdate&& value) { SetLambdaOutputUpdate(std::move(value)); return *this;}
/**
* <p>Describes the data format when records are written to the destination. </p>
*/
inline const DestinationSchema& GetDestinationSchemaUpdate() const{ return m_destinationSchemaUpdate; }
/**
* <p>Describes the data format when records are written to the destination. </p>
*/
inline bool DestinationSchemaUpdateHasBeenSet() const { return m_destinationSchemaUpdateHasBeenSet; }
/**
* <p>Describes the data format when records are written to the destination. </p>
*/
inline void SetDestinationSchemaUpdate(const DestinationSchema& value) { m_destinationSchemaUpdateHasBeenSet = true; m_destinationSchemaUpdate = value; }
/**
* <p>Describes the data format when records are written to the destination. </p>
*/
inline void SetDestinationSchemaUpdate(DestinationSchema&& value) { m_destinationSchemaUpdateHasBeenSet = true; m_destinationSchemaUpdate = std::move(value); }
/**
* <p>Describes the data format when records are written to the destination. </p>
*/
inline OutputUpdate& WithDestinationSchemaUpdate(const DestinationSchema& value) { SetDestinationSchemaUpdate(value); return *this;}
/**
* <p>Describes the data format when records are written to the destination. </p>
*/
inline OutputUpdate& WithDestinationSchemaUpdate(DestinationSchema&& value) { SetDestinationSchemaUpdate(std::move(value)); return *this;}
private:
Aws::String m_outputId;
bool m_outputIdHasBeenSet;
Aws::String m_nameUpdate;
bool m_nameUpdateHasBeenSet;
KinesisStreamsOutputUpdate m_kinesisStreamsOutputUpdate;
bool m_kinesisStreamsOutputUpdateHasBeenSet;
KinesisFirehoseOutputUpdate m_kinesisFirehoseOutputUpdate;
bool m_kinesisFirehoseOutputUpdateHasBeenSet;
LambdaOutputUpdate m_lambdaOutputUpdate;
bool m_lambdaOutputUpdateHasBeenSet;
DestinationSchema m_destinationSchemaUpdate;
bool m_destinationSchemaUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws