174 lines
7.5 KiB
C++
174 lines
7.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/firehose/Firehose_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Firehose
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>The stream and role Amazon Resource Names (ARNs) for a Kinesis data stream
|
|
* used as the source for a delivery stream.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/KinesisStreamSourceConfiguration">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_FIREHOSE_API KinesisStreamSourceConfiguration
|
|
{
|
|
public:
|
|
KinesisStreamSourceConfiguration();
|
|
KinesisStreamSourceConfiguration(Aws::Utils::Json::JsonView jsonValue);
|
|
KinesisStreamSourceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline const Aws::String& GetKinesisStreamARN() const{ return m_kinesisStreamARN; }
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline bool KinesisStreamARNHasBeenSet() const { return m_kinesisStreamARNHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline void SetKinesisStreamARN(const Aws::String& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline void SetKinesisStreamARN(Aws::String&& value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline void SetKinesisStreamARN(const char* value) { m_kinesisStreamARNHasBeenSet = true; m_kinesisStreamARN.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(const Aws::String& value) { SetKinesisStreamARN(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(Aws::String&& value) { SetKinesisStreamARN(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the source Kinesis data stream. For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-kinesis-streams">Amazon
|
|
* Kinesis Data Streams ARN Format</a>.</p>
|
|
*/
|
|
inline KinesisStreamSourceConfiguration& WithKinesisStreamARN(const char* value) { SetKinesisStreamARN(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline KinesisStreamSourceConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline KinesisStreamSourceConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the role that provides access to the source Kinesis data stream.
|
|
* For more information, see <a
|
|
* href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-iam">AWS
|
|
* Identity and Access Management (IAM) ARN Format</a>.</p>
|
|
*/
|
|
inline KinesisStreamSourceConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_kinesisStreamARN;
|
|
bool m_kinesisStreamARNHasBeenSet;
|
|
|
|
Aws::String m_roleARN;
|
|
bool m_roleARNHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Firehose
|
|
} // namespace Aws
|