feat(hos_client_create, hos_client_destory): 多次调用destory不会导致重复释放

This commit is contained in:
彭宣正
2020-12-14 17:24:58 +08:00
parent 505d529c32
commit 10b370e486
55976 changed files with 8544395 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalytics
{
namespace KinesisAnalyticsEndpoint
{
AWS_KINESISANALYTICS_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace KinesisAnalyticsEndpoint
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,23 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_KINESISANALYTICS_API KinesisAnalyticsErrorMarshaller : public Aws::Client::JsonErrorMarshaller
{
public:
Aws::Client::AWSError<Aws::Client::CoreErrors> FindErrorByName(const char* exceptionName) const override;
};
} // namespace Client
} // namespace Aws

View File

@@ -0,0 +1,81 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/core/client/AWSError.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
namespace KinesisAnalytics
{
enum class KinesisAnalyticsErrors
{
//From Core//
//////////////////////////////////////////////////////////////////////////////////////////
INCOMPLETE_SIGNATURE = 0,
INTERNAL_FAILURE = 1,
INVALID_ACTION = 2,
INVALID_CLIENT_TOKEN_ID = 3,
INVALID_PARAMETER_COMBINATION = 4,
INVALID_QUERY_PARAMETER = 5,
INVALID_PARAMETER_VALUE = 6,
MISSING_ACTION = 7, // SDK should never allow
MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow
MISSING_PARAMETER = 9, // SDK should never allow
OPT_IN_REQUIRED = 10,
REQUEST_EXPIRED = 11,
SERVICE_UNAVAILABLE = 12,
THROTTLING = 13,
VALIDATION = 14,
ACCESS_DENIED = 15,
RESOURCE_NOT_FOUND = 16,
UNRECOGNIZED_CLIENT = 17,
MALFORMED_QUERY_STRING = 18,
SLOW_DOWN = 19,
REQUEST_TIME_TOO_SKEWED = 20,
INVALID_SIGNATURE = 21,
SIGNATURE_DOES_NOT_MATCH = 22,
INVALID_ACCESS_KEY_ID = 23,
REQUEST_TIMEOUT = 24,
NETWORK_CONNECTION = 99,
UNKNOWN = 100,
///////////////////////////////////////////////////////////////////////////////////////////
CODE_VALIDATION= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CONCURRENT_MODIFICATION,
INVALID_APPLICATION_CONFIGURATION,
INVALID_ARGUMENT,
LIMIT_EXCEEDED,
RESOURCE_IN_USE,
RESOURCE_PROVISIONED_THROUGHPUT_EXCEEDED,
TOO_MANY_TAGS,
UNABLE_TO_DETECT_SCHEMA,
UNSUPPORTED_OPERATION
};
class AWS_KINESISANALYTICS_API KinesisAnalyticsError : public Aws::Client::AWSError<KinesisAnalyticsErrors>
{
public:
KinesisAnalyticsError() {}
KinesisAnalyticsError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<KinesisAnalyticsErrors>(rhs) {}
KinesisAnalyticsError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<KinesisAnalyticsErrors>(rhs) {}
KinesisAnalyticsError(const Aws::Client::AWSError<KinesisAnalyticsErrors>& rhs) : Aws::Client::AWSError<KinesisAnalyticsErrors>(rhs) {}
KinesisAnalyticsError(Aws::Client::AWSError<KinesisAnalyticsErrors>&& rhs) : Aws::Client::AWSError<KinesisAnalyticsErrors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace KinesisAnalyticsErrorMapper
{
AWS_KINESISANALYTICS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,42 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace KinesisAnalytics
{
class AWS_KINESISANALYTICS_API KinesisAnalyticsRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~KinesisAnalyticsRequest () {}
void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); }
inline Aws::Http::HeaderValueCollection GetHeaders() const override
{
auto headers = GetRequestSpecificHeaders();
if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0))
{
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::AMZN_JSON_CONTENT_TYPE_1_1 ));
}
headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2015-08-14"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,29 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#ifdef _MSC_VER
//disable windows complaining about max template size.
#pragma warning (disable : 4503)
#endif // _MSC_VER
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32)
#ifdef _MSC_VER
#pragma warning(disable : 4251)
#endif // _MSC_VER
#ifdef USE_IMPORT_EXPORT
#ifdef AWS_KINESISANALYTICS_EXPORTS
#define AWS_KINESISANALYTICS_API __declspec(dllexport)
#else
#define AWS_KINESISANALYTICS_API __declspec(dllimport)
#endif /* AWS_KINESISANALYTICS_EXPORTS */
#else
#define AWS_KINESISANALYTICS_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_KINESISANALYTICS_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,156 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/CloudWatchLoggingOption.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API AddApplicationCloudWatchLoggingOptionRequest : public KinesisAnalyticsRequest
{
public:
AddApplicationCloudWatchLoggingOptionRequest();
// 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 "AddApplicationCloudWatchLoggingOption"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM
* role ARN. Note: To write application messages to CloudWatch, the IAM role that
* is used must have the <code>PutLogEvents</code> policy action enabled.</p>
*/
inline const CloudWatchLoggingOption& GetCloudWatchLoggingOption() const{ return m_cloudWatchLoggingOption; }
/**
* <p>Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM
* role ARN. Note: To write application messages to CloudWatch, the IAM role that
* is used must have the <code>PutLogEvents</code> policy action enabled.</p>
*/
inline bool CloudWatchLoggingOptionHasBeenSet() const { return m_cloudWatchLoggingOptionHasBeenSet; }
/**
* <p>Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM
* role ARN. Note: To write application messages to CloudWatch, the IAM role that
* is used must have the <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetCloudWatchLoggingOption(const CloudWatchLoggingOption& value) { m_cloudWatchLoggingOptionHasBeenSet = true; m_cloudWatchLoggingOption = value; }
/**
* <p>Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM
* role ARN. Note: To write application messages to CloudWatch, the IAM role that
* is used must have the <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetCloudWatchLoggingOption(CloudWatchLoggingOption&& value) { m_cloudWatchLoggingOptionHasBeenSet = true; m_cloudWatchLoggingOption = std::move(value); }
/**
* <p>Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM
* role ARN. Note: To write application messages to CloudWatch, the IAM role that
* is used must have the <code>PutLogEvents</code> policy action enabled.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOption(const CloudWatchLoggingOption& value) { SetCloudWatchLoggingOption(value); return *this;}
/**
* <p>Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM
* role ARN. Note: To write application messages to CloudWatch, the IAM role that
* is used must have the <code>PutLogEvents</code> policy action enabled.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOption(CloudWatchLoggingOption&& value) { SetCloudWatchLoggingOption(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
CloudWatchLoggingOption m_cloudWatchLoggingOption;
bool m_cloudWatchLoggingOptionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API AddApplicationCloudWatchLoggingOptionResult
{
public:
AddApplicationCloudWatchLoggingOptionResult();
AddApplicationCloudWatchLoggingOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationCloudWatchLoggingOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,252 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/InputProcessingConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API AddApplicationInputProcessingConfigurationRequest : public KinesisAnalyticsRequest
{
public:
AddApplicationInputProcessingConfigurationRequest();
// 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 "AddApplicationInputProcessingConfiguration"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application to which you want to add the input processing
* configuration.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Version of the application to which you want to add the input processing
* configuration. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>Version of the application to which you want to add the input processing
* configuration. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>Version of the application to which you want to add the input processing
* configuration. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>Version of the application to which you want to add the input processing
* configuration. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>The ID of the input configuration to add the input processing configuration
* to. You can get a list of the input IDs for an application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputId(const char* value) { SetInputId(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* to add to the application.</p>
*/
inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* to add to the application.</p>
*/
inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* to add to the application.</p>
*/
inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* to add to the application.</p>
*/
inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* to add to the application.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* to add to the application.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputProcessingConfiguration(InputProcessingConfiguration&& value) { SetInputProcessingConfiguration(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Aws::String m_inputId;
bool m_inputIdHasBeenSet;
InputProcessingConfiguration m_inputProcessingConfiguration;
bool m_inputProcessingConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API AddApplicationInputProcessingConfigurationResult
{
public:
AddApplicationInputProcessingConfigurationResult();
AddApplicationInputProcessingConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationInputProcessingConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,179 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/Input.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API AddApplicationInputRequest : public KinesisAnalyticsRequest
{
public:
AddApplicationInputRequest();
// 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 "AddApplicationInput"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline AddApplicationInputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline AddApplicationInputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of your existing Amazon Kinesis Analytics application to which you want
* to add the streaming source.</p>
*/
inline AddApplicationInputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Current version of your Amazon Kinesis Analytics application. You can use the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to find the current application version.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>Current version of your Amazon Kinesis Analytics application. You can use the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to find the current application version.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>Current version of your Amazon Kinesis Analytics application. You can use the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to find the current application version.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>Current version of your Amazon Kinesis Analytics application. You can use the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to find the current application version.</p>
*/
inline AddApplicationInputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html">Input</a>
* to add.</p>
*/
inline const Input& GetInput() const{ return m_input; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html">Input</a>
* to add.</p>
*/
inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html">Input</a>
* to add.</p>
*/
inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html">Input</a>
* to add.</p>
*/
inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html">Input</a>
* to add.</p>
*/
inline AddApplicationInputRequest& WithInput(const Input& value) { SetInput(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_Input.html">Input</a>
* to add.</p>
*/
inline AddApplicationInputRequest& WithInput(Input&& value) { SetInput(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Input m_input;
bool m_inputHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API AddApplicationInputResult
{
public:
AddApplicationInputResult();
AddApplicationInputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationInputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,199 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/Output.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationOutputRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API AddApplicationOutputRequest : public KinesisAnalyticsRequest
{
public:
AddApplicationOutputRequest();
// 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 "AddApplicationOutput"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline AddApplicationOutputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline AddApplicationOutputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application to which you want to add the output
* configuration.</p>
*/
inline AddApplicationOutputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Version of the application to which you want to add the output configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>Version of the application to which you want to add the output configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>Version of the application to which you want to add the output configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>Version of the application to which you want to add the output configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline AddApplicationOutputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>An array of objects, each describing one output configuration. In the output
* configuration, you specify the name of an in-application stream, a destination
* (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream,
* or an AWS Lambda function), and record the formation to use when writing to the
* destination.</p>
*/
inline const Output& GetOutput() const{ return m_output; }
/**
* <p>An array of objects, each describing one output configuration. In the output
* configuration, you specify the name of an in-application stream, a destination
* (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream,
* or an AWS Lambda function), and record the formation to use when writing to the
* destination.</p>
*/
inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; }
/**
* <p>An array of objects, each describing one output configuration. In the output
* configuration, you specify the name of an in-application stream, a destination
* (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream,
* or an AWS Lambda function), and record the formation to use when writing to the
* destination.</p>
*/
inline void SetOutput(const Output& value) { m_outputHasBeenSet = true; m_output = value; }
/**
* <p>An array of objects, each describing one output configuration. In the output
* configuration, you specify the name of an in-application stream, a destination
* (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream,
* or an AWS Lambda function), and record the formation to use when writing to the
* destination.</p>
*/
inline void SetOutput(Output&& value) { m_outputHasBeenSet = true; m_output = std::move(value); }
/**
* <p>An array of objects, each describing one output configuration. In the output
* configuration, you specify the name of an in-application stream, a destination
* (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream,
* or an AWS Lambda function), and record the formation to use when writing to the
* destination.</p>
*/
inline AddApplicationOutputRequest& WithOutput(const Output& value) { SetOutput(value); return *this;}
/**
* <p>An array of objects, each describing one output configuration. In the output
* configuration, you specify the name of an in-application stream, a destination
* (that is, an Amazon Kinesis stream, an Amazon Kinesis Firehose delivery stream,
* or an AWS Lambda function), and record the formation to use when writing to the
* destination.</p>
*/
inline AddApplicationOutputRequest& WithOutput(Output&& value) { SetOutput(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Output m_output;
bool m_outputHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationOutputResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API AddApplicationOutputResult
{
public:
AddApplicationOutputResult();
AddApplicationOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,197 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/ReferenceDataSource.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationReferenceDataSourceRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API AddApplicationReferenceDataSourceRequest : public KinesisAnalyticsRequest
{
public:
AddApplicationReferenceDataSourceRequest();
// 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 "AddApplicationReferenceDataSource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of an existing application.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of an existing application.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of an existing application.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Version of the application for which you are adding the reference data
* source. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>Version of the application for which you are adding the reference data
* source. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>Version of the application for which you are adding the reference data
* source. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>Version of the application for which you are adding the reference data
* source. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Amazon
* Kinesis Analytics reads the object and copies the data into the in-application
* table that is created. You provide an S3 bucket, object key name, and the
* resulting in-application table that is created. You must also provide an IAM
* role with the necessary permissions that Amazon Kinesis Analytics can assume to
* read the object from your S3 bucket on your behalf.</p>
*/
inline const ReferenceDataSource& GetReferenceDataSource() const{ return m_referenceDataSource; }
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Amazon
* Kinesis Analytics reads the object and copies the data into the in-application
* table that is created. You provide an S3 bucket, object key name, and the
* resulting in-application table that is created. You must also provide an IAM
* role with the necessary permissions that Amazon Kinesis Analytics can assume to
* read the object from your S3 bucket on your behalf.</p>
*/
inline bool ReferenceDataSourceHasBeenSet() const { return m_referenceDataSourceHasBeenSet; }
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Amazon
* Kinesis Analytics reads the object and copies the data into the in-application
* table that is created. You provide an S3 bucket, object key name, and the
* resulting in-application table that is created. You must also provide an IAM
* role with the necessary permissions that Amazon Kinesis Analytics can assume to
* read the object from your S3 bucket on your behalf.</p>
*/
inline void SetReferenceDataSource(const ReferenceDataSource& value) { m_referenceDataSourceHasBeenSet = true; m_referenceDataSource = value; }
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Amazon
* Kinesis Analytics reads the object and copies the data into the in-application
* table that is created. You provide an S3 bucket, object key name, and the
* resulting in-application table that is created. You must also provide an IAM
* role with the necessary permissions that Amazon Kinesis Analytics can assume to
* read the object from your S3 bucket on your behalf.</p>
*/
inline void SetReferenceDataSource(ReferenceDataSource&& value) { m_referenceDataSourceHasBeenSet = true; m_referenceDataSource = std::move(value); }
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Amazon
* Kinesis Analytics reads the object and copies the data into the in-application
* table that is created. You provide an S3 bucket, object key name, and the
* resulting in-application table that is created. You must also provide an IAM
* role with the necessary permissions that Amazon Kinesis Analytics can assume to
* read the object from your S3 bucket on your behalf.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithReferenceDataSource(const ReferenceDataSource& value) { SetReferenceDataSource(value); return *this;}
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Amazon
* Kinesis Analytics reads the object and copies the data into the in-application
* table that is created. You provide an S3 bucket, object key name, and the
* resulting in-application table that is created. You must also provide an IAM
* role with the necessary permissions that Amazon Kinesis Analytics can assume to
* read the object from your S3 bucket on your behalf.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithReferenceDataSource(ReferenceDataSource&& value) { SetReferenceDataSource(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
ReferenceDataSource m_referenceDataSource;
bool m_referenceDataSourceHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationReferenceDataSourceResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API AddApplicationReferenceDataSourceResult
{
public:
AddApplicationReferenceDataSourceResult();
AddApplicationReferenceDataSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationReferenceDataSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,632 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/ApplicationStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/InputDescription.h>
#include <aws/kinesisanalytics/model/OutputDescription.h>
#include <aws/kinesisanalytics/model/ReferenceDataSourceDescription.h>
#include <aws/kinesisanalytics/model/CloudWatchLoggingOptionDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>This documentation is for version 1 of the Amazon Kinesis Data
* Analytics API, which only supports SQL applications. Version 2 of the API
* supports SQL and Java applications. For more information about version 2, see <a
* href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics
* API V2 Documentation</a>.</p> <p>Provides a description of the
* application, including the application Amazon Resource Name (ARN), status,
* latest version, and input and output configuration.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ApplicationDetail">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ApplicationDetail
{
public:
ApplicationDetail();
ApplicationDetail(Aws::Utils::Json::JsonView jsonValue);
ApplicationDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the application.</p>
*/
inline ApplicationDetail& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the application.</p>
*/
inline ApplicationDetail& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application.</p>
*/
inline ApplicationDetail& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Description of the application.</p>
*/
inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
/**
* <p>Description of the application.</p>
*/
inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
/**
* <p>Description of the application.</p>
*/
inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
/**
* <p>Description of the application.</p>
*/
inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
/**
* <p>Description of the application.</p>
*/
inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
/**
* <p>Description of the application.</p>
*/
inline ApplicationDetail& WithApplicationDescription(const Aws::String& value) { SetApplicationDescription(value); return *this;}
/**
* <p>Description of the application.</p>
*/
inline ApplicationDetail& WithApplicationDescription(Aws::String&& value) { SetApplicationDescription(std::move(value)); return *this;}
/**
* <p>Description of the application.</p>
*/
inline ApplicationDetail& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
/**
* <p>ARN of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>ARN of the application.</p>
*/
inline bool ApplicationARNHasBeenSet() const { return m_applicationARNHasBeenSet; }
/**
* <p>ARN of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARNHasBeenSet = true; m_applicationARN = value; }
/**
* <p>ARN of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARNHasBeenSet = true; m_applicationARN = std::move(value); }
/**
* <p>ARN of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARNHasBeenSet = true; m_applicationARN.assign(value); }
/**
* <p>ARN of the application.</p>
*/
inline ApplicationDetail& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>ARN of the application.</p>
*/
inline ApplicationDetail& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>ARN of the application.</p>
*/
inline ApplicationDetail& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>Status of the application.</p>
*/
inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
/**
* <p>Status of the application.</p>
*/
inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; }
/**
* <p>Status of the application.</p>
*/
inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; }
/**
* <p>Status of the application.</p>
*/
inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); }
/**
* <p>Status of the application.</p>
*/
inline ApplicationDetail& WithApplicationStatus(const ApplicationStatus& value) { SetApplicationStatus(value); return *this;}
/**
* <p>Status of the application.</p>
*/
inline ApplicationDetail& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;}
/**
* <p>Time stamp when the application version was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
/**
* <p>Time stamp when the application version was created.</p>
*/
inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
/**
* <p>Time stamp when the application version was created.</p>
*/
inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
/**
* <p>Time stamp when the application version was created.</p>
*/
inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
/**
* <p>Time stamp when the application version was created.</p>
*/
inline ApplicationDetail& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
/**
* <p>Time stamp when the application version was created.</p>
*/
inline ApplicationDetail& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;}
/**
* <p>Time stamp when the application was last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
/**
* <p>Time stamp when the application was last updated.</p>
*/
inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
/**
* <p>Time stamp when the application was last updated.</p>
*/
inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
/**
* <p>Time stamp when the application was last updated.</p>
*/
inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); }
/**
* <p>Time stamp when the application was last updated.</p>
*/
inline ApplicationDetail& WithLastUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdateTimestamp(value); return *this;}
/**
* <p>Time stamp when the application was last updated.</p>
*/
inline ApplicationDetail& WithLastUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateTimestamp(std::move(value)); return *this;}
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline const Aws::Vector<InputDescription>& GetInputDescriptions() const{ return m_inputDescriptions; }
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline bool InputDescriptionsHasBeenSet() const { return m_inputDescriptionsHasBeenSet; }
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline void SetInputDescriptions(const Aws::Vector<InputDescription>& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions = value; }
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline void SetInputDescriptions(Aws::Vector<InputDescription>&& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions = std::move(value); }
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& WithInputDescriptions(const Aws::Vector<InputDescription>& value) { SetInputDescriptions(value); return *this;}
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& WithInputDescriptions(Aws::Vector<InputDescription>&& value) { SetInputDescriptions(std::move(value)); return *this;}
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& AddInputDescriptions(const InputDescription& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions.push_back(value); return *this; }
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& AddInputDescriptions(InputDescription&& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions.push_back(std::move(value)); return *this; }
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline const Aws::Vector<OutputDescription>& GetOutputDescriptions() const{ return m_outputDescriptions; }
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline bool OutputDescriptionsHasBeenSet() const { return m_outputDescriptionsHasBeenSet; }
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline void SetOutputDescriptions(const Aws::Vector<OutputDescription>& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions = value; }
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline void SetOutputDescriptions(Aws::Vector<OutputDescription>&& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions = std::move(value); }
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline ApplicationDetail& WithOutputDescriptions(const Aws::Vector<OutputDescription>& value) { SetOutputDescriptions(value); return *this;}
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline ApplicationDetail& WithOutputDescriptions(Aws::Vector<OutputDescription>&& value) { SetOutputDescriptions(std::move(value)); return *this;}
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline ApplicationDetail& AddOutputDescriptions(const OutputDescription& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions.push_back(value); return *this; }
/**
* <p>Describes the application output configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p>
*/
inline ApplicationDetail& AddOutputDescriptions(OutputDescription&& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions.push_back(std::move(value)); return *this; }
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline const Aws::Vector<ReferenceDataSourceDescription>& GetReferenceDataSourceDescriptions() const{ return m_referenceDataSourceDescriptions; }
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline bool ReferenceDataSourceDescriptionsHasBeenSet() const { return m_referenceDataSourceDescriptionsHasBeenSet; }
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline void SetReferenceDataSourceDescriptions(const Aws::Vector<ReferenceDataSourceDescription>& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions = value; }
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline void SetReferenceDataSourceDescriptions(Aws::Vector<ReferenceDataSourceDescription>&& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions = std::move(value); }
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& WithReferenceDataSourceDescriptions(const Aws::Vector<ReferenceDataSourceDescription>& value) { SetReferenceDataSourceDescriptions(value); return *this;}
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& WithReferenceDataSourceDescriptions(Aws::Vector<ReferenceDataSourceDescription>&& value) { SetReferenceDataSourceDescriptions(std::move(value)); return *this;}
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& AddReferenceDataSourceDescriptions(const ReferenceDataSourceDescription& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions.push_back(value); return *this; }
/**
* <p>Describes reference data sources configured for the application. For more
* information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p>
*/
inline ApplicationDetail& AddReferenceDataSourceDescriptions(ReferenceDataSourceDescription&& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions.push_back(std::move(value)); return *this; }
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline const Aws::Vector<CloudWatchLoggingOptionDescription>& GetCloudWatchLoggingOptionDescriptions() const{ return m_cloudWatchLoggingOptionDescriptions; }
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline bool CloudWatchLoggingOptionDescriptionsHasBeenSet() const { return m_cloudWatchLoggingOptionDescriptionsHasBeenSet; }
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions = value; }
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions = std::move(value); }
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline ApplicationDetail& WithCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { SetCloudWatchLoggingOptionDescriptions(value); return *this;}
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline ApplicationDetail& WithCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { SetCloudWatchLoggingOptionDescriptions(std::move(value)); return *this;}
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline ApplicationDetail& AddCloudWatchLoggingOptionDescriptions(const CloudWatchLoggingOptionDescription& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions.push_back(value); return *this; }
/**
* <p>Describes the CloudWatch log streams that are configured to receive
* application messages. For more information about using CloudWatch log streams
* with Amazon Kinesis Analytics applications, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>. </p>
*/
inline ApplicationDetail& AddCloudWatchLoggingOptionDescriptions(CloudWatchLoggingOptionDescription&& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions.push_back(std::move(value)); return *this; }
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline const Aws::String& GetApplicationCode() const{ return m_applicationCode; }
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline bool ApplicationCodeHasBeenSet() const { return m_applicationCodeHasBeenSet; }
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline void SetApplicationCode(const Aws::String& value) { m_applicationCodeHasBeenSet = true; m_applicationCode = value; }
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline void SetApplicationCode(Aws::String&& value) { m_applicationCodeHasBeenSet = true; m_applicationCode = std::move(value); }
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline void SetApplicationCode(const char* value) { m_applicationCodeHasBeenSet = true; m_applicationCode.assign(value); }
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline ApplicationDetail& WithApplicationCode(const Aws::String& value) { SetApplicationCode(value); return *this;}
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline ApplicationDetail& WithApplicationCode(Aws::String&& value) { SetApplicationCode(std::move(value)); return *this;}
/**
* <p>Returns the application code that you provided to perform data analysis on
* any of the in-application streams in your application.</p>
*/
inline ApplicationDetail& WithApplicationCode(const char* value) { SetApplicationCode(value); return *this;}
/**
* <p>Provides the current application version.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>Provides the current application version.</p>
*/
inline bool ApplicationVersionIdHasBeenSet() const { return m_applicationVersionIdHasBeenSet; }
/**
* <p>Provides the current application version.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionIdHasBeenSet = true; m_applicationVersionId = value; }
/**
* <p>Provides the current application version.</p>
*/
inline ApplicationDetail& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_applicationDescription;
bool m_applicationDescriptionHasBeenSet;
Aws::String m_applicationARN;
bool m_applicationARNHasBeenSet;
ApplicationStatus m_applicationStatus;
bool m_applicationStatusHasBeenSet;
Aws::Utils::DateTime m_createTimestamp;
bool m_createTimestampHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTimestamp;
bool m_lastUpdateTimestampHasBeenSet;
Aws::Vector<InputDescription> m_inputDescriptions;
bool m_inputDescriptionsHasBeenSet;
Aws::Vector<OutputDescription> m_outputDescriptions;
bool m_outputDescriptionsHasBeenSet;
Aws::Vector<ReferenceDataSourceDescription> m_referenceDataSourceDescriptions;
bool m_referenceDataSourceDescriptionsHasBeenSet;
Aws::Vector<CloudWatchLoggingOptionDescription> m_cloudWatchLoggingOptionDescriptions;
bool m_cloudWatchLoggingOptionDescriptionsHasBeenSet;
Aws::String m_applicationCode;
bool m_applicationCodeHasBeenSet;
long long m_applicationVersionId;
bool m_applicationVersionIdHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,35 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
enum class ApplicationStatus
{
NOT_SET,
DELETING,
STARTING,
STOPPING,
READY,
RUNNING,
UPDATING
};
namespace ApplicationStatusMapper
{
AWS_KINESISANALYTICS_API ApplicationStatus GetApplicationStatusForName(const Aws::String& name);
AWS_KINESISANALYTICS_API Aws::String GetNameForApplicationStatus(ApplicationStatus value);
} // namespace ApplicationStatusMapper
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,173 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/ApplicationStatus.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>This documentation is for version 1 of the Amazon Kinesis Data
* Analytics API, which only supports SQL applications. Version 2 of the API
* supports SQL and Java applications. For more information about version 2, see <a
* href="/kinesisanalytics/latest/apiv2/Welcome.html">Amazon Kinesis Data Analytics
* API V2 Documentation</a>.</p> <p>Provides application summary
* information, including the application Amazon Resource Name (ARN), name, and
* status.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ApplicationSummary">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ApplicationSummary
{
public:
ApplicationSummary();
ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the application.</p>
*/
inline ApplicationSummary& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the application.</p>
*/
inline ApplicationSummary& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application.</p>
*/
inline ApplicationSummary& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>ARN of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>ARN of the application.</p>
*/
inline bool ApplicationARNHasBeenSet() const { return m_applicationARNHasBeenSet; }
/**
* <p>ARN of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARNHasBeenSet = true; m_applicationARN = value; }
/**
* <p>ARN of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARNHasBeenSet = true; m_applicationARN = std::move(value); }
/**
* <p>ARN of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARNHasBeenSet = true; m_applicationARN.assign(value); }
/**
* <p>ARN of the application.</p>
*/
inline ApplicationSummary& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>ARN of the application.</p>
*/
inline ApplicationSummary& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>ARN of the application.</p>
*/
inline ApplicationSummary& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>Status of the application.</p>
*/
inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
/**
* <p>Status of the application.</p>
*/
inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; }
/**
* <p>Status of the application.</p>
*/
inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; }
/**
* <p>Status of the application.</p>
*/
inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); }
/**
* <p>Status of the application.</p>
*/
inline ApplicationSummary& WithApplicationStatus(const ApplicationStatus& value) { SetApplicationStatus(value); return *this;}
/**
* <p>Status of the application.</p>
*/
inline ApplicationSummary& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_applicationARN;
bool m_applicationARNHasBeenSet;
ApplicationStatus m_applicationStatus;
bool m_applicationStatusHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,270 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/InputUpdate.h>
#include <aws/kinesisanalytics/model/OutputUpdate.h>
#include <aws/kinesisanalytics/model/ReferenceDataSourceUpdate.h>
#include <aws/kinesisanalytics/model/CloudWatchLoggingOptionUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes updates to apply to an existing Amazon Kinesis Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ApplicationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ApplicationUpdate
{
public:
ApplicationUpdate();
ApplicationUpdate(Aws::Utils::Json::JsonView jsonValue);
ApplicationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes application input configuration updates.</p>
*/
inline const Aws::Vector<InputUpdate>& GetInputUpdates() const{ return m_inputUpdates; }
/**
* <p>Describes application input configuration updates.</p>
*/
inline bool InputUpdatesHasBeenSet() const { return m_inputUpdatesHasBeenSet; }
/**
* <p>Describes application input configuration updates.</p>
*/
inline void SetInputUpdates(const Aws::Vector<InputUpdate>& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = value; }
/**
* <p>Describes application input configuration updates.</p>
*/
inline void SetInputUpdates(Aws::Vector<InputUpdate>&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = std::move(value); }
/**
* <p>Describes application input configuration updates.</p>
*/
inline ApplicationUpdate& WithInputUpdates(const Aws::Vector<InputUpdate>& value) { SetInputUpdates(value); return *this;}
/**
* <p>Describes application input configuration updates.</p>
*/
inline ApplicationUpdate& WithInputUpdates(Aws::Vector<InputUpdate>&& value) { SetInputUpdates(std::move(value)); return *this;}
/**
* <p>Describes application input configuration updates.</p>
*/
inline ApplicationUpdate& AddInputUpdates(const InputUpdate& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.push_back(value); return *this; }
/**
* <p>Describes application input configuration updates.</p>
*/
inline ApplicationUpdate& AddInputUpdates(InputUpdate&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.push_back(std::move(value)); return *this; }
/**
* <p>Describes application code updates.</p>
*/
inline const Aws::String& GetApplicationCodeUpdate() const{ return m_applicationCodeUpdate; }
/**
* <p>Describes application code updates.</p>
*/
inline bool ApplicationCodeUpdateHasBeenSet() const { return m_applicationCodeUpdateHasBeenSet; }
/**
* <p>Describes application code updates.</p>
*/
inline void SetApplicationCodeUpdate(const Aws::String& value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate = value; }
/**
* <p>Describes application code updates.</p>
*/
inline void SetApplicationCodeUpdate(Aws::String&& value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate = std::move(value); }
/**
* <p>Describes application code updates.</p>
*/
inline void SetApplicationCodeUpdate(const char* value) { m_applicationCodeUpdateHasBeenSet = true; m_applicationCodeUpdate.assign(value); }
/**
* <p>Describes application code updates.</p>
*/
inline ApplicationUpdate& WithApplicationCodeUpdate(const Aws::String& value) { SetApplicationCodeUpdate(value); return *this;}
/**
* <p>Describes application code updates.</p>
*/
inline ApplicationUpdate& WithApplicationCodeUpdate(Aws::String&& value) { SetApplicationCodeUpdate(std::move(value)); return *this;}
/**
* <p>Describes application code updates.</p>
*/
inline ApplicationUpdate& WithApplicationCodeUpdate(const char* value) { SetApplicationCodeUpdate(value); return *this;}
/**
* <p>Describes application output configuration updates.</p>
*/
inline const Aws::Vector<OutputUpdate>& GetOutputUpdates() const{ return m_outputUpdates; }
/**
* <p>Describes application output configuration updates.</p>
*/
inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; }
/**
* <p>Describes application output configuration updates.</p>
*/
inline void SetOutputUpdates(const Aws::Vector<OutputUpdate>& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = value; }
/**
* <p>Describes application output configuration updates.</p>
*/
inline void SetOutputUpdates(Aws::Vector<OutputUpdate>&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = std::move(value); }
/**
* <p>Describes application output configuration updates.</p>
*/
inline ApplicationUpdate& WithOutputUpdates(const Aws::Vector<OutputUpdate>& value) { SetOutputUpdates(value); return *this;}
/**
* <p>Describes application output configuration updates.</p>
*/
inline ApplicationUpdate& WithOutputUpdates(Aws::Vector<OutputUpdate>&& value) { SetOutputUpdates(std::move(value)); return *this;}
/**
* <p>Describes application output configuration updates.</p>
*/
inline ApplicationUpdate& AddOutputUpdates(const OutputUpdate& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.push_back(value); return *this; }
/**
* <p>Describes application output configuration updates.</p>
*/
inline ApplicationUpdate& AddOutputUpdates(OutputUpdate&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.push_back(std::move(value)); return *this; }
/**
* <p>Describes application reference data source updates.</p>
*/
inline const Aws::Vector<ReferenceDataSourceUpdate>& GetReferenceDataSourceUpdates() const{ return m_referenceDataSourceUpdates; }
/**
* <p>Describes application reference data source updates.</p>
*/
inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; }
/**
* <p>Describes application reference data source updates.</p>
*/
inline void SetReferenceDataSourceUpdates(const Aws::Vector<ReferenceDataSourceUpdate>& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = value; }
/**
* <p>Describes application reference data source updates.</p>
*/
inline void SetReferenceDataSourceUpdates(Aws::Vector<ReferenceDataSourceUpdate>&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = std::move(value); }
/**
* <p>Describes application reference data source updates.</p>
*/
inline ApplicationUpdate& WithReferenceDataSourceUpdates(const Aws::Vector<ReferenceDataSourceUpdate>& value) { SetReferenceDataSourceUpdates(value); return *this;}
/**
* <p>Describes application reference data source updates.</p>
*/
inline ApplicationUpdate& WithReferenceDataSourceUpdates(Aws::Vector<ReferenceDataSourceUpdate>&& value) { SetReferenceDataSourceUpdates(std::move(value)); return *this;}
/**
* <p>Describes application reference data source updates.</p>
*/
inline ApplicationUpdate& AddReferenceDataSourceUpdates(const ReferenceDataSourceUpdate& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.push_back(value); return *this; }
/**
* <p>Describes application reference data source updates.</p>
*/
inline ApplicationUpdate& AddReferenceDataSourceUpdates(ReferenceDataSourceUpdate&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.push_back(std::move(value)); return *this; }
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline const Aws::Vector<CloudWatchLoggingOptionUpdate>& GetCloudWatchLoggingOptionUpdates() const{ return m_cloudWatchLoggingOptionUpdates; }
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline bool CloudWatchLoggingOptionUpdatesHasBeenSet() const { return m_cloudWatchLoggingOptionUpdatesHasBeenSet; }
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline void SetCloudWatchLoggingOptionUpdates(const Aws::Vector<CloudWatchLoggingOptionUpdate>& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = value; }
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline void SetCloudWatchLoggingOptionUpdates(Aws::Vector<CloudWatchLoggingOptionUpdate>&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates = std::move(value); }
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline ApplicationUpdate& WithCloudWatchLoggingOptionUpdates(const Aws::Vector<CloudWatchLoggingOptionUpdate>& value) { SetCloudWatchLoggingOptionUpdates(value); return *this;}
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline ApplicationUpdate& WithCloudWatchLoggingOptionUpdates(Aws::Vector<CloudWatchLoggingOptionUpdate>&& value) { SetCloudWatchLoggingOptionUpdates(std::move(value)); return *this;}
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline ApplicationUpdate& AddCloudWatchLoggingOptionUpdates(const CloudWatchLoggingOptionUpdate& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.push_back(value); return *this; }
/**
* <p>Describes application CloudWatch logging option updates.</p>
*/
inline ApplicationUpdate& AddCloudWatchLoggingOptionUpdates(CloudWatchLoggingOptionUpdate&& value) { m_cloudWatchLoggingOptionUpdatesHasBeenSet = true; m_cloudWatchLoggingOptionUpdates.push_back(std::move(value)); return *this; }
private:
Aws::Vector<InputUpdate> m_inputUpdates;
bool m_inputUpdatesHasBeenSet;
Aws::String m_applicationCodeUpdate;
bool m_applicationCodeUpdateHasBeenSet;
Aws::Vector<OutputUpdate> m_outputUpdates;
bool m_outputUpdatesHasBeenSet;
Aws::Vector<ReferenceDataSourceUpdate> m_referenceDataSourceUpdates;
bool m_referenceDataSourceUpdatesHasBeenSet;
Aws::Vector<CloudWatchLoggingOptionUpdate> m_cloudWatchLoggingOptionUpdates;
bool m_cloudWatchLoggingOptionUpdatesHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,152 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides additional mapping information when the record format uses
* delimiters, such as CSV. For example, the following sample records use CSV
* format, where the records use the <i>'\n'</i> as the row delimiter and a comma
* (",") as the column delimiter: </p> <p> <code>"name1", "address1"</code> </p>
* <p> <code>"name2", "address2"</code> </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CSVMappingParameters">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API CSVMappingParameters
{
public:
CSVMappingParameters();
CSVMappingParameters(Aws::Utils::Json::JsonView jsonValue);
CSVMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline const Aws::String& GetRecordRowDelimiter() const{ return m_recordRowDelimiter; }
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline bool RecordRowDelimiterHasBeenSet() const { return m_recordRowDelimiterHasBeenSet; }
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline void SetRecordRowDelimiter(const Aws::String& value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter = value; }
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline void SetRecordRowDelimiter(Aws::String&& value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter = std::move(value); }
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline void SetRecordRowDelimiter(const char* value) { m_recordRowDelimiterHasBeenSet = true; m_recordRowDelimiter.assign(value); }
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline CSVMappingParameters& WithRecordRowDelimiter(const Aws::String& value) { SetRecordRowDelimiter(value); return *this;}
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline CSVMappingParameters& WithRecordRowDelimiter(Aws::String&& value) { SetRecordRowDelimiter(std::move(value)); return *this;}
/**
* <p>Row delimiter. For example, in a CSV format, <i>'\n'</i> is the typical row
* delimiter.</p>
*/
inline CSVMappingParameters& WithRecordRowDelimiter(const char* value) { SetRecordRowDelimiter(value); return *this;}
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline const Aws::String& GetRecordColumnDelimiter() const{ return m_recordColumnDelimiter; }
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline bool RecordColumnDelimiterHasBeenSet() const { return m_recordColumnDelimiterHasBeenSet; }
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline void SetRecordColumnDelimiter(const Aws::String& value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter = value; }
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline void SetRecordColumnDelimiter(Aws::String&& value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter = std::move(value); }
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline void SetRecordColumnDelimiter(const char* value) { m_recordColumnDelimiterHasBeenSet = true; m_recordColumnDelimiter.assign(value); }
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline CSVMappingParameters& WithRecordColumnDelimiter(const Aws::String& value) { SetRecordColumnDelimiter(value); return *this;}
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline CSVMappingParameters& WithRecordColumnDelimiter(Aws::String&& value) { SetRecordColumnDelimiter(std::move(value)); return *this;}
/**
* <p>Column delimiter. For example, in a CSV format, a comma (",") is the typical
* column delimiter.</p>
*/
inline CSVMappingParameters& WithRecordColumnDelimiter(const char* value) { SetRecordColumnDelimiter(value); return *this;}
private:
Aws::String m_recordRowDelimiter;
bool m_recordRowDelimiterHasBeenSet;
Aws::String m_recordColumnDelimiter;
bool m_recordColumnDelimiterHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,150 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides a description of CloudWatch logging options, including the log
* stream Amazon Resource Name (ARN) and the role ARN.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CloudWatchLoggingOption">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API CloudWatchLoggingOption
{
public:
CloudWatchLoggingOption();
CloudWatchLoggingOption(Aws::Utils::Json::JsonView jsonValue);
CloudWatchLoggingOption& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline const Aws::String& GetLogStreamARN() const{ return m_logStreamARN; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(Aws::String&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::move(value); }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOption& WithLogStreamARN(const Aws::String& value) { SetLogStreamARN(value); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOption& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOption& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOption& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOption& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role that is used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOption& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_logStreamARN;
bool m_logStreamARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,192 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Description of the CloudWatch logging option.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CloudWatchLoggingOptionDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API CloudWatchLoggingOptionDescription
{
public:
CloudWatchLoggingOptionDescription();
CloudWatchLoggingOptionDescription(Aws::Utils::Json::JsonView jsonValue);
CloudWatchLoggingOptionDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); }
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;}
/**
* <p>ID of the CloudWatch logging option description.</p>
*/
inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(const char* value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline const Aws::String& GetLogStreamARN() const{ return m_logStreamARN; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(Aws::String&& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = std::move(value); }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const Aws::String& value) { SetLogStreamARN(value); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOptionDescription& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOptionDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOptionDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOptionDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_cloudWatchLoggingOptionId;
bool m_cloudWatchLoggingOptionIdHasBeenSet;
Aws::String m_logStreamARN;
bool m_logStreamARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,192 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes CloudWatch logging option updates.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CloudWatchLoggingOptionUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API CloudWatchLoggingOptionUpdate
{
public:
CloudWatchLoggingOptionUpdate();
CloudWatchLoggingOptionUpdate(Aws::Utils::Json::JsonView jsonValue);
CloudWatchLoggingOptionUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); }
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;}
/**
* <p>ID of the CloudWatch logging option to update</p>
*/
inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(const char* value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline const Aws::String& GetLogStreamARNUpdate() const{ return m_logStreamARNUpdate; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline bool LogStreamARNUpdateHasBeenSet() const { return m_logStreamARNUpdateHasBeenSet; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARNUpdate(const Aws::String& value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate = value; }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARNUpdate(Aws::String&& value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate = std::move(value); }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARNUpdate(const char* value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate.assign(value); }
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(const Aws::String& value) { SetLogStreamARNUpdate(value); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(Aws::String&& value) { SetLogStreamARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(const char* value) { SetLogStreamARNUpdate(value); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>IAM ARN of the role to use to send application messages. Note: To write
* application messages to CloudWatch, the IAM role used must have the
* <code>PutLogEvents</code> policy action enabled.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_cloudWatchLoggingOptionId;
bool m_cloudWatchLoggingOptionIdHasBeenSet;
Aws::String m_logStreamARNUpdate;
bool m_logStreamARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,725 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/Input.h>
#include <aws/kinesisanalytics/model/Output.h>
#include <aws/kinesisanalytics/model/CloudWatchLoggingOption.h>
#include <aws/kinesisanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>TBD</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CreateApplicationRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API CreateApplicationRequest : public KinesisAnalyticsRequest
{
public:
CreateApplicationRequest();
// 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 "CreateApplication"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline CreateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline CreateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of your Amazon Kinesis Analytics application (for example,
* <code>sample-app</code>).</p>
*/
inline CreateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Summary description of the application.</p>
*/
inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
/**
* <p>Summary description of the application.</p>
*/
inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
/**
* <p>Summary description of the application.</p>
*/
inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
/**
* <p>Summary description of the application.</p>
*/
inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
/**
* <p>Summary description of the application.</p>
*/
inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
/**
* <p>Summary description of the application.</p>
*/
inline CreateApplicationRequest& WithApplicationDescription(const Aws::String& value) { SetApplicationDescription(value); return *this;}
/**
* <p>Summary description of the application.</p>
*/
inline CreateApplicationRequest& WithApplicationDescription(Aws::String&& value) { SetApplicationDescription(std::move(value)); return *this;}
/**
* <p>Summary description of the application.</p>
*/
inline CreateApplicationRequest& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline const Aws::Vector<Input>& GetInputs() const{ return m_inputs; }
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline void SetInputs(const Aws::Vector<Input>& value) { m_inputsHasBeenSet = true; m_inputs = value; }
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline void SetInputs(Aws::Vector<Input>&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); }
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline CreateApplicationRequest& WithInputs(const Aws::Vector<Input>& value) { SetInputs(value); return *this;}
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline CreateApplicationRequest& WithInputs(Aws::Vector<Input>&& value) { SetInputs(std::move(value)); return *this;}
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline CreateApplicationRequest& AddInputs(const Input& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; }
/**
* <p>Use this parameter to configure the application input.</p> <p>You can
* configure your application to receive input from a single streaming source. In
* this configuration, you map this streaming source to an in-application stream
* that is created. Your application code can then query the in-application stream
* like a table (you can think of it as a constantly updating table).</p> <p>For
* the streaming source, you provide its Amazon Resource Name (ARN) and format of
* data on the stream (for example, JSON, CSV, etc.). You also must provide an IAM
* role that Amazon Kinesis Analytics can assume to read this stream on your
* behalf.</p> <p>To create the in-application stream, you need to specify a schema
* to transform your data into a schematized version used in SQL. In the schema,
* you provide the necessary mapping of the data elements in the streaming source
* to record columns in the in-app stream.</p>
*/
inline CreateApplicationRequest& AddInputs(Input&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; }
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; }
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputsHasBeenSet = true; m_outputs = value; }
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); }
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline CreateApplicationRequest& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline CreateApplicationRequest& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline CreateApplicationRequest& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; }
/**
* <p>You can configure application output to write data from any of the
* in-application streams to up to three destinations.</p> <p>These destinations
* can be Amazon Kinesis streams, Amazon Kinesis Firehose delivery streams, AWS
* Lambda destinations, or any combination of the three.</p> <p>In the
* configuration, you specify the in-application stream name, the destination
* stream or Lambda function Amazon Resource Name (ARN), and the format to use when
* writing data. You must also provide an IAM role that Amazon Kinesis Analytics
* can assume to write to the destination stream or Lambda function on your
* behalf.</p> <p>In the output configuration, you also provide the output stream
* or Lambda function ARN. For stream destinations, you provide the format of data
* in the stream (for example, JSON, CSV). You also must provide an IAM role that
* Amazon Kinesis Analytics can assume to write to the stream or Lambda function on
* your behalf.</p>
*/
inline CreateApplicationRequest& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; }
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline const Aws::Vector<CloudWatchLoggingOption>& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline void SetCloudWatchLoggingOptions(const Aws::Vector<CloudWatchLoggingOption>& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline void SetCloudWatchLoggingOptions(Aws::Vector<CloudWatchLoggingOption>&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline CreateApplicationRequest& WithCloudWatchLoggingOptions(const Aws::Vector<CloudWatchLoggingOption>& value) { SetCloudWatchLoggingOptions(value); return *this;}
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline CreateApplicationRequest& WithCloudWatchLoggingOptions(Aws::Vector<CloudWatchLoggingOption>&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline CreateApplicationRequest& AddCloudWatchLoggingOptions(const CloudWatchLoggingOption& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions.push_back(value); return *this; }
/**
* <p>Use this parameter to configure a CloudWatch log stream to monitor
* application configuration errors. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/cloudwatch-logs.html">Working
* with Amazon CloudWatch Logs</a>.</p>
*/
inline CreateApplicationRequest& AddCloudWatchLoggingOptions(CloudWatchLoggingOption&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions.push_back(std::move(value)); return *this; }
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline const Aws::String& GetApplicationCode() const{ return m_applicationCode; }
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline bool ApplicationCodeHasBeenSet() const { return m_applicationCodeHasBeenSet; }
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline void SetApplicationCode(const Aws::String& value) { m_applicationCodeHasBeenSet = true; m_applicationCode = value; }
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline void SetApplicationCode(Aws::String&& value) { m_applicationCodeHasBeenSet = true; m_applicationCode = std::move(value); }
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline void SetApplicationCode(const char* value) { m_applicationCodeHasBeenSet = true; m_applicationCode.assign(value); }
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline CreateApplicationRequest& WithApplicationCode(const Aws::String& value) { SetApplicationCode(value); return *this;}
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline CreateApplicationRequest& WithApplicationCode(Aws::String&& value) { SetApplicationCode(std::move(value)); return *this;}
/**
* <p>One or more SQL statements that read input data, transform it, and generate
* output. For example, you can write a SQL statement that reads data from one
* in-application stream, generates a running average of the number of
* advertisement clicks by vendor, and insert resulting rows in another
* in-application stream using pumps. For more information about the typical
* pattern, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-app-code.html">Application
* Code</a>. </p> <p>You can provide such series of SQL statements, where output of
* one statement can be used as the input for the next statement. You store
* intermediate results by creating in-application streams and pumps.</p> <p>Note
* that the application code must create the streams with names specified in the
* <code>Outputs</code>. For example, if your <code>Outputs</code> defines output
* streams named <code>ExampleOutputStream1</code> and
* <code>ExampleOutputStream2</code>, then your application code must create these
* streams. </p>
*/
inline CreateApplicationRequest& WithApplicationCode(const char* value) { SetApplicationCode(value); return *this;}
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline CreateApplicationRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline CreateApplicationRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline CreateApplicationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>A list of one or more tags to assign to the application. A tag is a key-value
* pair that identifies an application. Note that the maximum number of application
* tags includes system tags. The maximum number of user-defined application tags
* is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p>
*/
inline CreateApplicationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_applicationDescription;
bool m_applicationDescriptionHasBeenSet;
Aws::Vector<Input> m_inputs;
bool m_inputsHasBeenSet;
Aws::Vector<Output> m_outputs;
bool m_outputsHasBeenSet;
Aws::Vector<CloudWatchLoggingOption> m_cloudWatchLoggingOptions;
bool m_cloudWatchLoggingOptionsHasBeenSet;
Aws::String m_applicationCode;
bool m_applicationCodeHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,82 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/ApplicationSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>TBD</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CreateApplicationResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API CreateApplicationResult
{
public:
CreateApplicationResult();
CreateApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>In response to your <code>CreateApplication</code> request, Amazon Kinesis
* Analytics returns a response with a summary of the application it created,
* including the application Amazon Resource Name (ARN), name, and status.</p>
*/
inline const ApplicationSummary& GetApplicationSummary() const{ return m_applicationSummary; }
/**
* <p>In response to your <code>CreateApplication</code> request, Amazon Kinesis
* Analytics returns a response with a summary of the application it created,
* including the application Amazon Resource Name (ARN), name, and status.</p>
*/
inline void SetApplicationSummary(const ApplicationSummary& value) { m_applicationSummary = value; }
/**
* <p>In response to your <code>CreateApplication</code> request, Amazon Kinesis
* Analytics returns a response with a summary of the application it created,
* including the application Amazon Resource Name (ARN), name, and status.</p>
*/
inline void SetApplicationSummary(ApplicationSummary&& value) { m_applicationSummary = std::move(value); }
/**
* <p>In response to your <code>CreateApplication</code> request, Amazon Kinesis
* Analytics returns a response with a summary of the application it created,
* including the application Amazon Resource Name (ARN), name, and status.</p>
*/
inline CreateApplicationResult& WithApplicationSummary(const ApplicationSummary& value) { SetApplicationSummary(value); return *this;}
/**
* <p>In response to your <code>CreateApplication</code> request, Amazon Kinesis
* Analytics returns a response with a summary of the application it created,
* including the application Amazon Resource Name (ARN), name, and status.</p>
*/
inline CreateApplicationResult& WithApplicationSummary(ApplicationSummary&& value) { SetApplicationSummary(std::move(value)); return *this;}
private:
ApplicationSummary m_applicationSummary;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API DeleteApplicationCloudWatchLoggingOptionRequest : public KinesisAnalyticsRequest
{
public:
DeleteApplicationCloudWatchLoggingOptionRequest();
// 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 "DeleteApplicationCloudWatchLoggingOption"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;}
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the CloudWatch logging option
* to delete. You can get the <code>CloudWatchLoggingOptionId</code> by using the
* <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation. </p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOptionId(const char* value) { SetCloudWatchLoggingOptionId(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Aws::String m_cloudWatchLoggingOptionId;
bool m_cloudWatchLoggingOptionIdHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API DeleteApplicationCloudWatchLoggingOptionResult
{
public:
DeleteApplicationCloudWatchLoggingOptionResult();
DeleteApplicationCloudWatchLoggingOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationCloudWatchLoggingOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API DeleteApplicationInputProcessingConfigurationRequest : public KinesisAnalyticsRequest
{
public:
DeleteApplicationInputProcessingConfigurationRequest();
// 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 "DeleteApplicationInputProcessingConfiguration"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The Kinesis Analytics application name.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The version ID of the Kinesis Analytics application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>The ID of the input configuration from which to delete the input processing
* configuration. You can get a list of the input IDs for an application by using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithInputId(const char* value) { SetInputId(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Aws::String m_inputId;
bool m_inputIdHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API DeleteApplicationInputProcessingConfigurationResult
{
public:
DeleteApplicationInputProcessingConfigurationResult();
DeleteApplicationInputProcessingConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationInputProcessingConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,236 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationOutputRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DeleteApplicationOutputRequest : public KinesisAnalyticsRequest
{
public:
DeleteApplicationOutputRequest();
// 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 "DeleteApplicationOutput"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline DeleteApplicationOutputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline DeleteApplicationOutputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Amazon Kinesis Analytics application name.</p>
*/
inline DeleteApplicationOutputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Amazon Kinesis Analytics application version. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>Amazon Kinesis Analytics application version. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>Amazon Kinesis Analytics application version. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>Amazon Kinesis Analytics application version. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned. </p>
*/
inline DeleteApplicationOutputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline const Aws::String& GetOutputId() const{ return m_outputId; }
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline bool OutputIdHasBeenSet() const { return m_outputIdHasBeenSet; }
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline void SetOutputId(const Aws::String& value) { m_outputIdHasBeenSet = true; m_outputId = value; }
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline void SetOutputId(Aws::String&& value) { m_outputIdHasBeenSet = true; m_outputId = std::move(value); }
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline void SetOutputId(const char* value) { m_outputIdHasBeenSet = true; m_outputId.assign(value); }
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline DeleteApplicationOutputRequest& WithOutputId(const Aws::String& value) { SetOutputId(value); return *this;}
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline DeleteApplicationOutputRequest& WithOutputId(Aws::String&& value) { SetOutputId(std::move(value)); return *this;}
/**
* <p>The ID of the configuration to delete. Each output configuration that is
* added to the application, either when the application is created or later using
* the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationOutput.html">AddApplicationOutput</a>
* operation, has a unique ID. You need to provide the ID to uniquely identify the
* output configuration that you want to delete from the application configuration.
* You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the specific <code>OutputId</code>. </p>
*/
inline DeleteApplicationOutputRequest& WithOutputId(const char* value) { SetOutputId(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Aws::String m_outputId;
bool m_outputIdHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationOutputResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DeleteApplicationOutputResult
{
public:
DeleteApplicationOutputResult();
DeleteApplicationOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,209 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API DeleteApplicationReferenceDataSourceRequest : public KinesisAnalyticsRequest
{
public:
DeleteApplicationReferenceDataSourceRequest();
// 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 "DeleteApplicationReferenceDataSource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of an existing application.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of an existing application.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of an existing application.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Version of the application. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>Version of the application. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>Version of the application. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>Version of the application. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the current application version. If the version specified is
* not the current version, the <code>ConcurrentModificationException</code> is
* returned.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
/**
* <p>ID of the reference data source. When you add a reference data source to your
* application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>,
* Amazon Kinesis Analytics assigns an ID. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Aws::String m_referenceId;
bool m_referenceIdHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API DeleteApplicationReferenceDataSourceResult
{
public:
DeleteApplicationReferenceDataSourceResult();
DeleteApplicationReferenceDataSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationReferenceDataSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,129 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DeleteApplicationRequest : public KinesisAnalyticsRequest
{
public:
DeleteApplicationRequest();
// 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 "DeleteApplication"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline DeleteApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline DeleteApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the Amazon Kinesis Analytics application to delete.</p>
*/
inline DeleteApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p> You can use the <code>DescribeApplication</code> operation to get this
* value. </p>
*/
inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
/**
* <p> You can use the <code>DescribeApplication</code> operation to get this
* value. </p>
*/
inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
/**
* <p> You can use the <code>DescribeApplication</code> operation to get this
* value. </p>
*/
inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
/**
* <p> You can use the <code>DescribeApplication</code> operation to get this
* value. </p>
*/
inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
/**
* <p> You can use the <code>DescribeApplication</code> operation to get this
* value. </p>
*/
inline DeleteApplicationRequest& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
/**
* <p> You can use the <code>DescribeApplication</code> operation to get this
* value. </p>
*/
inline DeleteApplicationRequest& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::Utils::DateTime m_createTimestamp;
bool m_createTimestampHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DeleteApplicationResult
{
public:
DeleteApplicationResult();
DeleteApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,88 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DescribeApplicationRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DescribeApplicationRequest : public KinesisAnalyticsRequest
{
public:
DescribeApplicationRequest();
// 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 "DescribeApplication"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the application.</p>
*/
inline DescribeApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the application.</p>
*/
inline DescribeApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application.</p>
*/
inline DescribeApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,82 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/ApplicationDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DescribeApplicationResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DescribeApplicationResult
{
public:
DescribeApplicationResult();
DescribeApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Provides a description of the application, such as the application Amazon
* Resource Name (ARN), status, latest version, and input and output configuration
* details.</p>
*/
inline const ApplicationDetail& GetApplicationDetail() const{ return m_applicationDetail; }
/**
* <p>Provides a description of the application, such as the application Amazon
* Resource Name (ARN), status, latest version, and input and output configuration
* details.</p>
*/
inline void SetApplicationDetail(const ApplicationDetail& value) { m_applicationDetail = value; }
/**
* <p>Provides a description of the application, such as the application Amazon
* Resource Name (ARN), status, latest version, and input and output configuration
* details.</p>
*/
inline void SetApplicationDetail(ApplicationDetail&& value) { m_applicationDetail = std::move(value); }
/**
* <p>Provides a description of the application, such as the application Amazon
* Resource Name (ARN), status, latest version, and input and output configuration
* details.</p>
*/
inline DescribeApplicationResult& WithApplicationDetail(const ApplicationDetail& value) { SetApplicationDetail(value); return *this;}
/**
* <p>Provides a description of the application, such as the application Amazon
* Resource Name (ARN), status, latest version, and input and output configuration
* details.</p>
*/
inline DescribeApplicationResult& WithApplicationDetail(ApplicationDetail&& value) { SetApplicationDetail(std::move(value)); return *this;}
private:
ApplicationDetail m_applicationDetail;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,81 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/RecordFormatType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DestinationSchema">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DestinationSchema
{
public:
DestinationSchema();
DestinationSchema(Aws::Utils::Json::JsonView jsonValue);
DestinationSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies the format of the records on the output stream.</p>
*/
inline const RecordFormatType& GetRecordFormatType() const{ return m_recordFormatType; }
/**
* <p>Specifies the format of the records on the output stream.</p>
*/
inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
/**
* <p>Specifies the format of the records on the output stream.</p>
*/
inline void SetRecordFormatType(const RecordFormatType& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; }
/**
* <p>Specifies the format of the records on the output stream.</p>
*/
inline void SetRecordFormatType(RecordFormatType&& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = std::move(value); }
/**
* <p>Specifies the format of the records on the output stream.</p>
*/
inline DestinationSchema& WithRecordFormatType(const RecordFormatType& value) { SetRecordFormatType(value); return *this;}
/**
* <p>Specifies the format of the records on the output stream.</p>
*/
inline DestinationSchema& WithRecordFormatType(RecordFormatType&& value) { SetRecordFormatType(std::move(value)); return *this;}
private:
RecordFormatType m_recordFormatType;
bool m_recordFormatTypeHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,272 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/InputStartingPositionConfiguration.h>
#include <aws/kinesisanalytics/model/S3Configuration.h>
#include <aws/kinesisanalytics/model/InputProcessingConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API DiscoverInputSchemaRequest : public KinesisAnalyticsRequest
{
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>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline DiscoverInputSchemaRequest& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline DiscoverInputSchemaRequest& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf.</p>
*/
inline DiscoverInputSchemaRequest& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
/**
* <p>Point at which you want Amazon Kinesis Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
/**
* <p>Point at which you want Amazon Kinesis Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
/**
* <p>Point at which you want Amazon Kinesis 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>Point at which you want Amazon Kinesis 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>Point at which you want Amazon Kinesis Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline DiscoverInputSchemaRequest& WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { SetInputStartingPositionConfiguration(value); return *this;}
/**
* <p>Point at which you want Amazon Kinesis 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
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">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
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">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
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">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
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">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
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">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
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">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_roleARN;
bool m_roleARNHasBeenSet;
InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
bool m_inputStartingPositionConfigurationHasBeenSet;
S3Configuration m_s3Configuration;
bool m_s3ConfigurationHasBeenSet;
InputProcessingConfiguration m_inputProcessingConfiguration;
bool m_inputProcessingConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,223 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/SourceSchema.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DiscoverInputSchemaResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API DiscoverInputSchemaResult
{
public:
DiscoverInputSchemaResult();
DiscoverInputSchemaResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DiscoverInputSchemaResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Schema inferred from the streaming source. It identifies the format of the
* data in the streaming source and how each data element maps to corresponding
* columns in the in-application stream that you can create.</p>
*/
inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
/**
* <p>Schema inferred from the streaming source. It identifies the format of the
* data in the streaming source and how each data element maps to corresponding
* columns in the in-application stream that you can create.</p>
*/
inline void SetInputSchema(const SourceSchema& value) { m_inputSchema = value; }
/**
* <p>Schema inferred from the streaming source. It identifies the format of the
* data in the streaming source and how each data element maps to corresponding
* columns in the in-application stream that you can create.</p>
*/
inline void SetInputSchema(SourceSchema&& value) { m_inputSchema = std::move(value); }
/**
* <p>Schema inferred from the streaming source. It identifies the format of the
* data in the streaming source and how each data element maps to corresponding
* columns in the in-application stream that you can create.</p>
*/
inline DiscoverInputSchemaResult& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
/**
* <p>Schema inferred from the streaming source. It identifies the format of the
* data in the streaming source and how each data element maps to corresponding
* columns in the in-application stream that you can create.</p>
*/
inline DiscoverInputSchemaResult& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline const Aws::Vector<Aws::Vector<Aws::String>>& GetParsedInputRecords() const{ return m_parsedInputRecords; }
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline void SetParsedInputRecords(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_parsedInputRecords = value; }
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline void SetParsedInputRecords(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_parsedInputRecords = std::move(value); }
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline DiscoverInputSchemaResult& WithParsedInputRecords(const Aws::Vector<Aws::Vector<Aws::String>>& value) { SetParsedInputRecords(value); return *this;}
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline DiscoverInputSchemaResult& WithParsedInputRecords(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetParsedInputRecords(std::move(value)); return *this;}
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline DiscoverInputSchemaResult& AddParsedInputRecords(const Aws::Vector<Aws::String>& value) { m_parsedInputRecords.push_back(value); return *this; }
/**
* <p>An array of elements, where each element corresponds to a row in a stream
* record (a stream record can have more than one row).</p>
*/
inline DiscoverInputSchemaResult& AddParsedInputRecords(Aws::Vector<Aws::String>&& value) { m_parsedInputRecords.push_back(std::move(value)); return *this; }
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const{ return m_processedInputRecords; }
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline void SetProcessedInputRecords(const Aws::Vector<Aws::String>& value) { m_processedInputRecords = value; }
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline void SetProcessedInputRecords(Aws::Vector<Aws::String>&& value) { m_processedInputRecords = std::move(value); }
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline DiscoverInputSchemaResult& WithProcessedInputRecords(const Aws::Vector<Aws::String>& value) { SetProcessedInputRecords(value); return *this;}
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline DiscoverInputSchemaResult& WithProcessedInputRecords(Aws::Vector<Aws::String>&& value) { SetProcessedInputRecords(std::move(value)); return *this;}
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline DiscoverInputSchemaResult& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecords.push_back(value); return *this; }
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline DiscoverInputSchemaResult& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecords.push_back(std::move(value)); return *this; }
/**
* <p>Stream data that was modified by the processor specified in the
* <code>InputProcessingConfiguration</code> parameter.</p>
*/
inline DiscoverInputSchemaResult& AddProcessedInputRecords(const char* value) { m_processedInputRecords.push_back(value); return *this; }
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecords = value; }
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline void SetRawInputRecords(Aws::Vector<Aws::String>&& value) { m_rawInputRecords = std::move(value); }
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline DiscoverInputSchemaResult& WithRawInputRecords(const Aws::Vector<Aws::String>& value) { SetRawInputRecords(value); return *this;}
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline DiscoverInputSchemaResult& WithRawInputRecords(Aws::Vector<Aws::String>&& value) { SetRawInputRecords(std::move(value)); return *this;}
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline DiscoverInputSchemaResult& AddRawInputRecords(const Aws::String& value) { m_rawInputRecords.push_back(value); return *this; }
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline DiscoverInputSchemaResult& AddRawInputRecords(Aws::String&& value) { m_rawInputRecords.push_back(std::move(value)); return *this; }
/**
* <p>Raw stream data that was sampled to infer the schema.</p>
*/
inline DiscoverInputSchemaResult& AddRawInputRecords(const char* value) { m_rawInputRecords.push_back(value); return *this; }
private:
SourceSchema m_inputSchema;
Aws::Vector<Aws::Vector<Aws::String>> m_parsedInputRecords;
Aws::Vector<Aws::String> m_processedInputRecords;
Aws::Vector<Aws::String> m_rawInputRecords;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,413 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/InputProcessingConfiguration.h>
#include <aws/kinesisanalytics/model/KinesisStreamsInput.h>
#include <aws/kinesisanalytics/model/KinesisFirehoseInput.h>
#include <aws/kinesisanalytics/model/InputParallelism.h>
#include <aws/kinesisanalytics/model/SourceSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>When you configure the application input, you specify the streaming source,
* the in-application stream name that is created, and the mapping between the two.
* For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/Input">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API Input
{
public:
Input();
Input(Aws::Utils::Json::JsonView jsonValue);
Input& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline Input& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline Input& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
/**
* <p>Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the <code>InputParallelism</code> count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on. </p>
*/
inline Input& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* for the input. An input processor transforms records as they are received from
* the stream, before the application's SQL code executes. Currently, the only
* input processing configuration available is <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* for the input. An input processor transforms records as they are received from
* the stream, before the application's SQL code executes. Currently, the only
* input processing configuration available is <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* for the input. An input processor transforms records as they are received from
* the stream, before the application's SQL code executes. Currently, the only
* input processing configuration available is <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* for the input. An input processor transforms records as they are received from
* the stream, before the application's SQL code executes. Currently, the only
* input processing configuration available is <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* for the input. An input processor transforms records as they are received from
* the stream, before the application's SQL code executes. Currently, the only
* input processing configuration available is <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline Input& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>
* for the input. An input processor transforms records as they are received from
* the stream, before the application's SQL code executes. Currently, the only
* input processing configuration available is <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline Input& WithInputProcessingConfiguration(InputProcessingConfiguration&& value) { SetInputProcessingConfiguration(std::move(value)); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis stream, identifies the stream's
* Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics
* to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline const KinesisStreamsInput& GetKinesisStreamsInput() const{ return m_kinesisStreamsInput; }
/**
* <p>If the streaming source is an Amazon Kinesis stream, identifies the stream's
* Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics
* to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline bool KinesisStreamsInputHasBeenSet() const { return m_kinesisStreamsInputHasBeenSet; }
/**
* <p>If the streaming source is an Amazon Kinesis stream, identifies the stream's
* Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics
* to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline void SetKinesisStreamsInput(const KinesisStreamsInput& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = value; }
/**
* <p>If the streaming source is an Amazon Kinesis stream, identifies the stream's
* Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics
* to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline void SetKinesisStreamsInput(KinesisStreamsInput&& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = std::move(value); }
/**
* <p>If the streaming source is an Amazon Kinesis stream, identifies the stream's
* Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics
* to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline Input& WithKinesisStreamsInput(const KinesisStreamsInput& value) { SetKinesisStreamsInput(value); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis stream, identifies the stream's
* Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics
* to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline Input& WithKinesisStreamsInput(KinesisStreamsInput&& value) { SetKinesisStreamsInput(std::move(value)); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis Firehose delivery stream,
* identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis
* Analytics to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline const KinesisFirehoseInput& GetKinesisFirehoseInput() const{ return m_kinesisFirehoseInput; }
/**
* <p>If the streaming source is an Amazon Kinesis Firehose delivery stream,
* identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis
* Analytics to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline bool KinesisFirehoseInputHasBeenSet() const { return m_kinesisFirehoseInputHasBeenSet; }
/**
* <p>If the streaming source is an Amazon Kinesis Firehose delivery stream,
* identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis
* Analytics to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline void SetKinesisFirehoseInput(const KinesisFirehoseInput& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = value; }
/**
* <p>If the streaming source is an Amazon Kinesis Firehose delivery stream,
* identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis
* Analytics to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline void SetKinesisFirehoseInput(KinesisFirehoseInput&& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = std::move(value); }
/**
* <p>If the streaming source is an Amazon Kinesis Firehose delivery stream,
* identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis
* Analytics to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline Input& WithKinesisFirehoseInput(const KinesisFirehoseInput& value) { SetKinesisFirehoseInput(value); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis Firehose delivery stream,
* identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis
* Analytics to access the stream on your behalf.</p> <p>Note: Either
* <code>KinesisStreamsInput</code> or <code>KinesisFirehoseInput</code> is
* required.</p>
*/
inline Input& WithKinesisFirehoseInput(KinesisFirehoseInput&& value) { SetKinesisFirehoseInput(std::move(value)); return *this;}
/**
* <p>Describes the number of in-application streams to create. </p> <p>Data from
* your source is routed to these in-application input streams.</p> <p> (see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>.</p>
*/
inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
/**
* <p>Describes the number of in-application streams to create. </p> <p>Data from
* your source is routed to these in-application input streams.</p> <p> (see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>.</p>
*/
inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
/**
* <p>Describes the number of in-application streams to create. </p> <p>Data from
* your source is routed to these in-application input streams.</p> <p> (see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>.</p>
*/
inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
/**
* <p>Describes the number of in-application streams to create. </p> <p>Data from
* your source is routed to these in-application input streams.</p> <p> (see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>.</p>
*/
inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); }
/**
* <p>Describes the number of in-application streams to create. </p> <p>Data from
* your source is routed to these in-application input streams.</p> <p> (see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>.</p>
*/
inline Input& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
/**
* <p>Describes the number of in-application streams to create. </p> <p>Data from
* your source is routed to these in-application input streams.</p> <p> (see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>.</p>
*/
inline Input& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created.</p> <p>Also used to describe the format of the reference data
* source.</p>
*/
inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created.</p> <p>Also used to describe the format of the reference data
* source.</p>
*/
inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created.</p> <p>Also used to describe the format of the reference data
* source.</p>
*/
inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created.</p> <p>Also used to describe the format of the reference data
* source.</p>
*/
inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created.</p> <p>Also used to describe the format of the reference data
* source.</p>
*/
inline Input& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created.</p> <p>Also used to describe the format of the reference data
* source.</p>
*/
inline Input& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
private:
Aws::String m_namePrefix;
bool m_namePrefixHasBeenSet;
InputProcessingConfiguration m_inputProcessingConfiguration;
bool m_inputProcessingConfigurationHasBeenSet;
KinesisStreamsInput m_kinesisStreamsInput;
bool m_kinesisStreamsInputHasBeenSet;
KinesisFirehoseInput m_kinesisFirehoseInput;
bool m_kinesisFirehoseInputHasBeenSet;
InputParallelism m_inputParallelism;
bool m_inputParallelismHasBeenSet;
SourceSchema m_inputSchema;
bool m_inputSchemaHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,147 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/InputStartingPositionConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>When you start your application, you provide this configuration, which
* identifies the input source and the point in the input source at which you want
* the application to start processing records.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputConfiguration
{
public:
InputConfiguration();
InputConfiguration(Aws::Utils::Json::JsonView jsonValue);
InputConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline InputConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline InputConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* <p>Input source ID. You can get this ID by calling the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation.</p>
*/
inline InputConfiguration& WithId(const char* value) { SetId(value); return *this;}
/**
* <p>Point at which you want the application to start processing records from the
* streaming source.</p>
*/
inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
/**
* <p>Point at which you want the application to start processing records from the
* streaming source.</p>
*/
inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
/**
* <p>Point at which you want the application to start processing records from the
* streaming source.</p>
*/
inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
/**
* <p>Point at which you want the application to start processing records from the
* streaming source.</p>
*/
inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
/**
* <p>Point at which you want the application to start processing records from the
* streaming source.</p>
*/
inline InputConfiguration& WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { SetInputStartingPositionConfiguration(value); return *this;}
/**
* <p>Point at which you want the application to start processing records from the
* streaming source.</p>
*/
inline InputConfiguration& WithInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { SetInputStartingPositionConfiguration(std::move(value)); return *this;}
private:
Aws::String m_id;
bool m_idHasBeenSet;
InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
bool m_inputStartingPositionConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,473 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/InputProcessingConfigurationDescription.h>
#include <aws/kinesisanalytics/model/KinesisStreamsInputDescription.h>
#include <aws/kinesisanalytics/model/KinesisFirehoseInputDescription.h>
#include <aws/kinesisanalytics/model/SourceSchema.h>
#include <aws/kinesisanalytics/model/InputParallelism.h>
#include <aws/kinesisanalytics/model/InputStartingPositionConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the application input configuration. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputDescription
{
public:
InputDescription();
InputDescription(Aws::Utils::Json::JsonView jsonValue);
InputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline InputDescription& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline InputDescription& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>Input ID associated with the application input. This is the ID that Amazon
* Kinesis Analytics assigns to each input configuration you add to your
* application. </p>
*/
inline InputDescription& WithInputId(const char* value) { SetInputId(value); return *this;}
/**
* <p>In-application name prefix.</p>
*/
inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
/**
* <p>In-application name prefix.</p>
*/
inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
/**
* <p>In-application name prefix.</p>
*/
inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
/**
* <p>In-application name prefix.</p>
*/
inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
/**
* <p>In-application name prefix.</p>
*/
inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
/**
* <p>In-application name prefix.</p>
*/
inline InputDescription& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
/**
* <p>In-application name prefix.</p>
*/
inline InputDescription& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
/**
* <p>In-application name prefix.</p>
*/
inline InputDescription& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline const Aws::Vector<Aws::String>& GetInAppStreamNames() const{ return m_inAppStreamNames; }
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline bool InAppStreamNamesHasBeenSet() const { return m_inAppStreamNamesHasBeenSet; }
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline void SetInAppStreamNames(const Aws::Vector<Aws::String>& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames = value; }
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline void SetInAppStreamNames(Aws::Vector<Aws::String>&& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames = std::move(value); }
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline InputDescription& WithInAppStreamNames(const Aws::Vector<Aws::String>& value) { SetInAppStreamNames(value); return *this;}
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline InputDescription& WithInAppStreamNames(Aws::Vector<Aws::String>&& value) { SetInAppStreamNames(std::move(value)); return *this;}
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline InputDescription& AddInAppStreamNames(const Aws::String& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(value); return *this; }
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline InputDescription& AddInAppStreamNames(Aws::String&& value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(std::move(value)); return *this; }
/**
* <p>Returns the in-application stream names that are mapped to the stream
* source.</p>
*/
inline InputDescription& AddInAppStreamNames(const char* value) { m_inAppStreamNamesHasBeenSet = true; m_inAppStreamNames.push_back(value); return *this; }
/**
* <p>The description of the preprocessor that executes on records in this input
* before the application's code is run.</p>
*/
inline const InputProcessingConfigurationDescription& GetInputProcessingConfigurationDescription() const{ return m_inputProcessingConfigurationDescription; }
/**
* <p>The description of the preprocessor that executes on records in this input
* before the application's code is run.</p>
*/
inline bool InputProcessingConfigurationDescriptionHasBeenSet() const { return m_inputProcessingConfigurationDescriptionHasBeenSet; }
/**
* <p>The description of the preprocessor that executes on records in this input
* before the application's code is run.</p>
*/
inline void SetInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription& value) { m_inputProcessingConfigurationDescriptionHasBeenSet = true; m_inputProcessingConfigurationDescription = value; }
/**
* <p>The description of the preprocessor that executes on records in this input
* before the application's code is run.</p>
*/
inline void SetInputProcessingConfigurationDescription(InputProcessingConfigurationDescription&& value) { m_inputProcessingConfigurationDescriptionHasBeenSet = true; m_inputProcessingConfigurationDescription = std::move(value); }
/**
* <p>The description of the preprocessor that executes on records in this input
* before the application's code is run.</p>
*/
inline InputDescription& WithInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription& value) { SetInputProcessingConfigurationDescription(value); return *this;}
/**
* <p>The description of the preprocessor that executes on records in this input
* before the application's code is run.</p>
*/
inline InputDescription& WithInputProcessingConfigurationDescription(InputProcessingConfigurationDescription&& value) { SetInputProcessingConfigurationDescription(std::move(value)); return *this;}
/**
* <p>If an Amazon Kinesis stream is configured as streaming source, provides
* Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables
* Amazon Kinesis Analytics to access the stream on your behalf.</p>
*/
inline const KinesisStreamsInputDescription& GetKinesisStreamsInputDescription() const{ return m_kinesisStreamsInputDescription; }
/**
* <p>If an Amazon Kinesis stream is configured as streaming source, provides
* Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables
* Amazon Kinesis Analytics to access the stream on your behalf.</p>
*/
inline bool KinesisStreamsInputDescriptionHasBeenSet() const { return m_kinesisStreamsInputDescriptionHasBeenSet; }
/**
* <p>If an Amazon Kinesis stream is configured as streaming source, provides
* Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables
* Amazon Kinesis Analytics to access the stream on your behalf.</p>
*/
inline void SetKinesisStreamsInputDescription(const KinesisStreamsInputDescription& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = value; }
/**
* <p>If an Amazon Kinesis stream is configured as streaming source, provides
* Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables
* Amazon Kinesis Analytics to access the stream on your behalf.</p>
*/
inline void SetKinesisStreamsInputDescription(KinesisStreamsInputDescription&& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = std::move(value); }
/**
* <p>If an Amazon Kinesis stream is configured as streaming source, provides
* Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables
* Amazon Kinesis Analytics to access the stream on your behalf.</p>
*/
inline InputDescription& WithKinesisStreamsInputDescription(const KinesisStreamsInputDescription& value) { SetKinesisStreamsInputDescription(value); return *this;}
/**
* <p>If an Amazon Kinesis stream is configured as streaming source, provides
* Amazon Kinesis stream's Amazon Resource Name (ARN) and an IAM role that enables
* Amazon Kinesis Analytics to access the stream on your behalf.</p>
*/
inline InputDescription& WithKinesisStreamsInputDescription(KinesisStreamsInputDescription&& value) { SetKinesisStreamsInputDescription(std::move(value)); return *this;}
/**
* <p>If an Amazon Kinesis Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN and an IAM role that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p>
*/
inline const KinesisFirehoseInputDescription& GetKinesisFirehoseInputDescription() const{ return m_kinesisFirehoseInputDescription; }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN and an IAM role that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p>
*/
inline bool KinesisFirehoseInputDescriptionHasBeenSet() const { return m_kinesisFirehoseInputDescriptionHasBeenSet; }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN and an IAM role that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p>
*/
inline void SetKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = value; }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN and an IAM role that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p>
*/
inline void SetKinesisFirehoseInputDescription(KinesisFirehoseInputDescription&& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = std::move(value); }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN and an IAM role that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p>
*/
inline InputDescription& WithKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription& value) { SetKinesisFirehoseInputDescription(value); return *this;}
/**
* <p>If an Amazon Kinesis Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN and an IAM role that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p>
*/
inline InputDescription& WithKinesisFirehoseInputDescription(KinesisFirehoseInputDescription&& value) { SetKinesisFirehoseInputDescription(std::move(value)); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created. </p>
*/
inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created. </p>
*/
inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created. </p>
*/
inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created. </p>
*/
inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created. </p>
*/
inline InputDescription& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns in the in-application stream that is being
* created. </p>
*/
inline InputDescription& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;}
/**
* <p>Describes the configured parallelism (number of in-application streams mapped
* to the streaming source).</p>
*/
inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
/**
* <p>Describes the configured parallelism (number of in-application streams mapped
* to the streaming source).</p>
*/
inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
/**
* <p>Describes the configured parallelism (number of in-application streams mapped
* to the streaming source).</p>
*/
inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
/**
* <p>Describes the configured parallelism (number of in-application streams mapped
* to the streaming source).</p>
*/
inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); }
/**
* <p>Describes the configured parallelism (number of in-application streams mapped
* to the streaming source).</p>
*/
inline InputDescription& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
/**
* <p>Describes the configured parallelism (number of in-application streams mapped
* to the streaming source).</p>
*/
inline InputDescription& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;}
/**
* <p>Point at which the application is configured to read from the input
* stream.</p>
*/
inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
/**
* <p>Point at which the application is configured to read from the input
* stream.</p>
*/
inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
/**
* <p>Point at which the application is configured to read from the input
* stream.</p>
*/
inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
/**
* <p>Point at which the application is configured to read from the input
* stream.</p>
*/
inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
/**
* <p>Point at which the application is configured to read from the input
* stream.</p>
*/
inline InputDescription& WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { SetInputStartingPositionConfiguration(value); return *this;}
/**
* <p>Point at which the application is configured to read from the input
* stream.</p>
*/
inline InputDescription& WithInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { SetInputStartingPositionConfiguration(std::move(value)); return *this;}
private:
Aws::String m_inputId;
bool m_inputIdHasBeenSet;
Aws::String m_namePrefix;
bool m_namePrefixHasBeenSet;
Aws::Vector<Aws::String> m_inAppStreamNames;
bool m_inAppStreamNamesHasBeenSet;
InputProcessingConfigurationDescription m_inputProcessingConfigurationDescription;
bool m_inputProcessingConfigurationDescriptionHasBeenSet;
KinesisStreamsInputDescription m_kinesisStreamsInputDescription;
bool m_kinesisStreamsInputDescriptionHasBeenSet;
KinesisFirehoseInputDescription m_kinesisFirehoseInputDescription;
bool m_kinesisFirehoseInputDescriptionHasBeenSet;
SourceSchema m_inputSchema;
bool m_inputSchemaHasBeenSet;
InputParallelism m_inputParallelism;
bool m_inputParallelismHasBeenSet;
InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
bool m_inputStartingPositionConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,183 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>An object that contains the Amazon Resource Name (ARN) of the <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess records in the stream, and the ARN of the IAM role that is used to
* access the AWS Lambda function. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessor">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputLambdaProcessor
{
public:
InputLambdaProcessor();
InputLambdaProcessor(Aws::Utils::Json::JsonView jsonValue);
InputLambdaProcessor& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline InputLambdaProcessor& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline InputLambdaProcessor& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that operates on records in the stream.</p> <p>To specify an
* earlier version of the Lambda function than the latest, include the Lambda
* function version in the Lambda function ARN. For more information about Lambda
* ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline InputLambdaProcessor& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline InputLambdaProcessor& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline InputLambdaProcessor& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline InputLambdaProcessor& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,143 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>An object that contains the Amazon Resource Name (ARN) of the <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess records in the stream, and the ARN of the IAM role that is used to
* access the AWS Lambda expression.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessorDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputLambdaProcessorDescription
{
public:
InputLambdaProcessorDescription();
InputLambdaProcessorDescription(Aws::Utils::Json::JsonView jsonValue);
InputLambdaProcessorDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline InputLambdaProcessorDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline InputLambdaProcessorDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the <a href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>
* function that is used to preprocess the records in the stream.</p>
*/
inline InputLambdaProcessorDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline InputLambdaProcessorDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline InputLambdaProcessorDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The ARN of the IAM role that is used to access the AWS Lambda function.</p>
*/
inline InputLambdaProcessorDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,199 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Represents an update to the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputLambdaProcessorUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputLambdaProcessorUpdate
{
public:
InputLambdaProcessorUpdate();
InputLambdaProcessorUpdate(Aws::Utils::Json::JsonView jsonValue);
InputLambdaProcessorUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline InputLambdaProcessorUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline InputLambdaProcessorUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the new <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a> function that is used
* to preprocess the records in the stream.</p> <p>To specify an earlier
* version of the Lambda function than the latest, include the Lambda function
* version in the Lambda function ARN. For more information about Lambda ARNs, see
* <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline InputLambdaProcessorUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline InputLambdaProcessorUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline InputLambdaProcessorUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>The ARN of the new IAM role that is used to access the AWS Lambda
* function.</p>
*/
inline InputLambdaProcessorUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the number of in-application streams to create for a given
* streaming source. For information about parallelism, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-input.html">Configuring
* Application Input</a>. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputParallelism">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputParallelism
{
public:
InputParallelism();
InputParallelism(Aws::Utils::Json::JsonView jsonValue);
InputParallelism& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Number of in-application streams to create. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
* </p>
*/
inline int GetCount() const{ return m_count; }
/**
* <p>Number of in-application streams to create. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
* </p>
*/
inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
/**
* <p>Number of in-application streams to create. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
* </p>
*/
inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
/**
* <p>Number of in-application streams to create. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
* </p>
*/
inline InputParallelism& WithCount(int value) { SetCount(value); return *this;}
private:
int m_count;
bool m_countHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,70 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides updates to the parallelism count.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputParallelismUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputParallelismUpdate
{
public:
InputParallelismUpdate();
InputParallelismUpdate(Aws::Utils::Json::JsonView jsonValue);
InputParallelismUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Number of in-application streams to create for the specified streaming
* source.</p>
*/
inline int GetCountUpdate() const{ return m_countUpdate; }
/**
* <p>Number of in-application streams to create for the specified streaming
* source.</p>
*/
inline bool CountUpdateHasBeenSet() const { return m_countUpdateHasBeenSet; }
/**
* <p>Number of in-application streams to create for the specified streaming
* source.</p>
*/
inline void SetCountUpdate(int value) { m_countUpdateHasBeenSet = true; m_countUpdate = value; }
/**
* <p>Number of in-application streams to create for the specified streaming
* source.</p>
*/
inline InputParallelismUpdate& WithCountUpdate(int value) { SetCountUpdate(value); return *this;}
private:
int m_countUpdate;
bool m_countUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,100 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/InputLambdaProcessor.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides a description of a processor that is used to preprocess the records
* in the stream before being processed by your application code. Currently, the
* only input processor available is <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputProcessingConfiguration
{
public:
InputProcessingConfiguration();
InputProcessingConfiguration(Aws::Utils::Json::JsonView jsonValue);
InputProcessingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream before being processed by
* your application code.</p>
*/
inline const InputLambdaProcessor& GetInputLambdaProcessor() const{ return m_inputLambdaProcessor; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream before being processed by
* your application code.</p>
*/
inline bool InputLambdaProcessorHasBeenSet() const { return m_inputLambdaProcessorHasBeenSet; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream before being processed by
* your application code.</p>
*/
inline void SetInputLambdaProcessor(const InputLambdaProcessor& value) { m_inputLambdaProcessorHasBeenSet = true; m_inputLambdaProcessor = value; }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream before being processed by
* your application code.</p>
*/
inline void SetInputLambdaProcessor(InputLambdaProcessor&& value) { m_inputLambdaProcessorHasBeenSet = true; m_inputLambdaProcessor = std::move(value); }
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream before being processed by
* your application code.</p>
*/
inline InputProcessingConfiguration& WithInputLambdaProcessor(const InputLambdaProcessor& value) { SetInputLambdaProcessor(value); return *this;}
/**
* <p>The <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
* that is used to preprocess the records in the stream before being processed by
* your application code.</p>
*/
inline InputProcessingConfiguration& WithInputLambdaProcessor(InputLambdaProcessor&& value) { SetInputLambdaProcessor(std::move(value)); return *this;}
private:
InputLambdaProcessor m_inputLambdaProcessor;
bool m_inputLambdaProcessorHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,87 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/InputLambdaProcessorDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides configuration information about an input processor. Currently, the
* only input processor available is <a
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputProcessingConfigurationDescription
{
public:
InputProcessingConfigurationDescription();
InputProcessingConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
InputProcessingConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Provides configuration information about the associated <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessorDescription.html">InputLambdaProcessorDescription</a>.</p>
*/
inline const InputLambdaProcessorDescription& GetInputLambdaProcessorDescription() const{ return m_inputLambdaProcessorDescription; }
/**
* <p>Provides configuration information about the associated <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessorDescription.html">InputLambdaProcessorDescription</a>.</p>
*/
inline bool InputLambdaProcessorDescriptionHasBeenSet() const { return m_inputLambdaProcessorDescriptionHasBeenSet; }
/**
* <p>Provides configuration information about the associated <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessorDescription.html">InputLambdaProcessorDescription</a>.</p>
*/
inline void SetInputLambdaProcessorDescription(const InputLambdaProcessorDescription& value) { m_inputLambdaProcessorDescriptionHasBeenSet = true; m_inputLambdaProcessorDescription = value; }
/**
* <p>Provides configuration information about the associated <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessorDescription.html">InputLambdaProcessorDescription</a>.</p>
*/
inline void SetInputLambdaProcessorDescription(InputLambdaProcessorDescription&& value) { m_inputLambdaProcessorDescriptionHasBeenSet = true; m_inputLambdaProcessorDescription = std::move(value); }
/**
* <p>Provides configuration information about the associated <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessorDescription.html">InputLambdaProcessorDescription</a>.</p>
*/
inline InputProcessingConfigurationDescription& WithInputLambdaProcessorDescription(const InputLambdaProcessorDescription& value) { SetInputLambdaProcessorDescription(value); return *this;}
/**
* <p>Provides configuration information about the associated <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessorDescription.html">InputLambdaProcessorDescription</a>.</p>
*/
inline InputProcessingConfigurationDescription& WithInputLambdaProcessorDescription(InputLambdaProcessorDescription&& value) { SetInputLambdaProcessorDescription(std::move(value)); return *this;}
private:
InputLambdaProcessorDescription m_inputLambdaProcessorDescription;
bool m_inputLambdaProcessorDescriptionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,86 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/InputLambdaProcessorUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes updates to an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputProcessingConfiguration.html">InputProcessingConfiguration</a>.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputProcessingConfigurationUpdate
{
public:
InputProcessingConfigurationUpdate();
InputProcessingConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
InputProcessingConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Provides update information for an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline const InputLambdaProcessorUpdate& GetInputLambdaProcessorUpdate() const{ return m_inputLambdaProcessorUpdate; }
/**
* <p>Provides update information for an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline bool InputLambdaProcessorUpdateHasBeenSet() const { return m_inputLambdaProcessorUpdateHasBeenSet; }
/**
* <p>Provides update information for an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline void SetInputLambdaProcessorUpdate(const InputLambdaProcessorUpdate& value) { m_inputLambdaProcessorUpdateHasBeenSet = true; m_inputLambdaProcessorUpdate = value; }
/**
* <p>Provides update information for an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline void SetInputLambdaProcessorUpdate(InputLambdaProcessorUpdate&& value) { m_inputLambdaProcessorUpdateHasBeenSet = true; m_inputLambdaProcessorUpdate = std::move(value); }
/**
* <p>Provides update information for an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline InputProcessingConfigurationUpdate& WithInputLambdaProcessorUpdate(const InputLambdaProcessorUpdate& value) { SetInputLambdaProcessorUpdate(value); return *this;}
/**
* <p>Provides update information for an <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>.</p>
*/
inline InputProcessingConfigurationUpdate& WithInputLambdaProcessorUpdate(InputLambdaProcessorUpdate&& value) { SetInputLambdaProcessorUpdate(std::move(value)); return *this;}
private:
InputLambdaProcessorUpdate m_inputLambdaProcessorUpdate;
bool m_inputLambdaProcessorUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,194 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/RecordFormat.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/RecordColumn.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes updates for the application's input schema.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputSchemaUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputSchemaUpdate
{
public:
InputSchemaUpdate();
InputSchemaUpdate(Aws::Utils::Json::JsonView jsonValue);
InputSchemaUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline const RecordFormat& GetRecordFormatUpdate() const{ return m_recordFormatUpdate; }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline bool RecordFormatUpdateHasBeenSet() const { return m_recordFormatUpdateHasBeenSet; }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline void SetRecordFormatUpdate(const RecordFormat& value) { m_recordFormatUpdateHasBeenSet = true; m_recordFormatUpdate = value; }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline void SetRecordFormatUpdate(RecordFormat&& value) { m_recordFormatUpdateHasBeenSet = true; m_recordFormatUpdate = std::move(value); }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline InputSchemaUpdate& WithRecordFormatUpdate(const RecordFormat& value) { SetRecordFormatUpdate(value); return *this;}
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline InputSchemaUpdate& WithRecordFormatUpdate(RecordFormat&& value) { SetRecordFormatUpdate(std::move(value)); return *this;}
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline const Aws::String& GetRecordEncodingUpdate() const{ return m_recordEncodingUpdate; }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline bool RecordEncodingUpdateHasBeenSet() const { return m_recordEncodingUpdateHasBeenSet; }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline void SetRecordEncodingUpdate(const Aws::String& value) { m_recordEncodingUpdateHasBeenSet = true; m_recordEncodingUpdate = value; }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline void SetRecordEncodingUpdate(Aws::String&& value) { m_recordEncodingUpdateHasBeenSet = true; m_recordEncodingUpdate = std::move(value); }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline void SetRecordEncodingUpdate(const char* value) { m_recordEncodingUpdateHasBeenSet = true; m_recordEncodingUpdate.assign(value); }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline InputSchemaUpdate& WithRecordEncodingUpdate(const Aws::String& value) { SetRecordEncodingUpdate(value); return *this;}
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline InputSchemaUpdate& WithRecordEncodingUpdate(Aws::String&& value) { SetRecordEncodingUpdate(std::move(value)); return *this;}
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline InputSchemaUpdate& WithRecordEncodingUpdate(const char* value) { SetRecordEncodingUpdate(value); return *this;}
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline const Aws::Vector<RecordColumn>& GetRecordColumnUpdates() const{ return m_recordColumnUpdates; }
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline bool RecordColumnUpdatesHasBeenSet() const { return m_recordColumnUpdatesHasBeenSet; }
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline void SetRecordColumnUpdates(const Aws::Vector<RecordColumn>& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates = value; }
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline void SetRecordColumnUpdates(Aws::Vector<RecordColumn>&& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates = std::move(value); }
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline InputSchemaUpdate& WithRecordColumnUpdates(const Aws::Vector<RecordColumn>& value) { SetRecordColumnUpdates(value); return *this;}
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline InputSchemaUpdate& WithRecordColumnUpdates(Aws::Vector<RecordColumn>&& value) { SetRecordColumnUpdates(std::move(value)); return *this;}
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline InputSchemaUpdate& AddRecordColumnUpdates(const RecordColumn& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates.push_back(value); return *this; }
/**
* <p>A list of <code>RecordColumn</code> objects. Each object describes the
* mapping of the streaming source element to the corresponding column in the
* in-application stream. </p>
*/
inline InputSchemaUpdate& AddRecordColumnUpdates(RecordColumn&& value) { m_recordColumnUpdatesHasBeenSet = true; m_recordColumnUpdates.push_back(std::move(value)); return *this; }
private:
RecordFormat m_recordFormatUpdate;
bool m_recordFormatUpdateHasBeenSet;
Aws::String m_recordEncodingUpdate;
bool m_recordEncodingUpdateHasBeenSet;
Aws::Vector<RecordColumn> m_recordColumnUpdates;
bool m_recordColumnUpdatesHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,32 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
enum class InputStartingPosition
{
NOT_SET,
NOW,
TRIM_HORIZON,
LAST_STOPPED_POINT
};
namespace InputStartingPositionMapper
{
AWS_KINESISANALYTICS_API InputStartingPosition GetInputStartingPositionForName(const Aws::String& name);
AWS_KINESISANALYTICS_API Aws::String GetNameForInputStartingPosition(InputStartingPosition value);
} // namespace InputStartingPositionMapper
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,121 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/InputStartingPosition.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the point at which the application reads from the streaming
* source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputStartingPositionConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputStartingPositionConfiguration
{
public:
InputStartingPositionConfiguration();
InputStartingPositionConfiguration(Aws::Utils::Json::JsonView jsonValue);
InputStartingPositionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The starting position on the stream.</p> <ul> <li> <p> <code>NOW</code> -
* Start reading just after the most recent record in the stream, start at the
* request time stamp that the customer issued.</p> </li> <li> <p>
* <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the
* stream, which is the oldest record available in the stream. This option is not
* available for an Amazon Kinesis Firehose delivery stream.</p> </li> <li> <p>
* <code>LAST_STOPPED_POINT</code> - Resume reading from where the application last
* stopped reading.</p> </li> </ul>
*/
inline const InputStartingPosition& GetInputStartingPosition() const{ return m_inputStartingPosition; }
/**
* <p>The starting position on the stream.</p> <ul> <li> <p> <code>NOW</code> -
* Start reading just after the most recent record in the stream, start at the
* request time stamp that the customer issued.</p> </li> <li> <p>
* <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the
* stream, which is the oldest record available in the stream. This option is not
* available for an Amazon Kinesis Firehose delivery stream.</p> </li> <li> <p>
* <code>LAST_STOPPED_POINT</code> - Resume reading from where the application last
* stopped reading.</p> </li> </ul>
*/
inline bool InputStartingPositionHasBeenSet() const { return m_inputStartingPositionHasBeenSet; }
/**
* <p>The starting position on the stream.</p> <ul> <li> <p> <code>NOW</code> -
* Start reading just after the most recent record in the stream, start at the
* request time stamp that the customer issued.</p> </li> <li> <p>
* <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the
* stream, which is the oldest record available in the stream. This option is not
* available for an Amazon Kinesis Firehose delivery stream.</p> </li> <li> <p>
* <code>LAST_STOPPED_POINT</code> - Resume reading from where the application last
* stopped reading.</p> </li> </ul>
*/
inline void SetInputStartingPosition(const InputStartingPosition& value) { m_inputStartingPositionHasBeenSet = true; m_inputStartingPosition = value; }
/**
* <p>The starting position on the stream.</p> <ul> <li> <p> <code>NOW</code> -
* Start reading just after the most recent record in the stream, start at the
* request time stamp that the customer issued.</p> </li> <li> <p>
* <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the
* stream, which is the oldest record available in the stream. This option is not
* available for an Amazon Kinesis Firehose delivery stream.</p> </li> <li> <p>
* <code>LAST_STOPPED_POINT</code> - Resume reading from where the application last
* stopped reading.</p> </li> </ul>
*/
inline void SetInputStartingPosition(InputStartingPosition&& value) { m_inputStartingPositionHasBeenSet = true; m_inputStartingPosition = std::move(value); }
/**
* <p>The starting position on the stream.</p> <ul> <li> <p> <code>NOW</code> -
* Start reading just after the most recent record in the stream, start at the
* request time stamp that the customer issued.</p> </li> <li> <p>
* <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the
* stream, which is the oldest record available in the stream. This option is not
* available for an Amazon Kinesis Firehose delivery stream.</p> </li> <li> <p>
* <code>LAST_STOPPED_POINT</code> - Resume reading from where the application last
* stopped reading.</p> </li> </ul>
*/
inline InputStartingPositionConfiguration& WithInputStartingPosition(const InputStartingPosition& value) { SetInputStartingPosition(value); return *this;}
/**
* <p>The starting position on the stream.</p> <ul> <li> <p> <code>NOW</code> -
* Start reading just after the most recent record in the stream, start at the
* request time stamp that the customer issued.</p> </li> <li> <p>
* <code>TRIM_HORIZON</code> - Start reading at the last untrimmed record in the
* stream, which is the oldest record available in the stream. This option is not
* available for an Amazon Kinesis Firehose delivery stream.</p> </li> <li> <p>
* <code>LAST_STOPPED_POINT</code> - Resume reading from where the application last
* stopped reading.</p> </li> </ul>
*/
inline InputStartingPositionConfiguration& WithInputStartingPosition(InputStartingPosition&& value) { SetInputStartingPosition(std::move(value)); return *this;}
private:
InputStartingPosition m_inputStartingPosition;
bool m_inputStartingPositionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,346 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/InputProcessingConfigurationUpdate.h>
#include <aws/kinesisanalytics/model/KinesisStreamsInputUpdate.h>
#include <aws/kinesisanalytics/model/KinesisFirehoseInputUpdate.h>
#include <aws/kinesisanalytics/model/InputSchemaUpdate.h>
#include <aws/kinesisanalytics/model/InputParallelismUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes updates to a specific input configuration (identified by the
* <code>InputId</code> of an application). </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API InputUpdate
{
public:
InputUpdate();
InputUpdate(Aws::Utils::Json::JsonView jsonValue);
InputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline InputUpdate& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline InputUpdate& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>Input ID of the application input to be updated.</p>
*/
inline InputUpdate& WithInputId(const char* value) { SetInputId(value); return *this;}
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline const Aws::String& GetNamePrefixUpdate() const{ return m_namePrefixUpdate; }
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline bool NamePrefixUpdateHasBeenSet() const { return m_namePrefixUpdateHasBeenSet; }
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline void SetNamePrefixUpdate(const Aws::String& value) { m_namePrefixUpdateHasBeenSet = true; m_namePrefixUpdate = value; }
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline void SetNamePrefixUpdate(Aws::String&& value) { m_namePrefixUpdateHasBeenSet = true; m_namePrefixUpdate = std::move(value); }
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline void SetNamePrefixUpdate(const char* value) { m_namePrefixUpdateHasBeenSet = true; m_namePrefixUpdate.assign(value); }
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline InputUpdate& WithNamePrefixUpdate(const Aws::String& value) { SetNamePrefixUpdate(value); return *this;}
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline InputUpdate& WithNamePrefixUpdate(Aws::String&& value) { SetNamePrefixUpdate(std::move(value)); return *this;}
/**
* <p>Name prefix for in-application streams that Amazon Kinesis Analytics creates
* for the specific streaming source.</p>
*/
inline InputUpdate& WithNamePrefixUpdate(const char* value) { SetNamePrefixUpdate(value); return *this;}
/**
* <p>Describes updates for an input processing configuration.</p>
*/
inline const InputProcessingConfigurationUpdate& GetInputProcessingConfigurationUpdate() const{ return m_inputProcessingConfigurationUpdate; }
/**
* <p>Describes updates for an input processing configuration.</p>
*/
inline bool InputProcessingConfigurationUpdateHasBeenSet() const { return m_inputProcessingConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates for an input processing configuration.</p>
*/
inline void SetInputProcessingConfigurationUpdate(const InputProcessingConfigurationUpdate& value) { m_inputProcessingConfigurationUpdateHasBeenSet = true; m_inputProcessingConfigurationUpdate = value; }
/**
* <p>Describes updates for an input processing configuration.</p>
*/
inline void SetInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdate&& value) { m_inputProcessingConfigurationUpdateHasBeenSet = true; m_inputProcessingConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates for an input processing configuration.</p>
*/
inline InputUpdate& WithInputProcessingConfigurationUpdate(const InputProcessingConfigurationUpdate& value) { SetInputProcessingConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates for an input processing configuration.</p>
*/
inline InputUpdate& WithInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdate&& value) { SetInputProcessingConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>If an Amazon Kinesis stream is the streaming source to be updated, provides
* an updated stream Amazon Resource Name (ARN) and IAM role ARN.</p>
*/
inline const KinesisStreamsInputUpdate& GetKinesisStreamsInputUpdate() const{ return m_kinesisStreamsInputUpdate; }
/**
* <p>If an Amazon Kinesis stream is the streaming source to be updated, provides
* an updated stream Amazon Resource Name (ARN) and IAM role ARN.</p>
*/
inline bool KinesisStreamsInputUpdateHasBeenSet() const { return m_kinesisStreamsInputUpdateHasBeenSet; }
/**
* <p>If an Amazon Kinesis stream is the streaming source to be updated, provides
* an updated stream Amazon Resource Name (ARN) and IAM role ARN.</p>
*/
inline void SetKinesisStreamsInputUpdate(const KinesisStreamsInputUpdate& value) { m_kinesisStreamsInputUpdateHasBeenSet = true; m_kinesisStreamsInputUpdate = value; }
/**
* <p>If an Amazon Kinesis stream is the streaming source to be updated, provides
* an updated stream Amazon Resource Name (ARN) and IAM role ARN.</p>
*/
inline void SetKinesisStreamsInputUpdate(KinesisStreamsInputUpdate&& value) { m_kinesisStreamsInputUpdateHasBeenSet = true; m_kinesisStreamsInputUpdate = std::move(value); }
/**
* <p>If an Amazon Kinesis stream is the streaming source to be updated, provides
* an updated stream Amazon Resource Name (ARN) and IAM role ARN.</p>
*/
inline InputUpdate& WithKinesisStreamsInputUpdate(const KinesisStreamsInputUpdate& value) { SetKinesisStreamsInputUpdate(value); return *this;}
/**
* <p>If an Amazon Kinesis stream is the streaming source to be updated, provides
* an updated stream Amazon Resource Name (ARN) and IAM role ARN.</p>
*/
inline InputUpdate& WithKinesisStreamsInputUpdate(KinesisStreamsInputUpdate&& value) { SetKinesisStreamsInputUpdate(std::move(value)); return *this;}
/**
* <p>If an Amazon Kinesis Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN and IAM role ARN.</p>
*/
inline const KinesisFirehoseInputUpdate& GetKinesisFirehoseInputUpdate() const{ return m_kinesisFirehoseInputUpdate; }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN and IAM role ARN.</p>
*/
inline bool KinesisFirehoseInputUpdateHasBeenSet() const { return m_kinesisFirehoseInputUpdateHasBeenSet; }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN and IAM role ARN.</p>
*/
inline void SetKinesisFirehoseInputUpdate(const KinesisFirehoseInputUpdate& value) { m_kinesisFirehoseInputUpdateHasBeenSet = true; m_kinesisFirehoseInputUpdate = value; }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN and IAM role ARN.</p>
*/
inline void SetKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdate&& value) { m_kinesisFirehoseInputUpdateHasBeenSet = true; m_kinesisFirehoseInputUpdate = std::move(value); }
/**
* <p>If an Amazon Kinesis Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN and IAM role ARN.</p>
*/
inline InputUpdate& WithKinesisFirehoseInputUpdate(const KinesisFirehoseInputUpdate& value) { SetKinesisFirehoseInputUpdate(value); return *this;}
/**
* <p>If an Amazon Kinesis Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN and IAM role ARN.</p>
*/
inline InputUpdate& WithKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdate&& value) { SetKinesisFirehoseInputUpdate(std::move(value)); return *this;}
/**
* <p>Describes the data format on the streaming source, and how record elements on
* the streaming source map to columns of the in-application stream that is
* created.</p>
*/
inline const InputSchemaUpdate& GetInputSchemaUpdate() const{ return m_inputSchemaUpdate; }
/**
* <p>Describes the data format on the streaming source, and how record elements on
* the streaming source map to columns of the in-application stream that is
* created.</p>
*/
inline bool InputSchemaUpdateHasBeenSet() const { return m_inputSchemaUpdateHasBeenSet; }
/**
* <p>Describes the data format on the streaming source, and how record elements on
* the streaming source map to columns of the in-application stream that is
* created.</p>
*/
inline void SetInputSchemaUpdate(const InputSchemaUpdate& value) { m_inputSchemaUpdateHasBeenSet = true; m_inputSchemaUpdate = value; }
/**
* <p>Describes the data format on the streaming source, and how record elements on
* the streaming source map to columns of the in-application stream that is
* created.</p>
*/
inline void SetInputSchemaUpdate(InputSchemaUpdate&& value) { m_inputSchemaUpdateHasBeenSet = true; m_inputSchemaUpdate = std::move(value); }
/**
* <p>Describes the data format on the streaming source, and how record elements on
* the streaming source map to columns of the in-application stream that is
* created.</p>
*/
inline InputUpdate& WithInputSchemaUpdate(const InputSchemaUpdate& value) { SetInputSchemaUpdate(value); return *this;}
/**
* <p>Describes the data format on the streaming source, and how record elements on
* the streaming source map to columns of the in-application stream that is
* created.</p>
*/
inline InputUpdate& WithInputSchemaUpdate(InputSchemaUpdate&& value) { SetInputSchemaUpdate(std::move(value)); return *this;}
/**
* <p>Describes the parallelism updates (the number in-application streams Amazon
* Kinesis Analytics creates for the specific streaming source).</p>
*/
inline const InputParallelismUpdate& GetInputParallelismUpdate() const{ return m_inputParallelismUpdate; }
/**
* <p>Describes the parallelism updates (the number in-application streams Amazon
* Kinesis Analytics creates for the specific streaming source).</p>
*/
inline bool InputParallelismUpdateHasBeenSet() const { return m_inputParallelismUpdateHasBeenSet; }
/**
* <p>Describes the parallelism updates (the number in-application streams Amazon
* Kinesis Analytics creates for the specific streaming source).</p>
*/
inline void SetInputParallelismUpdate(const InputParallelismUpdate& value) { m_inputParallelismUpdateHasBeenSet = true; m_inputParallelismUpdate = value; }
/**
* <p>Describes the parallelism updates (the number in-application streams Amazon
* Kinesis Analytics creates for the specific streaming source).</p>
*/
inline void SetInputParallelismUpdate(InputParallelismUpdate&& value) { m_inputParallelismUpdateHasBeenSet = true; m_inputParallelismUpdate = std::move(value); }
/**
* <p>Describes the parallelism updates (the number in-application streams Amazon
* Kinesis Analytics creates for the specific streaming source).</p>
*/
inline InputUpdate& WithInputParallelismUpdate(const InputParallelismUpdate& value) { SetInputParallelismUpdate(value); return *this;}
/**
* <p>Describes the parallelism updates (the number in-application streams Amazon
* Kinesis Analytics creates for the specific streaming source).</p>
*/
inline InputUpdate& WithInputParallelismUpdate(InputParallelismUpdate&& value) { SetInputParallelismUpdate(std::move(value)); return *this;}
private:
Aws::String m_inputId;
bool m_inputIdHasBeenSet;
Aws::String m_namePrefixUpdate;
bool m_namePrefixUpdateHasBeenSet;
InputProcessingConfigurationUpdate m_inputProcessingConfigurationUpdate;
bool m_inputProcessingConfigurationUpdateHasBeenSet;
KinesisStreamsInputUpdate m_kinesisStreamsInputUpdate;
bool m_kinesisStreamsInputUpdateHasBeenSet;
KinesisFirehoseInputUpdate m_kinesisFirehoseInputUpdate;
bool m_kinesisFirehoseInputUpdateHasBeenSet;
InputSchemaUpdate m_inputSchemaUpdate;
bool m_inputSchemaUpdateHasBeenSet;
InputParallelismUpdate m_inputParallelismUpdate;
bool m_inputParallelismUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,89 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/JSONMappingParameters">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API JSONMappingParameters
{
public:
JSONMappingParameters();
JSONMappingParameters(Aws::Utils::Json::JsonView jsonValue);
JSONMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline const Aws::String& GetRecordRowPath() const{ return m_recordRowPath; }
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline bool RecordRowPathHasBeenSet() const { return m_recordRowPathHasBeenSet; }
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline void SetRecordRowPath(const Aws::String& value) { m_recordRowPathHasBeenSet = true; m_recordRowPath = value; }
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline void SetRecordRowPath(Aws::String&& value) { m_recordRowPathHasBeenSet = true; m_recordRowPath = std::move(value); }
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline void SetRecordRowPath(const char* value) { m_recordRowPathHasBeenSet = true; m_recordRowPath.assign(value); }
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline JSONMappingParameters& WithRecordRowPath(const Aws::String& value) { SetRecordRowPath(value); return *this;}
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline JSONMappingParameters& WithRecordRowPath(Aws::String&& value) { SetRecordRowPath(std::move(value)); return *this;}
/**
* <p>Path to the top-level parent that contains the records.</p>
*/
inline JSONMappingParameters& WithRecordRowPath(const char* value) { SetRecordRowPath(value); return *this;}
private:
Aws::String m_recordRowPath;
bool m_recordRowPathHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,151 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> Identifies an Amazon Kinesis Firehose delivery stream as the streaming
* source. You provide the delivery stream's Amazon Resource Name (ARN) and an IAM
* role ARN that enables Amazon Kinesis Analytics to access the stream on your
* behalf.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseInput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisFirehoseInput
{
public:
KinesisFirehoseInput();
KinesisFirehoseInput(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseInput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ARN of the input delivery stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>ARN of the input delivery stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>ARN of the input delivery stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>ARN of the input delivery stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>ARN of the input delivery stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>ARN of the input delivery stream.</p>
*/
inline KinesisFirehoseInput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the input delivery stream.</p>
*/
inline KinesisFirehoseInput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>ARN of the input delivery stream.</p>
*/
inline KinesisFirehoseInput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline KinesisFirehoseInput& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline KinesisFirehoseInput& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to make sure that the role has the necessary
* permissions to access the stream.</p>
*/
inline KinesisFirehoseInput& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,150 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> Describes the Amazon Kinesis Firehose delivery stream that is configured as
* the streaming source in the application input configuration. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseInputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisFirehoseInputDescription
{
public:
KinesisFirehoseInputDescription();
KinesisFirehoseInputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseInputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline KinesisFirehoseInputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline KinesisFirehoseInputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline KinesisFirehoseInputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline KinesisFirehoseInputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline KinesisFirehoseInputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics assumes to access the
* stream.</p>
*/
inline KinesisFirehoseInputDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,158 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>When updating application input configuration, provides information about an
* Amazon Kinesis Firehose delivery stream as the streaming source.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseInputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisFirehoseInputUpdate
{
public:
KinesisFirehoseInputUpdate();
KinesisFirehoseInputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseInputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline KinesisFirehoseInputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline KinesisFirehoseInputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis Firehose delivery
* stream to read.</p>
*/
inline KinesisFirehoseInputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisFirehoseInputUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisFirehoseInputUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisFirehoseInputUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,159 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>When configuring application output, identifies an Amazon Kinesis Firehose
* delivery stream as the destination. You provide the stream Amazon Resource Name
* (ARN) and an IAM role that enables Amazon Kinesis Analytics to write to the
* stream on your behalf.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseOutput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisFirehoseOutput
{
public:
KinesisFirehoseOutput();
KinesisFirehoseOutput(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline KinesisFirehoseOutput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline KinesisFirehoseOutput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>ARN of the destination Amazon Kinesis Firehose delivery stream to write
* to.</p>
*/
inline KinesisFirehoseOutput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline KinesisFirehoseOutput& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline KinesisFirehoseOutput& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline KinesisFirehoseOutput& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> For an application output, describes the Amazon Kinesis Firehose delivery
* stream configured as its destination. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseOutputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisFirehoseOutputDescription
{
public:
KinesisFirehoseOutputDescription();
KinesisFirehoseOutputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseOutputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery
* stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,159 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> When updating an output configuration using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_UpdateApplication.html">UpdateApplication</a>
* operation, provides information about an Amazon Kinesis Firehose delivery stream
* configured as the destination. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisFirehoseOutputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisFirehoseOutputUpdate
{
public:
KinesisFirehoseOutputUpdate();
KinesisFirehoseOutputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseOutputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline KinesisFirehoseOutputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline KinesisFirehoseOutputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis Firehose delivery stream to
* write to.</p>
*/
inline KinesisFirehoseOutputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisFirehoseOutputUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisFirehoseOutputUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisFirehoseOutputUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,151 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> Identifies an Amazon Kinesis stream as the streaming source. You provide the
* stream's Amazon Resource Name (ARN) and an IAM role ARN that enables Amazon
* Kinesis Analytics to access the stream on your behalf.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsInput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisStreamsInput
{
public:
KinesisStreamsInput();
KinesisStreamsInput(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline KinesisStreamsInput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline KinesisStreamsInput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>ARN of the input Amazon Kinesis stream to read.</p>
*/
inline KinesisStreamsInput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsInput& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsInput& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsInput& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,141 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> Describes the Amazon Kinesis stream that is configured as the streaming
* source in the application input configuration. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsInputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisStreamsInputDescription
{
public:
KinesisStreamsInputDescription();
KinesisStreamsInputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsInputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline KinesisStreamsInputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline KinesisStreamsInputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline KinesisStreamsInputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisStreamsInputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisStreamsInputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisStreamsInputDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>When updating application input configuration, provides information about an
* Amazon Kinesis stream as the streaming source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsInputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisStreamsInputUpdate
{
public:
KinesisStreamsInputUpdate();
KinesisStreamsInputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsInputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline KinesisStreamsInputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline KinesisStreamsInputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the input Amazon Kinesis stream to read.</p>
*/
inline KinesisStreamsInputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsInputUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsInputUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsInputUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,151 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>When configuring application output, identifies an Amazon Kinesis stream as
* the destination. You provide the stream Amazon Resource Name (ARN) and also an
* IAM role ARN that Amazon Kinesis Analytics can use to write to the stream on
* your behalf.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsOutput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisStreamsOutput
{
public:
KinesisStreamsOutput();
KinesisStreamsOutput(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline KinesisStreamsOutput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline KinesisStreamsOutput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>ARN of the destination Amazon Kinesis stream to write to.</p>
*/
inline KinesisStreamsOutput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline KinesisStreamsOutput& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline KinesisStreamsOutput& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination stream on your behalf. You need to grant the necessary permissions
* to this role.</p>
*/
inline KinesisStreamsOutput& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,141 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> For an application output, describes the Amazon Kinesis stream configured as
* its destination. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsOutputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisStreamsOutputDescription
{
public:
KinesisStreamsOutputDescription();
KinesisStreamsOutputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsOutputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline KinesisStreamsOutputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline KinesisStreamsOutputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream.</p>
*/
inline KinesisStreamsOutputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisStreamsOutputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisStreamsOutputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream.</p>
*/
inline KinesisStreamsOutputDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,159 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p> When updating an output configuration using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_UpdateApplication.html">UpdateApplication</a>
* operation, provides information about an Amazon Kinesis stream configured as the
* destination. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/KinesisStreamsOutputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API KinesisStreamsOutputUpdate
{
public:
KinesisStreamsOutputUpdate();
KinesisStreamsOutputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsOutputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline KinesisStreamsOutputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline KinesisStreamsOutputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the Amazon Kinesis stream where you want to
* write the output.</p>
*/
inline KinesisStreamsOutputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsOutputUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsOutputUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to access the
* stream on your behalf. You need to grant the necessary permissions to this
* role.</p>
*/
inline KinesisStreamsOutputUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,191 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>When configuring application output, identifies an AWS Lambda function as the
* destination. You provide the function Amazon Resource Name (ARN) and also an IAM
* role ARN that Amazon Kinesis Analytics can use to write to the function on your
* behalf. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/LambdaOutput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API LambdaOutput
{
public:
LambdaOutput();
LambdaOutput(Aws::Utils::Json::JsonView jsonValue);
LambdaOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline LambdaOutput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline LambdaOutput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function to write
* to.</p> <p>To specify an earlier version of the Lambda function than the
* latest, include the Lambda function version in the Lambda function ARN. For more
* information about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline LambdaOutput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline LambdaOutput& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline LambdaOutput& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline LambdaOutput& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,141 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>For an application output, describes the AWS Lambda function configured as
* its destination. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/LambdaOutputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API LambdaOutputDescription
{
public:
LambdaOutputDescription();
LambdaOutputDescription(Aws::Utils::Json::JsonView jsonValue);
LambdaOutputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline LambdaOutputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline LambdaOutputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
*/
inline LambdaOutputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline LambdaOutputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline LambdaOutputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function.</p>
*/
inline LambdaOutputDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,191 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>When updating an output configuration using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_UpdateApplication.html">UpdateApplication</a>
* operation, provides information about an AWS Lambda function configured as the
* destination.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/LambdaOutputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API LambdaOutputUpdate
{
public:
LambdaOutputUpdate();
LambdaOutputUpdate(Aws::Utils::Json::JsonView jsonValue);
LambdaOutputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline LambdaOutputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline LambdaOutputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the destination Lambda function.</p>
* <p>To specify an earlier version of the Lambda function than the latest, include
* the Lambda function version in the Lambda function ARN. For more information
* about Lambda ARNs, see <a
* href="/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda">Example
* ARNs: AWS Lambda</a> </p>
*/
inline LambdaOutputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline const Aws::String& GetRoleARNUpdate() const{ return m_roleARNUpdate; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline bool RoleARNUpdateHasBeenSet() const { return m_roleARNUpdateHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline void SetRoleARNUpdate(const Aws::String& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline void SetRoleARNUpdate(Aws::String&& value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline void SetRoleARNUpdate(const char* value) { m_roleARNUpdateHasBeenSet = true; m_roleARNUpdate.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline LambdaOutputUpdate& WithRoleARNUpdate(const Aws::String& value) { SetRoleARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline LambdaOutputUpdate& WithRoleARNUpdate(Aws::String&& value) { SetRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to write to the
* destination function on your behalf. You need to grant the necessary permissions
* to this role. </p>
*/
inline LambdaOutputUpdate& WithRoleARNUpdate(const char* value) { SetRoleARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
Aws::String m_roleARNUpdate;
bool m_roleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,136 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListApplicationsRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ListApplicationsRequest : public KinesisAnalyticsRequest
{
public:
ListApplicationsRequest();
// 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 "ListApplications"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Maximum number of applications to list.</p>
*/
inline int GetLimit() const{ return m_limit; }
/**
* <p>Maximum number of applications to list.</p>
*/
inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
/**
* <p>Maximum number of applications to list.</p>
*/
inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
/**
* <p>Maximum number of applications to list.</p>
*/
inline ListApplicationsRequest& WithLimit(int value) { SetLimit(value); return *this;}
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline const Aws::String& GetExclusiveStartApplicationName() const{ return m_exclusiveStartApplicationName; }
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline bool ExclusiveStartApplicationNameHasBeenSet() const { return m_exclusiveStartApplicationNameHasBeenSet; }
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline void SetExclusiveStartApplicationName(const Aws::String& value) { m_exclusiveStartApplicationNameHasBeenSet = true; m_exclusiveStartApplicationName = value; }
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline void SetExclusiveStartApplicationName(Aws::String&& value) { m_exclusiveStartApplicationNameHasBeenSet = true; m_exclusiveStartApplicationName = std::move(value); }
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline void SetExclusiveStartApplicationName(const char* value) { m_exclusiveStartApplicationNameHasBeenSet = true; m_exclusiveStartApplicationName.assign(value); }
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline ListApplicationsRequest& WithExclusiveStartApplicationName(const Aws::String& value) { SetExclusiveStartApplicationName(value); return *this;}
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline ListApplicationsRequest& WithExclusiveStartApplicationName(Aws::String&& value) { SetExclusiveStartApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application to start the list with. When using pagination to
* retrieve the list, you don't need to specify this parameter in the first
* request. However, in subsequent requests, you add the last application name from
* the previous response to get the next page of applications.</p>
*/
inline ListApplicationsRequest& WithExclusiveStartApplicationName(const char* value) { SetExclusiveStartApplicationName(value); return *this;}
private:
int m_limit;
bool m_limitHasBeenSet;
Aws::String m_exclusiveStartApplicationName;
bool m_exclusiveStartApplicationNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,101 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/ApplicationSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListApplicationsResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ListApplicationsResult
{
public:
ListApplicationsResult();
ListApplicationsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListApplicationsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline const Aws::Vector<ApplicationSummary>& GetApplicationSummaries() const{ return m_applicationSummaries; }
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline void SetApplicationSummaries(const Aws::Vector<ApplicationSummary>& value) { m_applicationSummaries = value; }
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline void SetApplicationSummaries(Aws::Vector<ApplicationSummary>&& value) { m_applicationSummaries = std::move(value); }
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline ListApplicationsResult& WithApplicationSummaries(const Aws::Vector<ApplicationSummary>& value) { SetApplicationSummaries(value); return *this;}
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline ListApplicationsResult& WithApplicationSummaries(Aws::Vector<ApplicationSummary>&& value) { SetApplicationSummaries(std::move(value)); return *this;}
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline ListApplicationsResult& AddApplicationSummaries(const ApplicationSummary& value) { m_applicationSummaries.push_back(value); return *this; }
/**
* <p>List of <code>ApplicationSummary</code> objects. </p>
*/
inline ListApplicationsResult& AddApplicationSummaries(ApplicationSummary&& value) { m_applicationSummaries.push_back(std::move(value)); return *this; }
/**
* <p>Returns true if there are more applications to retrieve.</p>
*/
inline bool GetHasMoreApplications() const{ return m_hasMoreApplications; }
/**
* <p>Returns true if there are more applications to retrieve.</p>
*/
inline void SetHasMoreApplications(bool value) { m_hasMoreApplications = value; }
/**
* <p>Returns true if there are more applications to retrieve.</p>
*/
inline ListApplicationsResult& WithHasMoreApplications(bool value) { SetHasMoreApplications(value); return *this;}
private:
Aws::Vector<ApplicationSummary> m_applicationSummaries;
bool m_hasMoreApplications;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API ListTagsForResourceRequest : public KinesisAnalyticsRequest
{
public:
ListTagsForResourceRequest();
// 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 "ListTagsForResource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline ListTagsForResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline ListTagsForResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the application for which to retrieve tags.</p>
*/
inline ListTagsForResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API ListTagsForResourceResult
{
public:
ListTagsForResourceResult();
ListTagsForResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tags = value; }
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tags = std::move(value); }
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline ListTagsForResourceResult& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline ListTagsForResourceResult& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; }
/**
* <p>The key-value tags assigned to the application.</p>
*/
inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; }
private:
Aws::Vector<Tag> m_tags;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,128 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/JSONMappingParameters.h>
#include <aws/kinesisanalytics/model/CSVMappingParameters.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/MappingParameters">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API MappingParameters
{
public:
MappingParameters();
MappingParameters(Aws::Utils::Json::JsonView jsonValue);
MappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p>
*/
inline const JSONMappingParameters& GetJSONMappingParameters() const{ return m_jSONMappingParameters; }
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p>
*/
inline bool JSONMappingParametersHasBeenSet() const { return m_jSONMappingParametersHasBeenSet; }
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p>
*/
inline void SetJSONMappingParameters(const JSONMappingParameters& value) { m_jSONMappingParametersHasBeenSet = true; m_jSONMappingParameters = value; }
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p>
*/
inline void SetJSONMappingParameters(JSONMappingParameters&& value) { m_jSONMappingParametersHasBeenSet = true; m_jSONMappingParameters = std::move(value); }
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p>
*/
inline MappingParameters& WithJSONMappingParameters(const JSONMappingParameters& value) { SetJSONMappingParameters(value); return *this;}
/**
* <p>Provides additional mapping information when JSON is the record format on the
* streaming source.</p>
*/
inline MappingParameters& WithJSONMappingParameters(JSONMappingParameters&& value) { SetJSONMappingParameters(std::move(value)); return *this;}
/**
* <p>Provides additional mapping information when the record format uses
* delimiters (for example, CSV).</p>
*/
inline const CSVMappingParameters& GetCSVMappingParameters() const{ return m_cSVMappingParameters; }
/**
* <p>Provides additional mapping information when the record format uses
* delimiters (for example, CSV).</p>
*/
inline bool CSVMappingParametersHasBeenSet() const { return m_cSVMappingParametersHasBeenSet; }
/**
* <p>Provides additional mapping information when the record format uses
* delimiters (for example, CSV).</p>
*/
inline void SetCSVMappingParameters(const CSVMappingParameters& value) { m_cSVMappingParametersHasBeenSet = true; m_cSVMappingParameters = value; }
/**
* <p>Provides additional mapping information when the record format uses
* delimiters (for example, CSV).</p>
*/
inline void SetCSVMappingParameters(CSVMappingParameters&& value) { m_cSVMappingParametersHasBeenSet = true; m_cSVMappingParameters = std::move(value); }
/**
* <p>Provides additional mapping information when the record format uses
* delimiters (for example, CSV).</p>
*/
inline MappingParameters& WithCSVMappingParameters(const CSVMappingParameters& value) { SetCSVMappingParameters(value); return *this;}
/**
* <p>Provides additional mapping information when the record format uses
* delimiters (for example, CSV).</p>
*/
inline MappingParameters& WithCSVMappingParameters(CSVMappingParameters&& value) { SetCSVMappingParameters(std::move(value)); return *this;}
private:
JSONMappingParameters m_jSONMappingParameters;
bool m_jSONMappingParametersHasBeenSet;
CSVMappingParameters m_cSVMappingParameters;
bool m_cSVMappingParametersHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,252 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/KinesisStreamsOutput.h>
#include <aws/kinesisanalytics/model/KinesisFirehoseOutput.h>
#include <aws/kinesisanalytics/model/LambdaOutput.h>
#include <aws/kinesisanalytics/model/DestinationSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p> Describes application output configuration in which you identify an
* in-application stream and a destination where you want the in-application stream
* data to be written. The destination can be an Amazon Kinesis stream or an Amazon
* Kinesis Firehose delivery stream. </p> <p/> <p>For limits on how many
* destinations an application can write and other limitations, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/limits.html">Limits</a>.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/Output">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API Output
{
public:
Output();
Output(Aws::Utils::Json::JsonView jsonValue);
Output& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name of the in-application stream.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>Name of the in-application stream.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>Name of the in-application stream.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>Name of the in-application stream.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>Name of the in-application stream.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>Name of the in-application stream.</p>
*/
inline Output& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>Name of the in-application stream.</p>
*/
inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>Name of the in-application stream.</p>
*/
inline Output& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>Identifies an Amazon Kinesis stream as the destination.</p>
*/
inline const KinesisStreamsOutput& GetKinesisStreamsOutput() const{ return m_kinesisStreamsOutput; }
/**
* <p>Identifies an Amazon Kinesis stream as the destination.</p>
*/
inline bool KinesisStreamsOutputHasBeenSet() const { return m_kinesisStreamsOutputHasBeenSet; }
/**
* <p>Identifies an Amazon Kinesis stream as the destination.</p>
*/
inline void SetKinesisStreamsOutput(const KinesisStreamsOutput& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = value; }
/**
* <p>Identifies an Amazon Kinesis stream as the destination.</p>
*/
inline void SetKinesisStreamsOutput(KinesisStreamsOutput&& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = std::move(value); }
/**
* <p>Identifies an Amazon Kinesis stream as the destination.</p>
*/
inline Output& WithKinesisStreamsOutput(const KinesisStreamsOutput& value) { SetKinesisStreamsOutput(value); return *this;}
/**
* <p>Identifies an Amazon Kinesis stream as the destination.</p>
*/
inline Output& WithKinesisStreamsOutput(KinesisStreamsOutput&& value) { SetKinesisStreamsOutput(std::move(value)); return *this;}
/**
* <p>Identifies an Amazon Kinesis Firehose delivery stream as the destination.</p>
*/
inline const KinesisFirehoseOutput& GetKinesisFirehoseOutput() const{ return m_kinesisFirehoseOutput; }
/**
* <p>Identifies an Amazon Kinesis Firehose delivery stream as the destination.</p>
*/
inline bool KinesisFirehoseOutputHasBeenSet() const { return m_kinesisFirehoseOutputHasBeenSet; }
/**
* <p>Identifies an Amazon Kinesis Firehose delivery stream as the destination.</p>
*/
inline void SetKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = value; }
/**
* <p>Identifies an Amazon Kinesis Firehose delivery stream as the destination.</p>
*/
inline void SetKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = std::move(value); }
/**
* <p>Identifies an Amazon Kinesis Firehose delivery stream as the destination.</p>
*/
inline Output& WithKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { SetKinesisFirehoseOutput(value); return *this;}
/**
* <p>Identifies an Amazon Kinesis Firehose delivery stream as the destination.</p>
*/
inline Output& WithKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { SetKinesisFirehoseOutput(std::move(value)); return *this;}
/**
* <p>Identifies an AWS Lambda function as the destination.</p>
*/
inline const LambdaOutput& GetLambdaOutput() const{ return m_lambdaOutput; }
/**
* <p>Identifies an AWS Lambda function as the destination.</p>
*/
inline bool LambdaOutputHasBeenSet() const { return m_lambdaOutputHasBeenSet; }
/**
* <p>Identifies an AWS Lambda function as the destination.</p>
*/
inline void SetLambdaOutput(const LambdaOutput& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = value; }
/**
* <p>Identifies an AWS Lambda function as the destination.</p>
*/
inline void SetLambdaOutput(LambdaOutput&& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = std::move(value); }
/**
* <p>Identifies an AWS Lambda function as the destination.</p>
*/
inline Output& WithLambdaOutput(const LambdaOutput& value) { SetLambdaOutput(value); return *this;}
/**
* <p>Identifies an AWS Lambda function as the destination.</p>
*/
inline Output& WithLambdaOutput(LambdaOutput&& value) { SetLambdaOutput(std::move(value)); return *this;}
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline const DestinationSchema& GetDestinationSchema() const{ return m_destinationSchema; }
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline bool DestinationSchemaHasBeenSet() const { return m_destinationSchemaHasBeenSet; }
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline void SetDestinationSchema(const DestinationSchema& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = value; }
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline void SetDestinationSchema(DestinationSchema&& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = std::move(value); }
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline Output& WithDestinationSchema(const DestinationSchema& value) { SetDestinationSchema(value); return *this;}
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline Output& WithDestinationSchema(DestinationSchema&& value) { SetDestinationSchema(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
KinesisStreamsOutput m_kinesisStreamsOutput;
bool m_kinesisStreamsOutputHasBeenSet;
KinesisFirehoseOutput m_kinesisFirehoseOutput;
bool m_kinesisFirehoseOutputHasBeenSet;
LambdaOutput m_lambdaOutput;
bool m_lambdaOutputHasBeenSet;
DestinationSchema m_destinationSchema;
bool m_destinationSchemaHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,293 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/KinesisStreamsOutputDescription.h>
#include <aws/kinesisanalytics/model/KinesisFirehoseOutputDescription.h>
#include <aws/kinesisanalytics/model/LambdaOutputDescription.h>
#include <aws/kinesisanalytics/model/DestinationSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the application output configuration, which includes the
* in-application stream name and the destination where the stream data is written.
* The destination can be an Amazon Kinesis stream or an Amazon Kinesis Firehose
* delivery stream. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/OutputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API OutputDescription
{
public:
OutputDescription();
OutputDescription(Aws::Utils::Json::JsonView jsonValue);
OutputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline const Aws::String& GetOutputId() const{ return m_outputId; }
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline bool OutputIdHasBeenSet() const { return m_outputIdHasBeenSet; }
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline void SetOutputId(const Aws::String& value) { m_outputIdHasBeenSet = true; m_outputId = value; }
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline void SetOutputId(Aws::String&& value) { m_outputIdHasBeenSet = true; m_outputId = std::move(value); }
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline void SetOutputId(const char* value) { m_outputIdHasBeenSet = true; m_outputId.assign(value); }
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline OutputDescription& WithOutputId(const Aws::String& value) { SetOutputId(value); return *this;}
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline OutputDescription& WithOutputId(Aws::String&& value) { SetOutputId(std::move(value)); return *this;}
/**
* <p>A unique identifier for the output configuration.</p>
*/
inline OutputDescription& WithOutputId(const char* value) { SetOutputId(value); return *this;}
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline OutputDescription& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline OutputDescription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>Name of the in-application stream configured as output.</p>
*/
inline OutputDescription& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>Describes Amazon Kinesis stream configured as the destination where output is
* written.</p>
*/
inline const KinesisStreamsOutputDescription& GetKinesisStreamsOutputDescription() const{ return m_kinesisStreamsOutputDescription; }
/**
* <p>Describes Amazon Kinesis stream configured as the destination where output is
* written.</p>
*/
inline bool KinesisStreamsOutputDescriptionHasBeenSet() const { return m_kinesisStreamsOutputDescriptionHasBeenSet; }
/**
* <p>Describes Amazon Kinesis stream configured as the destination where output is
* written.</p>
*/
inline void SetKinesisStreamsOutputDescription(const KinesisStreamsOutputDescription& value) { m_kinesisStreamsOutputDescriptionHasBeenSet = true; m_kinesisStreamsOutputDescription = value; }
/**
* <p>Describes Amazon Kinesis stream configured as the destination where output is
* written.</p>
*/
inline void SetKinesisStreamsOutputDescription(KinesisStreamsOutputDescription&& value) { m_kinesisStreamsOutputDescriptionHasBeenSet = true; m_kinesisStreamsOutputDescription = std::move(value); }
/**
* <p>Describes Amazon Kinesis stream configured as the destination where output is
* written.</p>
*/
inline OutputDescription& WithKinesisStreamsOutputDescription(const KinesisStreamsOutputDescription& value) { SetKinesisStreamsOutputDescription(value); return *this;}
/**
* <p>Describes Amazon Kinesis stream configured as the destination where output is
* written.</p>
*/
inline OutputDescription& WithKinesisStreamsOutputDescription(KinesisStreamsOutputDescription&& value) { SetKinesisStreamsOutputDescription(std::move(value)); return *this;}
/**
* <p>Describes the Amazon Kinesis Firehose delivery stream configured as the
* destination where output is written.</p>
*/
inline const KinesisFirehoseOutputDescription& GetKinesisFirehoseOutputDescription() const{ return m_kinesisFirehoseOutputDescription; }
/**
* <p>Describes the Amazon Kinesis Firehose delivery stream configured as the
* destination where output is written.</p>
*/
inline bool KinesisFirehoseOutputDescriptionHasBeenSet() const { return m_kinesisFirehoseOutputDescriptionHasBeenSet; }
/**
* <p>Describes the Amazon Kinesis Firehose delivery stream configured as the
* destination where output is written.</p>
*/
inline void SetKinesisFirehoseOutputDescription(const KinesisFirehoseOutputDescription& value) { m_kinesisFirehoseOutputDescriptionHasBeenSet = true; m_kinesisFirehoseOutputDescription = value; }
/**
* <p>Describes the Amazon Kinesis Firehose delivery stream configured as the
* destination where output is written.</p>
*/
inline void SetKinesisFirehoseOutputDescription(KinesisFirehoseOutputDescription&& value) { m_kinesisFirehoseOutputDescriptionHasBeenSet = true; m_kinesisFirehoseOutputDescription = std::move(value); }
/**
* <p>Describes the Amazon Kinesis Firehose delivery stream configured as the
* destination where output is written.</p>
*/
inline OutputDescription& WithKinesisFirehoseOutputDescription(const KinesisFirehoseOutputDescription& value) { SetKinesisFirehoseOutputDescription(value); return *this;}
/**
* <p>Describes the Amazon Kinesis Firehose delivery stream configured as the
* destination where output is written.</p>
*/
inline OutputDescription& WithKinesisFirehoseOutputDescription(KinesisFirehoseOutputDescription&& value) { SetKinesisFirehoseOutputDescription(std::move(value)); return *this;}
/**
* <p>Describes the AWS Lambda function configured as the destination where output
* is written.</p>
*/
inline const LambdaOutputDescription& GetLambdaOutputDescription() const{ return m_lambdaOutputDescription; }
/**
* <p>Describes the AWS Lambda function configured as the destination where output
* is written.</p>
*/
inline bool LambdaOutputDescriptionHasBeenSet() const { return m_lambdaOutputDescriptionHasBeenSet; }
/**
* <p>Describes the AWS Lambda function configured as the destination where output
* is written.</p>
*/
inline void SetLambdaOutputDescription(const LambdaOutputDescription& value) { m_lambdaOutputDescriptionHasBeenSet = true; m_lambdaOutputDescription = value; }
/**
* <p>Describes the AWS Lambda function configured as the destination where output
* is written.</p>
*/
inline void SetLambdaOutputDescription(LambdaOutputDescription&& value) { m_lambdaOutputDescriptionHasBeenSet = true; m_lambdaOutputDescription = std::move(value); }
/**
* <p>Describes the AWS Lambda function configured as the destination where output
* is written.</p>
*/
inline OutputDescription& WithLambdaOutputDescription(const LambdaOutputDescription& value) { SetLambdaOutputDescription(value); return *this;}
/**
* <p>Describes the AWS Lambda function configured as the destination where output
* is written.</p>
*/
inline OutputDescription& WithLambdaOutputDescription(LambdaOutputDescription&& value) { SetLambdaOutputDescription(std::move(value)); return *this;}
/**
* <p>Data format used for writing data to the destination.</p>
*/
inline const DestinationSchema& GetDestinationSchema() const{ return m_destinationSchema; }
/**
* <p>Data format used for writing data to the destination.</p>
*/
inline bool DestinationSchemaHasBeenSet() const { return m_destinationSchemaHasBeenSet; }
/**
* <p>Data format used for writing data to the destination.</p>
*/
inline void SetDestinationSchema(const DestinationSchema& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = value; }
/**
* <p>Data format used for writing data to the destination.</p>
*/
inline void SetDestinationSchema(DestinationSchema&& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = std::move(value); }
/**
* <p>Data format used for writing data to the destination.</p>
*/
inline OutputDescription& WithDestinationSchema(const DestinationSchema& value) { SetDestinationSchema(value); return *this;}
/**
* <p>Data format used for writing data to the destination.</p>
*/
inline OutputDescription& WithDestinationSchema(DestinationSchema&& value) { SetDestinationSchema(std::move(value)); return *this;}
private:
Aws::String m_outputId;
bool m_outputIdHasBeenSet;
Aws::String m_name;
bool m_nameHasBeenSet;
KinesisStreamsOutputDescription m_kinesisStreamsOutputDescription;
bool m_kinesisStreamsOutputDescriptionHasBeenSet;
KinesisFirehoseOutputDescription m_kinesisFirehoseOutputDescription;
bool m_kinesisFirehoseOutputDescriptionHasBeenSet;
LambdaOutputDescription m_lambdaOutputDescription;
bool m_lambdaOutputDescriptionHasBeenSet;
DestinationSchema m_destinationSchema;
bool m_destinationSchemaHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,305 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/KinesisStreamsOutputUpdate.h>
#include <aws/kinesisanalytics/model/KinesisFirehoseOutputUpdate.h>
#include <aws/kinesisanalytics/model/LambdaOutputUpdate.h>
#include <aws/kinesisanalytics/model/DestinationSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p> 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/kinesisanalytics-2015-08-14/OutputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_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 an Amazon Kinesis stream as the destination for the output.</p>
*/
inline const KinesisStreamsOutputUpdate& GetKinesisStreamsOutputUpdate() const{ return m_kinesisStreamsOutputUpdate; }
/**
* <p>Describes an Amazon Kinesis stream as the destination for the output.</p>
*/
inline bool KinesisStreamsOutputUpdateHasBeenSet() const { return m_kinesisStreamsOutputUpdateHasBeenSet; }
/**
* <p>Describes an Amazon Kinesis stream as the destination for the output.</p>
*/
inline void SetKinesisStreamsOutputUpdate(const KinesisStreamsOutputUpdate& value) { m_kinesisStreamsOutputUpdateHasBeenSet = true; m_kinesisStreamsOutputUpdate = value; }
/**
* <p>Describes an Amazon Kinesis stream as the destination for the output.</p>
*/
inline void SetKinesisStreamsOutputUpdate(KinesisStreamsOutputUpdate&& value) { m_kinesisStreamsOutputUpdateHasBeenSet = true; m_kinesisStreamsOutputUpdate = std::move(value); }
/**
* <p>Describes an Amazon Kinesis stream as the destination for the output.</p>
*/
inline OutputUpdate& WithKinesisStreamsOutputUpdate(const KinesisStreamsOutputUpdate& value) { SetKinesisStreamsOutputUpdate(value); return *this;}
/**
* <p>Describes an Amazon Kinesis stream as the destination for the output.</p>
*/
inline OutputUpdate& WithKinesisStreamsOutputUpdate(KinesisStreamsOutputUpdate&& value) { SetKinesisStreamsOutputUpdate(std::move(value)); return *this;}
/**
* <p>Describes an Amazon Kinesis Firehose delivery stream as the destination for
* the output.</p>
*/
inline const KinesisFirehoseOutputUpdate& GetKinesisFirehoseOutputUpdate() const{ return m_kinesisFirehoseOutputUpdate; }
/**
* <p>Describes an Amazon Kinesis Firehose delivery stream as the destination for
* the output.</p>
*/
inline bool KinesisFirehoseOutputUpdateHasBeenSet() const { return m_kinesisFirehoseOutputUpdateHasBeenSet; }
/**
* <p>Describes an Amazon Kinesis Firehose delivery stream as the destination for
* the output.</p>
*/
inline void SetKinesisFirehoseOutputUpdate(const KinesisFirehoseOutputUpdate& value) { m_kinesisFirehoseOutputUpdateHasBeenSet = true; m_kinesisFirehoseOutputUpdate = value; }
/**
* <p>Describes an Amazon Kinesis 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 an Amazon Kinesis Firehose delivery stream as the destination for
* the output.</p>
*/
inline OutputUpdate& WithKinesisFirehoseOutputUpdate(const KinesisFirehoseOutputUpdate& value) { SetKinesisFirehoseOutputUpdate(value); return *this;}
/**
* <p>Describes an Amazon Kinesis 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. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline const DestinationSchema& GetDestinationSchemaUpdate() const{ return m_destinationSchemaUpdate; }
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline bool DestinationSchemaUpdateHasBeenSet() const { return m_destinationSchemaUpdateHasBeenSet; }
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</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. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</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. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</p>
*/
inline OutputUpdate& WithDestinationSchemaUpdate(const DestinationSchema& value) { SetDestinationSchemaUpdate(value); return *this;}
/**
* <p>Describes the data format when records are written to the destination. For
* more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-it-works-output.html">Configuring
* Application Output</a>.</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 KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,218 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the mapping of each data element in the streaming source to the
* corresponding column in the in-application stream.</p> <p>Also used to describe
* the format of the reference data source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/RecordColumn">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API RecordColumn
{
public:
RecordColumn();
RecordColumn(Aws::Utils::Json::JsonView jsonValue);
RecordColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline RecordColumn& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline RecordColumn& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>Name of the column created in the in-application input stream or reference
* table.</p>
*/
inline RecordColumn& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline const Aws::String& GetMapping() const{ return m_mapping; }
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline bool MappingHasBeenSet() const { return m_mappingHasBeenSet; }
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline void SetMapping(const Aws::String& value) { m_mappingHasBeenSet = true; m_mapping = value; }
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline void SetMapping(Aws::String&& value) { m_mappingHasBeenSet = true; m_mapping = std::move(value); }
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline void SetMapping(const char* value) { m_mappingHasBeenSet = true; m_mapping.assign(value); }
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline RecordColumn& WithMapping(const Aws::String& value) { SetMapping(value); return *this;}
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline RecordColumn& WithMapping(Aws::String&& value) { SetMapping(std::move(value)); return *this;}
/**
* <p>Reference to the data element in the streaming input or the reference data
* source. This element is required if the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_RecordFormat.html#analytics-Type-RecordFormat-RecordFormatTypel">RecordFormatType</a>
* is <code>JSON</code>.</p>
*/
inline RecordColumn& WithMapping(const char* value) { SetMapping(value); return *this;}
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline const Aws::String& GetSqlType() const{ return m_sqlType; }
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline bool SqlTypeHasBeenSet() const { return m_sqlTypeHasBeenSet; }
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline void SetSqlType(const Aws::String& value) { m_sqlTypeHasBeenSet = true; m_sqlType = value; }
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline void SetSqlType(Aws::String&& value) { m_sqlTypeHasBeenSet = true; m_sqlType = std::move(value); }
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline void SetSqlType(const char* value) { m_sqlTypeHasBeenSet = true; m_sqlType.assign(value); }
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline RecordColumn& WithSqlType(const Aws::String& value) { SetSqlType(value); return *this;}
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline RecordColumn& WithSqlType(Aws::String&& value) { SetSqlType(std::move(value)); return *this;}
/**
* <p>Type of column created in the in-application input stream or reference
* table.</p>
*/
inline RecordColumn& WithSqlType(const char* value) { SetSqlType(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_mapping;
bool m_mappingHasBeenSet;
Aws::String m_sqlType;
bool m_sqlTypeHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/RecordFormatType.h>
#include <aws/kinesisanalytics/model/MappingParameters.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p> Describes the record format and relevant mapping information that should be
* applied to schematize the records on the stream. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/RecordFormat">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API RecordFormat
{
public:
RecordFormat();
RecordFormat(Aws::Utils::Json::JsonView jsonValue);
RecordFormat& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The type of record format.</p>
*/
inline const RecordFormatType& GetRecordFormatType() const{ return m_recordFormatType; }
/**
* <p>The type of record format.</p>
*/
inline bool RecordFormatTypeHasBeenSet() const { return m_recordFormatTypeHasBeenSet; }
/**
* <p>The type of record format.</p>
*/
inline void SetRecordFormatType(const RecordFormatType& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = value; }
/**
* <p>The type of record format.</p>
*/
inline void SetRecordFormatType(RecordFormatType&& value) { m_recordFormatTypeHasBeenSet = true; m_recordFormatType = std::move(value); }
/**
* <p>The type of record format.</p>
*/
inline RecordFormat& WithRecordFormatType(const RecordFormatType& value) { SetRecordFormatType(value); return *this;}
/**
* <p>The type of record format.</p>
*/
inline RecordFormat& WithRecordFormatType(RecordFormatType&& value) { SetRecordFormatType(std::move(value)); return *this;}
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p>
*/
inline const MappingParameters& GetMappingParameters() const{ return m_mappingParameters; }
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p>
*/
inline bool MappingParametersHasBeenSet() const { return m_mappingParametersHasBeenSet; }
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p>
*/
inline void SetMappingParameters(const MappingParameters& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = value; }
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p>
*/
inline void SetMappingParameters(MappingParameters&& value) { m_mappingParametersHasBeenSet = true; m_mappingParameters = std::move(value); }
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p>
*/
inline RecordFormat& WithMappingParameters(const MappingParameters& value) { SetMappingParameters(value); return *this;}
/**
* <p>When configuring application input at the time of creating or updating an
* application, provides additional mapping information specific to the record
* format (such as JSON, CSV, or record fields delimited by some delimiter) on the
* streaming source.</p>
*/
inline RecordFormat& WithMappingParameters(MappingParameters&& value) { SetMappingParameters(std::move(value)); return *this;}
private:
RecordFormatType m_recordFormatType;
bool m_recordFormatTypeHasBeenSet;
MappingParameters m_mappingParameters;
bool m_mappingParametersHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,31 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
enum class RecordFormatType
{
NOT_SET,
JSON,
CSV
};
namespace RecordFormatTypeMapper
{
AWS_KINESISANALYTICS_API RecordFormatType GetRecordFormatTypeForName(const Aws::String& name);
AWS_KINESISANALYTICS_API Aws::String GetNameForRecordFormatType(RecordFormatType value);
} // namespace RecordFormatTypeMapper
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,191 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/S3ReferenceDataSource.h>
#include <aws/kinesisanalytics/model/SourceSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the reference data source by providing the source information (S3
* bucket name and object key name), the resulting in-application table name that
* is created, and the necessary schema to map the data elements in the Amazon S3
* object to the in-application table.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ReferenceDataSource">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ReferenceDataSource
{
public:
ReferenceDataSource();
ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Name of the in-application table to create.</p>
*/
inline const Aws::String& GetTableName() const{ return m_tableName; }
/**
* <p>Name of the in-application table to create.</p>
*/
inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
/**
* <p>Name of the in-application table to create.</p>
*/
inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
/**
* <p>Name of the in-application table to create.</p>
*/
inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
/**
* <p>Name of the in-application table to create.</p>
*/
inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
/**
* <p>Name of the in-application table to create.</p>
*/
inline ReferenceDataSource& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
/**
* <p>Name of the in-application table to create.</p>
*/
inline ReferenceDataSource& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
/**
* <p>Name of the in-application table to create.</p>
*/
inline ReferenceDataSource& WithTableName(const char* value) { SetTableName(value); return *this;}
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the <code>UpdateApplication</code>
* operation to trigger reloading of data into your application. </p>
*/
inline const S3ReferenceDataSource& GetS3ReferenceDataSource() const{ return m_s3ReferenceDataSource; }
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the <code>UpdateApplication</code>
* operation to trigger reloading of data into your application. </p>
*/
inline bool S3ReferenceDataSourceHasBeenSet() const { return m_s3ReferenceDataSourceHasBeenSet; }
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the <code>UpdateApplication</code>
* operation to trigger reloading of data into your application. </p>
*/
inline void SetS3ReferenceDataSource(const S3ReferenceDataSource& value) { m_s3ReferenceDataSourceHasBeenSet = true; m_s3ReferenceDataSource = value; }
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the <code>UpdateApplication</code>
* operation to trigger reloading of data into your application. </p>
*/
inline void SetS3ReferenceDataSource(S3ReferenceDataSource&& value) { m_s3ReferenceDataSourceHasBeenSet = true; m_s3ReferenceDataSource = std::move(value); }
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the <code>UpdateApplication</code>
* operation to trigger reloading of data into your application. </p>
*/
inline ReferenceDataSource& WithS3ReferenceDataSource(const S3ReferenceDataSource& value) { SetS3ReferenceDataSource(value); return *this;}
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf. An Amazon Kinesis Analytics application loads reference data
* only once. If the data changes, you call the <code>UpdateApplication</code>
* operation to trigger reloading of data into your application. </p>
*/
inline ReferenceDataSource& WithS3ReferenceDataSource(S3ReferenceDataSource&& value) { SetS3ReferenceDataSource(std::move(value)); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline const SourceSchema& GetReferenceSchema() const{ return m_referenceSchema; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline bool ReferenceSchemaHasBeenSet() const { return m_referenceSchemaHasBeenSet; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline void SetReferenceSchema(const SourceSchema& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = value; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline void SetReferenceSchema(SourceSchema&& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = std::move(value); }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline ReferenceDataSource& WithReferenceSchema(const SourceSchema& value) { SetReferenceSchema(value); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline ReferenceDataSource& WithReferenceSchema(SourceSchema&& value) { SetReferenceSchema(std::move(value)); return *this;}
private:
Aws::String m_tableName;
bool m_tableNameHasBeenSet;
S3ReferenceDataSource m_s3ReferenceDataSource;
bool m_s3ReferenceDataSourceHasBeenSet;
SourceSchema m_referenceSchema;
bool m_referenceSchemaHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,259 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/S3ReferenceDataSourceDescription.h>
#include <aws/kinesisanalytics/model/SourceSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the reference data source configured for an
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ReferenceDataSourceDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ReferenceDataSourceDescription
{
public:
ReferenceDataSourceDescription();
ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue);
ReferenceDataSourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline ReferenceDataSourceDescription& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline ReferenceDataSourceDescription& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
/**
* <p>ID of the reference data source. This is the ID that Amazon Kinesis Analytics
* assigns when you add the reference data source to your application using the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_AddApplicationReferenceDataSource.html">AddApplicationReferenceDataSource</a>
* operation.</p>
*/
inline ReferenceDataSourceDescription& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline const Aws::String& GetTableName() const{ return m_tableName; }
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline ReferenceDataSourceDescription& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline ReferenceDataSourceDescription& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
/**
* <p>The in-application table name created by the specific reference data source
* configuration.</p>
*/
inline ReferenceDataSourceDescription& WithTableName(const char* value) { SetTableName(value); return *this;}
/**
* <p>Provides the S3 bucket name, the object key name that contains the reference
* data. It also provides the Amazon Resource Name (ARN) of the IAM role that
* Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate
* the in-application reference table.</p>
*/
inline const S3ReferenceDataSourceDescription& GetS3ReferenceDataSourceDescription() const{ return m_s3ReferenceDataSourceDescription; }
/**
* <p>Provides the S3 bucket name, the object key name that contains the reference
* data. It also provides the Amazon Resource Name (ARN) of the IAM role that
* Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate
* the in-application reference table.</p>
*/
inline bool S3ReferenceDataSourceDescriptionHasBeenSet() const { return m_s3ReferenceDataSourceDescriptionHasBeenSet; }
/**
* <p>Provides the S3 bucket name, the object key name that contains the reference
* data. It also provides the Amazon Resource Name (ARN) of the IAM role that
* Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate
* the in-application reference table.</p>
*/
inline void SetS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription& value) { m_s3ReferenceDataSourceDescriptionHasBeenSet = true; m_s3ReferenceDataSourceDescription = value; }
/**
* <p>Provides the S3 bucket name, the object key name that contains the reference
* data. It also provides the Amazon Resource Name (ARN) of the IAM role that
* Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate
* the in-application reference table.</p>
*/
inline void SetS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription&& value) { m_s3ReferenceDataSourceDescriptionHasBeenSet = true; m_s3ReferenceDataSourceDescription = std::move(value); }
/**
* <p>Provides the S3 bucket name, the object key name that contains the reference
* data. It also provides the Amazon Resource Name (ARN) of the IAM role that
* Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate
* the in-application reference table.</p>
*/
inline ReferenceDataSourceDescription& WithS3ReferenceDataSourceDescription(const S3ReferenceDataSourceDescription& value) { SetS3ReferenceDataSourceDescription(value); return *this;}
/**
* <p>Provides the S3 bucket name, the object key name that contains the reference
* data. It also provides the Amazon Resource Name (ARN) of the IAM role that
* Amazon Kinesis Analytics can assume to read the Amazon S3 object and populate
* the in-application reference table.</p>
*/
inline ReferenceDataSourceDescription& WithS3ReferenceDataSourceDescription(S3ReferenceDataSourceDescription&& value) { SetS3ReferenceDataSourceDescription(std::move(value)); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline const SourceSchema& GetReferenceSchema() const{ return m_referenceSchema; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline bool ReferenceSchemaHasBeenSet() const { return m_referenceSchemaHasBeenSet; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline void SetReferenceSchema(const SourceSchema& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = value; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline void SetReferenceSchema(SourceSchema&& value) { m_referenceSchemaHasBeenSet = true; m_referenceSchema = std::move(value); }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline ReferenceDataSourceDescription& WithReferenceSchema(const SourceSchema& value) { SetReferenceSchema(value); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream.</p>
*/
inline ReferenceDataSourceDescription& WithReferenceSchema(SourceSchema&& value) { SetReferenceSchema(std::move(value)); return *this;}
private:
Aws::String m_referenceId;
bool m_referenceIdHasBeenSet;
Aws::String m_tableName;
bool m_tableNameHasBeenSet;
S3ReferenceDataSourceDescription m_s3ReferenceDataSourceDescription;
bool m_s3ReferenceDataSourceDescriptionHasBeenSet;
SourceSchema m_referenceSchema;
bool m_referenceSchemaHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,240 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalytics/model/S3ReferenceDataSourceUpdate.h>
#include <aws/kinesisanalytics/model/SourceSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>When you update a reference data source configuration for an application,
* this object provides all the updated values (such as the source bucket name and
* object key name), the in-application table name that is created, and updated
* mapping information that maps the data in the Amazon S3 object to the
* in-application reference table that is created.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ReferenceDataSourceUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API ReferenceDataSourceUpdate
{
public:
ReferenceDataSourceUpdate();
ReferenceDataSourceUpdate(Aws::Utils::Json::JsonView jsonValue);
ReferenceDataSourceUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline ReferenceDataSourceUpdate& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline ReferenceDataSourceUpdate& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
/**
* <p>ID of the reference data source being updated. You can use the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_DescribeApplication.html">DescribeApplication</a>
* operation to get this value.</p>
*/
inline ReferenceDataSourceUpdate& WithReferenceId(const char* value) { SetReferenceId(value); return *this;}
/**
* <p>In-application table name that is created by this update.</p>
*/
inline const Aws::String& GetTableNameUpdate() const{ return m_tableNameUpdate; }
/**
* <p>In-application table name that is created by this update.</p>
*/
inline bool TableNameUpdateHasBeenSet() const { return m_tableNameUpdateHasBeenSet; }
/**
* <p>In-application table name that is created by this update.</p>
*/
inline void SetTableNameUpdate(const Aws::String& value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate = value; }
/**
* <p>In-application table name that is created by this update.</p>
*/
inline void SetTableNameUpdate(Aws::String&& value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate = std::move(value); }
/**
* <p>In-application table name that is created by this update.</p>
*/
inline void SetTableNameUpdate(const char* value) { m_tableNameUpdateHasBeenSet = true; m_tableNameUpdate.assign(value); }
/**
* <p>In-application table name that is created by this update.</p>
*/
inline ReferenceDataSourceUpdate& WithTableNameUpdate(const Aws::String& value) { SetTableNameUpdate(value); return *this;}
/**
* <p>In-application table name that is created by this update.</p>
*/
inline ReferenceDataSourceUpdate& WithTableNameUpdate(Aws::String&& value) { SetTableNameUpdate(std::move(value)); return *this;}
/**
* <p>In-application table name that is created by this update.</p>
*/
inline ReferenceDataSourceUpdate& WithTableNameUpdate(const char* value) { SetTableNameUpdate(value); return *this;}
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p>
*/
inline const S3ReferenceDataSourceUpdate& GetS3ReferenceDataSourceUpdate() const{ return m_s3ReferenceDataSourceUpdate; }
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p>
*/
inline bool S3ReferenceDataSourceUpdateHasBeenSet() const { return m_s3ReferenceDataSourceUpdateHasBeenSet; }
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p>
*/
inline void SetS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate& value) { m_s3ReferenceDataSourceUpdateHasBeenSet = true; m_s3ReferenceDataSourceUpdate = value; }
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p>
*/
inline void SetS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate&& value) { m_s3ReferenceDataSourceUpdateHasBeenSet = true; m_s3ReferenceDataSourceUpdate = std::move(value); }
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p>
*/
inline ReferenceDataSourceUpdate& WithS3ReferenceDataSourceUpdate(const S3ReferenceDataSourceUpdate& value) { SetS3ReferenceDataSourceUpdate(value); return *this;}
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p>
*/
inline ReferenceDataSourceUpdate& WithS3ReferenceDataSourceUpdate(S3ReferenceDataSourceUpdate&& value) { SetS3ReferenceDataSourceUpdate(std::move(value)); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream. </p>
*/
inline const SourceSchema& GetReferenceSchemaUpdate() const{ return m_referenceSchemaUpdate; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream. </p>
*/
inline bool ReferenceSchemaUpdateHasBeenSet() const { return m_referenceSchemaUpdateHasBeenSet; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream. </p>
*/
inline void SetReferenceSchemaUpdate(const SourceSchema& value) { m_referenceSchemaUpdateHasBeenSet = true; m_referenceSchemaUpdate = value; }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream. </p>
*/
inline void SetReferenceSchemaUpdate(SourceSchema&& value) { m_referenceSchemaUpdateHasBeenSet = true; m_referenceSchemaUpdate = std::move(value); }
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream. </p>
*/
inline ReferenceDataSourceUpdate& WithReferenceSchemaUpdate(const SourceSchema& value) { SetReferenceSchemaUpdate(value); return *this;}
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application stream. </p>
*/
inline ReferenceDataSourceUpdate& WithReferenceSchemaUpdate(SourceSchema&& value) { SetReferenceSchemaUpdate(std::move(value)); return *this;}
private:
Aws::String m_referenceId;
bool m_referenceIdHasBeenSet;
Aws::String m_tableNameUpdate;
bool m_tableNameUpdateHasBeenSet;
S3ReferenceDataSourceUpdate m_s3ReferenceDataSourceUpdate;
bool m_s3ReferenceDataSourceUpdateHasBeenSet;
SourceSchema m_referenceSchemaUpdate;
bool m_referenceSchemaUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,179 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides a description of an Amazon S3 data source, including the Amazon
* Resource Name (ARN) of the S3 bucket, the ARN of the IAM role that is used to
* access the bucket, and the name of the Amazon S3 object that contains the
* data.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/S3Configuration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API S3Configuration
{
public:
S3Configuration();
S3Configuration(Aws::Utils::Json::JsonView jsonValue);
S3Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline S3Configuration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline S3Configuration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>IAM ARN of the role used to access the data.</p>
*/
inline S3Configuration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline S3Configuration& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline S3Configuration& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
/**
* <p>ARN of the S3 bucket that contains the data.</p>
*/
inline S3Configuration& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
/**
* <p>The name of the object that contains the data.</p>
*/
inline const Aws::String& GetFileKey() const{ return m_fileKey; }
/**
* <p>The name of the object that contains the data.</p>
*/
inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
/**
* <p>The name of the object that contains the data.</p>
*/
inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
/**
* <p>The name of the object that contains the data.</p>
*/
inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
/**
* <p>The name of the object that contains the data.</p>
*/
inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
/**
* <p>The name of the object that contains the data.</p>
*/
inline S3Configuration& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
/**
* <p>The name of the object that contains the data.</p>
*/
inline S3Configuration& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
/**
* <p>The name of the object that contains the data.</p>
*/
inline S3Configuration& WithFileKey(const char* value) { SetFileKey(value); return *this;}
private:
Aws::String m_roleARN;
bool m_roleARNHasBeenSet;
Aws::String m_bucketARN;
bool m_bucketARNHasBeenSet;
Aws::String m_fileKey;
bool m_fileKeyHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,206 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Identifies the S3 bucket and object that contains the reference data. Also
* identifies the IAM role Amazon Kinesis Analytics can assume to read this object
* on your behalf.</p> <p>An Amazon Kinesis Analytics application loads reference
* data only once. If the data changes, you call the <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_UpdateApplication.html">UpdateApplication</a>
* operation to trigger reloading of data into your application.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/S3ReferenceDataSource">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API S3ReferenceDataSource
{
public:
S3ReferenceDataSource();
S3ReferenceDataSource(Aws::Utils::Json::JsonView jsonValue);
S3ReferenceDataSource& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSource& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSource& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSource& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
/**
* <p>Object key name containing reference data.</p>
*/
inline const Aws::String& GetFileKey() const{ return m_fileKey; }
/**
* <p>Object key name containing reference data.</p>
*/
inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
/**
* <p>Object key name containing reference data.</p>
*/
inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
/**
* <p>Object key name containing reference data.</p>
*/
inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
/**
* <p>Object key name containing reference data.</p>
*/
inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
/**
* <p>Object key name containing reference data.</p>
*/
inline S3ReferenceDataSource& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
/**
* <p>Object key name containing reference data.</p>
*/
inline S3ReferenceDataSource& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
/**
* <p>Object key name containing reference data.</p>
*/
inline S3ReferenceDataSource& WithFileKey(const char* value) { SetFileKey(value); return *this;}
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline const Aws::String& GetReferenceRoleARN() const{ return m_referenceRoleARN; }
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline void SetReferenceRoleARN(const Aws::String& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = value; }
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline void SetReferenceRoleARN(Aws::String&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::move(value); }
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline void SetReferenceRoleARN(const char* value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN.assign(value); }
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline S3ReferenceDataSource& WithReferenceRoleARN(const Aws::String& value) { SetReferenceRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline S3ReferenceDataSource& WithReferenceRoleARN(Aws::String&& value) { SetReferenceRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that the service can assume to read data on your behalf.
* This role must have permission for the <code>s3:GetObject</code> action on the
* object and trust policy that allows Amazon Kinesis Analytics service principal
* to assume this role.</p>
*/
inline S3ReferenceDataSource& WithReferenceRoleARN(const char* value) { SetReferenceRoleARN(value); return *this;}
private:
Aws::String m_bucketARN;
bool m_bucketARNHasBeenSet;
Aws::String m_fileKey;
bool m_fileKeyHasBeenSet;
Aws::String m_referenceRoleARN;
bool m_referenceRoleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,193 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Provides the bucket name and object key name that stores the reference
* data.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/S3ReferenceDataSourceDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API S3ReferenceDataSourceDescription
{
public:
S3ReferenceDataSourceDescription();
S3ReferenceDataSourceDescription(Aws::Utils::Json::JsonView jsonValue);
S3ReferenceDataSourceDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline const Aws::String& GetBucketARN() const{ return m_bucketARN; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSourceDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSourceDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSourceDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;}
/**
* <p>Amazon S3 object key name.</p>
*/
inline const Aws::String& GetFileKey() const{ return m_fileKey; }
/**
* <p>Amazon S3 object key name.</p>
*/
inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; }
/**
* <p>Amazon S3 object key name.</p>
*/
inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; }
/**
* <p>Amazon S3 object key name.</p>
*/
inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); }
/**
* <p>Amazon S3 object key name.</p>
*/
inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); }
/**
* <p>Amazon S3 object key name.</p>
*/
inline S3ReferenceDataSourceDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;}
/**
* <p>Amazon S3 object key name.</p>
*/
inline S3ReferenceDataSourceDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;}
/**
* <p>Amazon S3 object key name.</p>
*/
inline S3ReferenceDataSourceDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline const Aws::String& GetReferenceRoleARN() const{ return m_referenceRoleARN; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline bool ReferenceRoleARNHasBeenSet() const { return m_referenceRoleARNHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline void SetReferenceRoleARN(const Aws::String& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline void SetReferenceRoleARN(Aws::String&& value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline void SetReferenceRoleARN(const char* value) { m_referenceRoleARNHasBeenSet = true; m_referenceRoleARN.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(const Aws::String& value) { SetReferenceRoleARN(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(Aws::String&& value) { SetReferenceRoleARN(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object on your behalf to populate the in-application reference
* table.</p>
*/
inline S3ReferenceDataSourceDescription& WithReferenceRoleARN(const char* value) { SetReferenceRoleARN(value); return *this;}
private:
Aws::String m_bucketARN;
bool m_bucketARNHasBeenSet;
Aws::String m_fileKey;
bool m_fileKeyHasBeenSet;
Aws::String m_referenceRoleARN;
bool m_referenceRoleARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,186 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the S3 bucket name, object key name, and IAM role that Amazon
* Kinesis Analytics can assume to read the Amazon S3 object on your behalf and
* populate the in-application reference table.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/S3ReferenceDataSourceUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API S3ReferenceDataSourceUpdate
{
public:
S3ReferenceDataSourceUpdate();
S3ReferenceDataSourceUpdate(Aws::Utils::Json::JsonView jsonValue);
S3ReferenceDataSourceUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline const Aws::String& GetBucketARNUpdate() const{ return m_bucketARNUpdate; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline bool BucketARNUpdateHasBeenSet() const { return m_bucketARNUpdateHasBeenSet; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARNUpdate(const Aws::String& value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate = value; }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARNUpdate(Aws::String&& value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate = std::move(value); }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline void SetBucketARNUpdate(const char* value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate.assign(value); }
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSourceUpdate& WithBucketARNUpdate(const Aws::String& value) { SetBucketARNUpdate(value); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSourceUpdate& WithBucketARNUpdate(Aws::String&& value) { SetBucketARNUpdate(std::move(value)); return *this;}
/**
* <p>Amazon Resource Name (ARN) of the S3 bucket.</p>
*/
inline S3ReferenceDataSourceUpdate& WithBucketARNUpdate(const char* value) { SetBucketARNUpdate(value); return *this;}
/**
* <p>Object key name.</p>
*/
inline const Aws::String& GetFileKeyUpdate() const{ return m_fileKeyUpdate; }
/**
* <p>Object key name.</p>
*/
inline bool FileKeyUpdateHasBeenSet() const { return m_fileKeyUpdateHasBeenSet; }
/**
* <p>Object key name.</p>
*/
inline void SetFileKeyUpdate(const Aws::String& value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate = value; }
/**
* <p>Object key name.</p>
*/
inline void SetFileKeyUpdate(Aws::String&& value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate = std::move(value); }
/**
* <p>Object key name.</p>
*/
inline void SetFileKeyUpdate(const char* value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate.assign(value); }
/**
* <p>Object key name.</p>
*/
inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(const Aws::String& value) { SetFileKeyUpdate(value); return *this;}
/**
* <p>Object key name.</p>
*/
inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(Aws::String&& value) { SetFileKeyUpdate(std::move(value)); return *this;}
/**
* <p>Object key name.</p>
*/
inline S3ReferenceDataSourceUpdate& WithFileKeyUpdate(const char* value) { SetFileKeyUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline const Aws::String& GetReferenceRoleARNUpdate() const{ return m_referenceRoleARNUpdate; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline bool ReferenceRoleARNUpdateHasBeenSet() const { return m_referenceRoleARNUpdateHasBeenSet; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline void SetReferenceRoleARNUpdate(const Aws::String& value) { m_referenceRoleARNUpdateHasBeenSet = true; m_referenceRoleARNUpdate = value; }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline void SetReferenceRoleARNUpdate(Aws::String&& value) { m_referenceRoleARNUpdateHasBeenSet = true; m_referenceRoleARNUpdate = std::move(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline void SetReferenceRoleARNUpdate(const char* value) { m_referenceRoleARNUpdateHasBeenSet = true; m_referenceRoleARNUpdate.assign(value); }
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline S3ReferenceDataSourceUpdate& WithReferenceRoleARNUpdate(const Aws::String& value) { SetReferenceRoleARNUpdate(value); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline S3ReferenceDataSourceUpdate& WithReferenceRoleARNUpdate(Aws::String&& value) { SetReferenceRoleARNUpdate(std::move(value)); return *this;}
/**
* <p>ARN of the IAM role that Amazon Kinesis Analytics can assume to read the
* Amazon S3 object and populate the in-application.</p>
*/
inline S3ReferenceDataSourceUpdate& WithReferenceRoleARNUpdate(const char* value) { SetReferenceRoleARNUpdate(value); return *this;}
private:
Aws::String m_bucketARNUpdate;
bool m_bucketARNUpdateHasBeenSet;
Aws::String m_fileKeyUpdate;
bool m_fileKeyUpdateHasBeenSet;
Aws::String m_referenceRoleARNUpdate;
bool m_referenceRoleARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,179 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/model/RecordFormat.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/RecordColumn.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Describes the format of the data in the streaming source, and how each data
* element maps to corresponding columns created in the in-application
* stream.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/SourceSchema">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API SourceSchema
{
public:
SourceSchema();
SourceSchema(Aws::Utils::Json::JsonView jsonValue);
SourceSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline const RecordFormat& GetRecordFormat() const{ return m_recordFormat; }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline bool RecordFormatHasBeenSet() const { return m_recordFormatHasBeenSet; }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline void SetRecordFormat(const RecordFormat& value) { m_recordFormatHasBeenSet = true; m_recordFormat = value; }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline void SetRecordFormat(RecordFormat&& value) { m_recordFormatHasBeenSet = true; m_recordFormat = std::move(value); }
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline SourceSchema& WithRecordFormat(const RecordFormat& value) { SetRecordFormat(value); return *this;}
/**
* <p>Specifies the format of the records on the streaming source.</p>
*/
inline SourceSchema& WithRecordFormat(RecordFormat&& value) { SetRecordFormat(std::move(value)); return *this;}
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline const Aws::String& GetRecordEncoding() const{ return m_recordEncoding; }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline bool RecordEncodingHasBeenSet() const { return m_recordEncodingHasBeenSet; }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline void SetRecordEncoding(const Aws::String& value) { m_recordEncodingHasBeenSet = true; m_recordEncoding = value; }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline void SetRecordEncoding(Aws::String&& value) { m_recordEncodingHasBeenSet = true; m_recordEncoding = std::move(value); }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline void SetRecordEncoding(const char* value) { m_recordEncodingHasBeenSet = true; m_recordEncoding.assign(value); }
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline SourceSchema& WithRecordEncoding(const Aws::String& value) { SetRecordEncoding(value); return *this;}
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline SourceSchema& WithRecordEncoding(Aws::String&& value) { SetRecordEncoding(std::move(value)); return *this;}
/**
* <p>Specifies the encoding of the records in the streaming source. For example,
* UTF-8.</p>
*/
inline SourceSchema& WithRecordEncoding(const char* value) { SetRecordEncoding(value); return *this;}
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline const Aws::Vector<RecordColumn>& GetRecordColumns() const{ return m_recordColumns; }
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline bool RecordColumnsHasBeenSet() const { return m_recordColumnsHasBeenSet; }
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline void SetRecordColumns(const Aws::Vector<RecordColumn>& value) { m_recordColumnsHasBeenSet = true; m_recordColumns = value; }
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline void SetRecordColumns(Aws::Vector<RecordColumn>&& value) { m_recordColumnsHasBeenSet = true; m_recordColumns = std::move(value); }
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline SourceSchema& WithRecordColumns(const Aws::Vector<RecordColumn>& value) { SetRecordColumns(value); return *this;}
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline SourceSchema& WithRecordColumns(Aws::Vector<RecordColumn>&& value) { SetRecordColumns(std::move(value)); return *this;}
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline SourceSchema& AddRecordColumns(const RecordColumn& value) { m_recordColumnsHasBeenSet = true; m_recordColumns.push_back(value); return *this; }
/**
* <p>A list of <code>RecordColumn</code> objects.</p>
*/
inline SourceSchema& AddRecordColumns(RecordColumn&& value) { m_recordColumnsHasBeenSet = true; m_recordColumns.push_back(std::move(value)); return *this; }
private:
RecordFormat m_recordFormat;
bool m_recordFormatHasBeenSet;
Aws::String m_recordEncoding;
bool m_recordEncodingHasBeenSet;
Aws::Vector<RecordColumn> m_recordColumns;
bool m_recordColumnsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,158 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/InputConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StartApplicationRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API StartApplicationRequest : public KinesisAnalyticsRequest
{
public:
StartApplicationRequest();
// 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 "StartApplication"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the application.</p>
*/
inline StartApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the application.</p>
*/
inline StartApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the application.</p>
*/
inline StartApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline const Aws::Vector<InputConfiguration>& GetInputConfigurations() const{ return m_inputConfigurations; }
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline bool InputConfigurationsHasBeenSet() const { return m_inputConfigurationsHasBeenSet; }
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline void SetInputConfigurations(const Aws::Vector<InputConfiguration>& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = value; }
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline void SetInputConfigurations(Aws::Vector<InputConfiguration>&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations = std::move(value); }
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline StartApplicationRequest& WithInputConfigurations(const Aws::Vector<InputConfiguration>& value) { SetInputConfigurations(value); return *this;}
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline StartApplicationRequest& WithInputConfigurations(Aws::Vector<InputConfiguration>&& value) { SetInputConfigurations(std::move(value)); return *this;}
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline StartApplicationRequest& AddInputConfigurations(const InputConfiguration& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(value); return *this; }
/**
* <p>Identifies the specific input, by ID, that the application starts consuming.
* Amazon Kinesis Analytics starts reading the streaming source associated with the
* input. You can also specify where in the streaming source you want Amazon
* Kinesis Analytics to start reading.</p>
*/
inline StartApplicationRequest& AddInputConfigurations(InputConfiguration&& value) { m_inputConfigurationsHasBeenSet = true; m_inputConfigurations.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::Vector<InputConfiguration> m_inputConfigurations;
bool m_inputConfigurationsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StartApplicationResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API StartApplicationResult
{
public:
StartApplicationResult();
StartApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
StartApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,88 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StopApplicationRequest">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API StopApplicationRequest : public KinesisAnalyticsRequest
{
public:
StopApplicationRequest();
// 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 "StopApplication"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>Name of the running application to stop.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>Name of the running application to stop.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>Name of the running application to stop.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>Name of the running application to stop.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>Name of the running application to stop.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>Name of the running application to stop.</p>
*/
inline StopApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>Name of the running application to stop.</p>
*/
inline StopApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>Name of the running application to stop.</p>
*/
inline StopApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,41 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p/><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StopApplicationResponse">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API StopApplicationResult
{
public:
StopApplicationResult();
StopApplicationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
StopApplicationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,138 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_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 KinesisAnalytics
{
namespace Model
{
/**
* <p>A key-value pair (the value is optional) that you can define and assign to
* AWS resources. If you specify a tag that already exists, the tag value is
* replaced with the value that you specify in the request. Note that the maximum
* number of application tags includes system tags. The maximum number of
* user-defined application tags is 50. For more information, see <a
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/how-tagging.html">Using
* Tagging</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/Tag">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API Tag
{
public:
Tag();
Tag(Aws::Utils::Json::JsonView jsonValue);
Tag& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The key of the key-value tag.</p>
*/
inline const Aws::String& GetKey() const{ return m_key; }
/**
* <p>The key of the key-value tag.</p>
*/
inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
/**
* <p>The key of the key-value tag.</p>
*/
inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
/**
* <p>The key of the key-value tag.</p>
*/
inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
/**
* <p>The key of the key-value tag.</p>
*/
inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
/**
* <p>The key of the key-value tag.</p>
*/
inline Tag& WithKey(const Aws::String& value) { SetKey(value); return *this;}
/**
* <p>The key of the key-value tag.</p>
*/
inline Tag& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
/**
* <p>The key of the key-value tag.</p>
*/
inline Tag& WithKey(const char* value) { SetKey(value); return *this;}
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline Tag& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline Tag& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* <p>The value of the key-value tag. The value is optional.</p>
*/
inline Tag& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_key;
bool m_keyHasBeenSet;
Aws::String m_value;
bool m_valueHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,131 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API TagResourceRequest : public KinesisAnalyticsRequest
{
public:
TagResourceRequest();
// 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 "TagResource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline TagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline TagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the application to assign the tags.</p>
*/
inline TagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline TagResourceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline TagResourceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline TagResourceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>The key-value tags to assign to the application.</p>
*/
inline TagResourceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,36 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
class AWS_KINESISANALYTICS_API TagResourceResult
{
public:
TagResourceResult();
TagResourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
TagResourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,136 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalytics
{
namespace Model
{
/**
* <p>Data format is not valid. Amazon Kinesis Analytics is not able to detect
* schema for the given streaming source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/UnableToDetectSchemaException">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICS_API UnableToDetectSchemaException
{
public:
UnableToDetectSchemaException();
UnableToDetectSchemaException(Aws::Utils::Json::JsonView jsonValue);
UnableToDetectSchemaException& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
inline const Aws::String& GetMessage() const{ return m_message; }
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
inline UnableToDetectSchemaException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
inline UnableToDetectSchemaException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
inline UnableToDetectSchemaException& WithMessage(const char* value) { SetMessage(value); return *this;}
inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
inline bool RawInputRecordsHasBeenSet() const { return m_rawInputRecordsHasBeenSet; }
inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords = value; }
inline void SetRawInputRecords(Aws::Vector<Aws::String>&& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords = std::move(value); }
inline UnableToDetectSchemaException& WithRawInputRecords(const Aws::Vector<Aws::String>& value) { SetRawInputRecords(value); return *this;}
inline UnableToDetectSchemaException& WithRawInputRecords(Aws::Vector<Aws::String>&& value) { SetRawInputRecords(std::move(value)); return *this;}
inline UnableToDetectSchemaException& AddRawInputRecords(const Aws::String& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(value); return *this; }
inline UnableToDetectSchemaException& AddRawInputRecords(Aws::String&& value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(std::move(value)); return *this; }
inline UnableToDetectSchemaException& AddRawInputRecords(const char* value) { m_rawInputRecordsHasBeenSet = true; m_rawInputRecords.push_back(value); return *this; }
inline const Aws::Vector<Aws::String>& GetProcessedInputRecords() const{ return m_processedInputRecords; }
inline bool ProcessedInputRecordsHasBeenSet() const { return m_processedInputRecordsHasBeenSet; }
inline void SetProcessedInputRecords(const Aws::Vector<Aws::String>& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords = value; }
inline void SetProcessedInputRecords(Aws::Vector<Aws::String>&& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords = std::move(value); }
inline UnableToDetectSchemaException& WithProcessedInputRecords(const Aws::Vector<Aws::String>& value) { SetProcessedInputRecords(value); return *this;}
inline UnableToDetectSchemaException& WithProcessedInputRecords(Aws::Vector<Aws::String>&& value) { SetProcessedInputRecords(std::move(value)); return *this;}
inline UnableToDetectSchemaException& AddProcessedInputRecords(const Aws::String& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(value); return *this; }
inline UnableToDetectSchemaException& AddProcessedInputRecords(Aws::String&& value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(std::move(value)); return *this; }
inline UnableToDetectSchemaException& AddProcessedInputRecords(const char* value) { m_processedInputRecordsHasBeenSet = true; m_processedInputRecords.push_back(value); return *this; }
private:
Aws::String m_message;
bool m_messageHasBeenSet;
Aws::Vector<Aws::String> m_rawInputRecords;
bool m_rawInputRecordsHasBeenSet;
Aws::Vector<Aws::String> m_processedInputRecords;
bool m_processedInputRecordsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

View File

@@ -0,0 +1,143 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
#include <aws/kinesisanalytics/KinesisAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalytics
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICS_API UntagResourceRequest : public KinesisAnalyticsRequest
{
public:
UntagResourceRequest();
// 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 "UntagResource"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline UntagResourceRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline UntagResourceRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the Kinesis Analytics application from which to remove the
* tags.</p>
*/
inline UntagResourceRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline const Aws::Vector<Aws::String>& GetTagKeys() const{ return m_tagKeys; }
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; }
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline void SetTagKeys(const Aws::Vector<Aws::String>& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; }
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline void SetTagKeys(Aws::Vector<Aws::String>&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); }
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline UntagResourceRequest& WithTagKeys(const Aws::Vector<Aws::String>& value) { SetTagKeys(value); return *this;}
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline UntagResourceRequest& WithTagKeys(Aws::Vector<Aws::String>&& value) { SetTagKeys(std::move(value)); return *this;}
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; }
/**
* <p>A list of keys of tags to remove from the specified application.</p>
*/
inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; }
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::Vector<Aws::String> m_tagKeys;
bool m_tagKeysHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalytics
} // namespace Aws

Some files were not shown because too many files have changed in this diff Show More