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
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-kinesisanalyticsv2/include/aws/kinesisanalyticsv2/model/DiscoverInputSchemaRequest.h

253 lines
10 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/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputStartingPositionConfiguration.h>
#include <aws/kinesisanalyticsv2/model/S3Configuration.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DiscoverInputSchemaRequest : public KinesisAnalyticsV2Request
{
public:
DiscoverInputSchemaRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DiscoverInputSchema"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline const Aws::String& GetServiceExecutionRole() const{ return m_serviceExecutionRole; }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline bool ServiceExecutionRoleHasBeenSet() const { return m_serviceExecutionRoleHasBeenSet; }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline void SetServiceExecutionRole(const Aws::String& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = value; }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline void SetServiceExecutionRole(Aws::String&& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = std::move(value); }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline void SetServiceExecutionRole(const char* value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole.assign(value); }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithServiceExecutionRole(const Aws::String& value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithServiceExecutionRole(Aws::String&& value) { SetServiceExecutionRole(std::move(value)); return *this;}
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithServiceExecutionRole(const char* value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline DiscoverInputSchemaRequest& WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { SetInputStartingPositionConfiguration(value); return *this;}
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline DiscoverInputSchemaRequest& WithInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { SetInputStartingPositionConfiguration(std::move(value)); return *this;}
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline const S3Configuration& GetS3Configuration() const{ return m_s3Configuration; }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline void SetS3Configuration(const S3Configuration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline void SetS3Configuration(S3Configuration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline DiscoverInputSchemaRequest& WithS3Configuration(const S3Configuration& value) { SetS3Configuration(value); return *this;}
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline DiscoverInputSchemaRequest& WithS3Configuration(S3Configuration&& value) { SetS3Configuration(std::move(value)); return *this;}
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline DiscoverInputSchemaRequest& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;}
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline DiscoverInputSchemaRequest& WithInputProcessingConfiguration(InputProcessingConfiguration&& value) { SetInputProcessingConfiguration(std::move(value)); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_serviceExecutionRole;
bool m_serviceExecutionRoleHasBeenSet;
InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
bool m_inputStartingPositionConfigurationHasBeenSet;
S3Configuration m_s3Configuration;
bool m_s3ConfigurationHasBeenSet;
InputProcessingConfiguration m_inputProcessingConfiguration;
bool m_inputProcessingConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws