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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace KinesisAnalyticsV2Endpoint
{
AWS_KINESISANALYTICSV2_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace KinesisAnalyticsV2Endpoint
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_KINESISANALYTICSV2_API KinesisAnalyticsV2ErrorMarshaller : 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,82 @@
/**
* 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
enum class KinesisAnalyticsV2Errors
{
//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,
INVALID_REQUEST,
LIMIT_EXCEEDED,
RESOURCE_IN_USE,
RESOURCE_PROVISIONED_THROUGHPUT_EXCEEDED,
TOO_MANY_TAGS,
UNABLE_TO_DETECT_SCHEMA,
UNSUPPORTED_OPERATION
};
class AWS_KINESISANALYTICSV2_API KinesisAnalyticsV2Error : public Aws::Client::AWSError<KinesisAnalyticsV2Errors>
{
public:
KinesisAnalyticsV2Error() {}
KinesisAnalyticsV2Error(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<KinesisAnalyticsV2Errors>(rhs) {}
KinesisAnalyticsV2Error(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<KinesisAnalyticsV2Errors>(rhs) {}
KinesisAnalyticsV2Error(const Aws::Client::AWSError<KinesisAnalyticsV2Errors>& rhs) : Aws::Client::AWSError<KinesisAnalyticsV2Errors>(rhs) {}
KinesisAnalyticsV2Error(Aws::Client::AWSError<KinesisAnalyticsV2Errors>&& rhs) : Aws::Client::AWSError<KinesisAnalyticsV2Errors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace KinesisAnalyticsV2ErrorMapper
{
AWS_KINESISANALYTICSV2_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
class AWS_KINESISANALYTICSV2_API KinesisAnalyticsV2Request : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~KinesisAnalyticsV2Request () {}
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, "2018-05-23"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace KinesisAnalyticsV2
} // 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_KINESISANALYTICSV2_EXPORTS
#define AWS_KINESISANALYTICSV2_API __declspec(dllexport)
#else
#define AWS_KINESISANALYTICSV2_API __declspec(dllimport)
#endif /* AWS_KINESISANALYTICSV2_EXPORTS */
#else
#define AWS_KINESISANALYTICSV2_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_KINESISANALYTICSV2_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,148 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOption.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API AddApplicationCloudWatchLoggingOptionRequest : public KinesisAnalyticsV2Request
{
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 Data Analytics application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The Kinesis Data Analytics application name.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version ID of the Kinesis Data Analytics application. You can retrieve
* the application version ID using <a>DescribeApplication</a>.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The version ID of the Kinesis Data Analytics application. You can retrieve
* the application version ID using <a>DescribeApplication</a>.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The version ID of the Kinesis Data Analytics application. You can retrieve
* the application version ID using <a>DescribeApplication</a>.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The version ID of the Kinesis Data Analytics application. You can retrieve
* the application version ID using <a>DescribeApplication</a>.</p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). </p>
*/
inline const CloudWatchLoggingOption& GetCloudWatchLoggingOption() const{ return m_cloudWatchLoggingOption; }
/**
* <p>Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). </p>
*/
inline bool CloudWatchLoggingOptionHasBeenSet() const { return m_cloudWatchLoggingOptionHasBeenSet; }
/**
* <p>Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). </p>
*/
inline void SetCloudWatchLoggingOption(const CloudWatchLoggingOption& value) { m_cloudWatchLoggingOptionHasBeenSet = true; m_cloudWatchLoggingOption = value; }
/**
* <p>Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). </p>
*/
inline void SetCloudWatchLoggingOption(CloudWatchLoggingOption&& value) { m_cloudWatchLoggingOptionHasBeenSet = true; m_cloudWatchLoggingOption = std::move(value); }
/**
* <p>Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). </p>
*/
inline AddApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOption(const CloudWatchLoggingOption& value) { SetCloudWatchLoggingOption(value); return *this;}
/**
* <p>Provides the Amazon CloudWatch log stream Amazon Resource Name (ARN). </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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,148 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOptionDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API AddApplicationCloudWatchLoggingOptionResult
{
public:
AddApplicationCloudWatchLoggingOptionResult();
AddApplicationCloudWatchLoggingOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationCloudWatchLoggingOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The application's ARN.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The application's ARN.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The application's ARN.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The application's ARN.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The application's ARN.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The application's ARN.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The application's ARN.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The new version ID of the Kinesis Data Analytics application. Kinesis Data
* Analytics updates the <code>ApplicationVersionId</code> each time you change the
* CloudWatch logging options. </p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The new version ID of the Kinesis Data Analytics application. Kinesis Data
* Analytics updates the <code>ApplicationVersionId</code> each time you change the
* CloudWatch logging options. </p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The new version ID of the Kinesis Data Analytics application. Kinesis Data
* Analytics updates the <code>ApplicationVersionId</code> each time you change the
* CloudWatch logging options. </p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline const Aws::Vector<CloudWatchLoggingOptionDescription>& GetCloudWatchLoggingOptionDescriptions() const{ return m_cloudWatchLoggingOptionDescriptions; }
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { m_cloudWatchLoggingOptionDescriptions = value; }
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { m_cloudWatchLoggingOptionDescriptions = std::move(value); }
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& WithCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { SetCloudWatchLoggingOptionDescriptions(value); return *this;}
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& WithCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { SetCloudWatchLoggingOptionDescriptions(std::move(value)); return *this;}
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& AddCloudWatchLoggingOptionDescriptions(const CloudWatchLoggingOptionDescription& value) { m_cloudWatchLoggingOptionDescriptions.push_back(value); return *this; }
/**
* <p>The descriptions of the current CloudWatch logging options for the Kinesis
* Data Analytics application.</p>
*/
inline AddApplicationCloudWatchLoggingOptionResult& AddCloudWatchLoggingOptionDescriptions(CloudWatchLoggingOptionDescription&& value) { m_cloudWatchLoggingOptionDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
Aws::Vector<CloudWatchLoggingOptionDescription> m_cloudWatchLoggingOptionDescriptions;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,224 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API AddApplicationInputProcessingConfigurationRequest : public KinesisAnalyticsV2Request
{
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>The 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>The name of the application to which you want to add the input processing
* configuration.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The 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>The 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>The 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>The 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>The 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>The 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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>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>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>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>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>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>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>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>DescribeApplication</a> operation.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputId(const char* value) { SetInputId(value); return *this;}
/**
* <p>The <a>InputProcessingConfiguration</a> to add to the application.</p>
*/
inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
/**
* <p>The <a>InputProcessingConfiguration</a> to add to the application.</p>
*/
inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
/**
* <p>The <a>InputProcessingConfiguration</a> to add to the application.</p>
*/
inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
/**
* <p>The <a>InputProcessingConfiguration</a> to add to the application.</p>
*/
inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
/**
* <p>The <a>InputProcessingConfiguration</a> to add to the application.</p>
*/
inline AddApplicationInputProcessingConfigurationRequest& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;}
/**
* <p>The <a>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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,181 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfigurationDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API AddApplicationInputProcessingConfigurationResult
{
public:
AddApplicationInputProcessingConfigurationResult();
AddApplicationInputProcessingConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationInputProcessingConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithApplicationARN(const char* value) { SetApplicationARN(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 void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>Provides the current application version.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline void SetInputId(const Aws::String& value) { m_inputId = value; }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline void SetInputId(Aws::String&& value) { m_inputId = std::move(value); }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline void SetInputId(const char* value) { m_inputId.assign(value); }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Amazon Kinesis Data Analytics assigns to each input configuration that you
* add to your application.</p>
*/
inline AddApplicationInputProcessingConfigurationResult& WithInputId(const char* value) { SetInputId(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 void SetInputProcessingConfigurationDescription(const InputProcessingConfigurationDescription& value) { 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_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 AddApplicationInputProcessingConfigurationResult& 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 AddApplicationInputProcessingConfigurationResult& WithInputProcessingConfigurationDescription(InputProcessingConfigurationDescription&& value) { SetInputProcessingConfigurationDescription(std::move(value)); return *this;}
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
Aws::String m_inputId;
InputProcessingConfigurationDescription m_inputProcessingConfigurationDescription;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,160 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/Input.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API AddApplicationInputRequest : public KinesisAnalyticsV2Request
{
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>The name of your existing application to which you want to add the streaming
* source.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of your existing application to which you want to add the streaming
* source.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of your existing 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>The name of your existing 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>The name of your existing 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>The name of your existing application to which you want to add the streaming
* source.</p>
*/
inline AddApplicationInputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of your existing application to which you want to add the streaming
* source.</p>
*/
inline AddApplicationInputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of your existing application to which you want to add the streaming
* source.</p>
*/
inline AddApplicationInputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The current version of your application. You can use the
* <a>DescribeApplication</a> operation to find the current application
* version.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The current version of your application. You can use the
* <a>DescribeApplication</a> operation to find the current application
* version.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The current version of your application. You can use the
* <a>DescribeApplication</a> operation to find the current application
* version.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The current version of your application. You can use the
* <a>DescribeApplication</a> operation to find the current application
* version.</p>
*/
inline AddApplicationInputRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The <a>Input</a> to add.</p>
*/
inline const Input& GetInput() const{ return m_input; }
/**
* <p>The <a>Input</a> to add.</p>
*/
inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
/**
* <p>The <a>Input</a> to add.</p>
*/
inline void SetInput(const Input& value) { m_inputHasBeenSet = true; m_input = value; }
/**
* <p>The <a>Input</a> to add.</p>
*/
inline void SetInput(Input&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
/**
* <p>The <a>Input</a> to add.</p>
*/
inline AddApplicationInputRequest& WithInput(const Input& value) { SetInput(value); return *this;}
/**
* <p>The <a>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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,135 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/InputDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API AddApplicationInputResult
{
public:
AddApplicationInputResult();
AddApplicationInputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationInputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline AddApplicationInputResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline AddApplicationInputResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline AddApplicationInputResult& WithApplicationARN(const char* value) { SetApplicationARN(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 void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>Provides the current application version.</p>
*/
inline AddApplicationInputResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>Describes the application input configuration. </p>
*/
inline const Aws::Vector<InputDescription>& GetInputDescriptions() const{ return m_inputDescriptions; }
/**
* <p>Describes the application input configuration. </p>
*/
inline void SetInputDescriptions(const Aws::Vector<InputDescription>& value) { m_inputDescriptions = value; }
/**
* <p>Describes the application input configuration. </p>
*/
inline void SetInputDescriptions(Aws::Vector<InputDescription>&& value) { m_inputDescriptions = std::move(value); }
/**
* <p>Describes the application input configuration. </p>
*/
inline AddApplicationInputResult& WithInputDescriptions(const Aws::Vector<InputDescription>& value) { SetInputDescriptions(value); return *this;}
/**
* <p>Describes the application input configuration. </p>
*/
inline AddApplicationInputResult& WithInputDescriptions(Aws::Vector<InputDescription>&& value) { SetInputDescriptions(std::move(value)); return *this;}
/**
* <p>Describes the application input configuration. </p>
*/
inline AddApplicationInputResult& AddInputDescriptions(const InputDescription& value) { m_inputDescriptions.push_back(value); return *this; }
/**
* <p>Describes the application input configuration. </p>
*/
inline AddApplicationInputResult& AddInputDescriptions(InputDescription&& value) { m_inputDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
Aws::Vector<InputDescription> m_inputDescriptions;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,188 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/Output.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API AddApplicationOutputRequest : public KinesisAnalyticsV2Request
{
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>The name of the application to which you want to add the output
* configuration.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the application to which you want to add the output
* configuration.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The 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>The 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>The 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>The 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>The 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>The 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>The version of the application to which you want to add the output
* configuration. You can use the <a>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>The version of the application to which you want to add the output
* configuration. You can use the <a>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>The version of the application to which you want to add the output
* configuration. You can use the <a>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>The version of the application to which you want to add the output
* configuration. You can use the <a>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, a Kinesis data stream, a Kinesis Data 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, a Kinesis data stream, a Kinesis Data 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, a Kinesis data stream, a Kinesis Data 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, a Kinesis data stream, a Kinesis Data 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, a Kinesis data stream, a Kinesis Data 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, a Kinesis data stream, a Kinesis Data 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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/OutputDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API AddApplicationOutputResult
{
public:
AddApplicationOutputResult();
AddApplicationOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline AddApplicationOutputResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline AddApplicationOutputResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline AddApplicationOutputResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The updated application version ID. Kinesis Data Analytics increments this ID
* when the application is updated.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The updated application version ID. Kinesis Data Analytics increments this ID
* when the application is updated.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The updated application version ID. Kinesis Data Analytics increments this ID
* when the application is updated.</p>
*/
inline AddApplicationOutputResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(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 void SetOutputDescriptions(const Aws::Vector<OutputDescription>& value) { 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_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 AddApplicationOutputResult& 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 AddApplicationOutputResult& 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 AddApplicationOutputResult& AddOutputDescriptions(const OutputDescription& value) { 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 AddApplicationOutputResult& AddOutputDescriptions(OutputDescription&& value) { m_outputDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
Aws::Vector<OutputDescription> m_outputDescriptions;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,174 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/ReferenceDataSource.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API AddApplicationReferenceDataSourceRequest : public KinesisAnalyticsV2Request
{
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>The name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline AddApplicationReferenceDataSourceRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version of the application for which you are adding the reference data
* source. You can use the <a>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>The version of the application for which you are adding the reference data
* source. You can use the <a>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>The version of the application for which you are adding the reference data
* source. You can use the <a>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>The version of the application for which you are adding the reference data
* source. You can use the <a>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. Kinesis
* Data 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. </p>
*/
inline const ReferenceDataSource& GetReferenceDataSource() const{ return m_referenceDataSource; }
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Kinesis
* Data 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. </p>
*/
inline bool ReferenceDataSourceHasBeenSet() const { return m_referenceDataSourceHasBeenSet; }
/**
* <p>The reference data source can be an object in your Amazon S3 bucket. Kinesis
* Data 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. </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. Kinesis
* Data 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. </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. Kinesis
* Data 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. </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. Kinesis
* Data 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. </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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/ReferenceDataSourceDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API AddApplicationReferenceDataSourceResult
{
public:
AddApplicationReferenceDataSourceResult();
AddApplicationReferenceDataSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationReferenceDataSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline AddApplicationReferenceDataSourceResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline AddApplicationReferenceDataSourceResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline AddApplicationReferenceDataSourceResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The updated application version ID. Amazon Kinesis Data Analytics increments
* this ID when the application is updated.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The updated application version ID. Amazon Kinesis Data Analytics increments
* this ID when the application is updated.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The updated application version ID. Amazon Kinesis Data Analytics increments
* this ID when the application is updated.</p>
*/
inline AddApplicationReferenceDataSourceResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline const Aws::Vector<ReferenceDataSourceDescription>& GetReferenceDataSourceDescriptions() const{ return m_referenceDataSourceDescriptions; }
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline void SetReferenceDataSourceDescriptions(const Aws::Vector<ReferenceDataSourceDescription>& value) { m_referenceDataSourceDescriptions = value; }
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline void SetReferenceDataSourceDescriptions(Aws::Vector<ReferenceDataSourceDescription>&& value) { m_referenceDataSourceDescriptions = std::move(value); }
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline AddApplicationReferenceDataSourceResult& WithReferenceDataSourceDescriptions(const Aws::Vector<ReferenceDataSourceDescription>& value) { SetReferenceDataSourceDescriptions(value); return *this;}
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline AddApplicationReferenceDataSourceResult& WithReferenceDataSourceDescriptions(Aws::Vector<ReferenceDataSourceDescription>&& value) { SetReferenceDataSourceDescriptions(std::move(value)); return *this;}
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline AddApplicationReferenceDataSourceResult& AddReferenceDataSourceDescriptions(const ReferenceDataSourceDescription& value) { m_referenceDataSourceDescriptions.push_back(value); return *this; }
/**
* <p>Describes reference data sources configured for the application. </p>
*/
inline AddApplicationReferenceDataSourceResult& AddReferenceDataSourceDescriptions(ReferenceDataSourceDescription&& value) { m_referenceDataSourceDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
Aws::Vector<ReferenceDataSourceDescription> m_referenceDataSourceDescriptions;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/VpcConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API AddApplicationVpcConfigurationRequest : public KinesisAnalyticsV2Request
{
public:
AddApplicationVpcConfigurationRequest();
// 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 "AddApplicationVpcConfiguration"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application.</p>
*/
inline AddApplicationVpcConfigurationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline AddApplicationVpcConfigurationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline AddApplicationVpcConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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>The version of the application to which you want to add the input processing
* configuration. You can use the <a>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 AddApplicationVpcConfigurationRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>Description of the VPC to add to the application.</p>
*/
inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
/**
* <p>Description of the VPC to add to the application.</p>
*/
inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
/**
* <p>Description of the VPC to add to the application.</p>
*/
inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
/**
* <p>Description of the VPC to add to the application.</p>
*/
inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
/**
* <p>Description of the VPC to add to the application.</p>
*/
inline AddApplicationVpcConfigurationRequest& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
/**
* <p>Description of the VPC to add to the application.</p>
*/
inline AddApplicationVpcConfigurationRequest& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
VpcConfiguration m_vpcConfiguration;
bool m_vpcConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,127 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/VpcConfigurationDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API AddApplicationVpcConfigurationResult
{
public:
AddApplicationVpcConfigurationResult();
AddApplicationVpcConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AddApplicationVpcConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The ARN of the application.</p>
*/
inline AddApplicationVpcConfigurationResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline AddApplicationVpcConfigurationResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline AddApplicationVpcConfigurationResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* ApplicationVersionId each time you update the application. </p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* ApplicationVersionId each time you update the application. </p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* ApplicationVersionId each time you update the application. </p>
*/
inline AddApplicationVpcConfigurationResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>The parameters of the new VPC configuration.</p>
*/
inline const VpcConfigurationDescription& GetVpcConfigurationDescription() const{ return m_vpcConfigurationDescription; }
/**
* <p>The parameters of the new VPC configuration.</p>
*/
inline void SetVpcConfigurationDescription(const VpcConfigurationDescription& value) { m_vpcConfigurationDescription = value; }
/**
* <p>The parameters of the new VPC configuration.</p>
*/
inline void SetVpcConfigurationDescription(VpcConfigurationDescription&& value) { m_vpcConfigurationDescription = std::move(value); }
/**
* <p>The parameters of the new VPC configuration.</p>
*/
inline AddApplicationVpcConfigurationResult& WithVpcConfigurationDescription(const VpcConfigurationDescription& value) { SetVpcConfigurationDescription(value); return *this;}
/**
* <p>The parameters of the new VPC configuration.</p>
*/
inline AddApplicationVpcConfigurationResult& WithVpcConfigurationDescription(VpcConfigurationDescription&& value) { SetVpcConfigurationDescription(std::move(value)); return *this;}
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
VpcConfigurationDescription m_vpcConfigurationDescription;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,114 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/CodeContent.h>
#include <aws/kinesisanalyticsv2/model/CodeContentType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes code configuration for a Java-based Kinesis Data Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationCodeConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration
{
public:
ApplicationCodeConfiguration();
ApplicationCodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
ApplicationCodeConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The location and type of the application code.</p>
*/
inline const CodeContent& GetCodeContent() const{ return m_codeContent; }
/**
* <p>The location and type of the application code.</p>
*/
inline bool CodeContentHasBeenSet() const { return m_codeContentHasBeenSet; }
/**
* <p>The location and type of the application code.</p>
*/
inline void SetCodeContent(const CodeContent& value) { m_codeContentHasBeenSet = true; m_codeContent = value; }
/**
* <p>The location and type of the application code.</p>
*/
inline void SetCodeContent(CodeContent&& value) { m_codeContentHasBeenSet = true; m_codeContent = std::move(value); }
/**
* <p>The location and type of the application code.</p>
*/
inline ApplicationCodeConfiguration& WithCodeContent(const CodeContent& value) { SetCodeContent(value); return *this;}
/**
* <p>The location and type of the application code.</p>
*/
inline ApplicationCodeConfiguration& WithCodeContent(CodeContent&& value) { SetCodeContent(std::move(value)); return *this;}
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline const CodeContentType& GetCodeContentType() const{ return m_codeContentType; }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline bool CodeContentTypeHasBeenSet() const { return m_codeContentTypeHasBeenSet; }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline void SetCodeContentType(const CodeContentType& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = value; }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline void SetCodeContentType(CodeContentType&& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = std::move(value); }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline ApplicationCodeConfiguration& WithCodeContentType(const CodeContentType& value) { SetCodeContentType(value); return *this;}
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline ApplicationCodeConfiguration& WithCodeContentType(CodeContentType&& value) { SetCodeContentType(std::move(value)); return *this;}
private:
CodeContent m_codeContent;
bool m_codeContentHasBeenSet;
CodeContentType m_codeContentType;
bool m_codeContentTypeHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,114 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/CodeContentType.h>
#include <aws/kinesisanalyticsv2/model/CodeContentDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes code configuration for a Java-based Kinesis Data Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationCodeConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationDescription
{
public:
ApplicationCodeConfigurationDescription();
ApplicationCodeConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
ApplicationCodeConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline const CodeContentType& GetCodeContentType() const{ return m_codeContentType; }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline bool CodeContentTypeHasBeenSet() const { return m_codeContentTypeHasBeenSet; }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline void SetCodeContentType(const CodeContentType& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = value; }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline void SetCodeContentType(CodeContentType&& value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = std::move(value); }
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline ApplicationCodeConfigurationDescription& WithCodeContentType(const CodeContentType& value) { SetCodeContentType(value); return *this;}
/**
* <p>Specifies whether the code content is in text or zip format.</p>
*/
inline ApplicationCodeConfigurationDescription& WithCodeContentType(CodeContentType&& value) { SetCodeContentType(std::move(value)); return *this;}
/**
* <p>Describes details about the location and format of the application code.</p>
*/
inline const CodeContentDescription& GetCodeContentDescription() const{ return m_codeContentDescription; }
/**
* <p>Describes details about the location and format of the application code.</p>
*/
inline bool CodeContentDescriptionHasBeenSet() const { return m_codeContentDescriptionHasBeenSet; }
/**
* <p>Describes details about the location and format of the application code.</p>
*/
inline void SetCodeContentDescription(const CodeContentDescription& value) { m_codeContentDescriptionHasBeenSet = true; m_codeContentDescription = value; }
/**
* <p>Describes details about the location and format of the application code.</p>
*/
inline void SetCodeContentDescription(CodeContentDescription&& value) { m_codeContentDescriptionHasBeenSet = true; m_codeContentDescription = std::move(value); }
/**
* <p>Describes details about the location and format of the application code.</p>
*/
inline ApplicationCodeConfigurationDescription& WithCodeContentDescription(const CodeContentDescription& value) { SetCodeContentDescription(value); return *this;}
/**
* <p>Describes details about the location and format of the application code.</p>
*/
inline ApplicationCodeConfigurationDescription& WithCodeContentDescription(CodeContentDescription&& value) { SetCodeContentDescription(std::move(value)); return *this;}
private:
CodeContentType m_codeContentType;
bool m_codeContentTypeHasBeenSet;
CodeContentDescription m_codeContentDescription;
bool m_codeContentDescriptionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,114 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/CodeContentType.h>
#include <aws/kinesisanalyticsv2/model/CodeContentUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates to a Java-based Amazon Kinesis Data Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationCodeConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationUpdate
{
public:
ApplicationCodeConfigurationUpdate();
ApplicationCodeConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
ApplicationCodeConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes updates to the code content type.</p>
*/
inline const CodeContentType& GetCodeContentTypeUpdate() const{ return m_codeContentTypeUpdate; }
/**
* <p>Describes updates to the code content type.</p>
*/
inline bool CodeContentTypeUpdateHasBeenSet() const { return m_codeContentTypeUpdateHasBeenSet; }
/**
* <p>Describes updates to the code content type.</p>
*/
inline void SetCodeContentTypeUpdate(const CodeContentType& value) { m_codeContentTypeUpdateHasBeenSet = true; m_codeContentTypeUpdate = value; }
/**
* <p>Describes updates to the code content type.</p>
*/
inline void SetCodeContentTypeUpdate(CodeContentType&& value) { m_codeContentTypeUpdateHasBeenSet = true; m_codeContentTypeUpdate = std::move(value); }
/**
* <p>Describes updates to the code content type.</p>
*/
inline ApplicationCodeConfigurationUpdate& WithCodeContentTypeUpdate(const CodeContentType& value) { SetCodeContentTypeUpdate(value); return *this;}
/**
* <p>Describes updates to the code content type.</p>
*/
inline ApplicationCodeConfigurationUpdate& WithCodeContentTypeUpdate(CodeContentType&& value) { SetCodeContentTypeUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to the code content of an application.</p>
*/
inline const CodeContentUpdate& GetCodeContentUpdate() const{ return m_codeContentUpdate; }
/**
* <p>Describes updates to the code content of an application.</p>
*/
inline bool CodeContentUpdateHasBeenSet() const { return m_codeContentUpdateHasBeenSet; }
/**
* <p>Describes updates to the code content of an application.</p>
*/
inline void SetCodeContentUpdate(const CodeContentUpdate& value) { m_codeContentUpdateHasBeenSet = true; m_codeContentUpdate = value; }
/**
* <p>Describes updates to the code content of an application.</p>
*/
inline void SetCodeContentUpdate(CodeContentUpdate&& value) { m_codeContentUpdateHasBeenSet = true; m_codeContentUpdate = std::move(value); }
/**
* <p>Describes updates to the code content of an application.</p>
*/
inline ApplicationCodeConfigurationUpdate& WithCodeContentUpdate(const CodeContentUpdate& value) { SetCodeContentUpdate(value); return *this;}
/**
* <p>Describes updates to the code content of an application.</p>
*/
inline ApplicationCodeConfigurationUpdate& WithCodeContentUpdate(CodeContentUpdate&& value) { SetCodeContentUpdate(std::move(value)); return *this;}
private:
CodeContentType m_codeContentTypeUpdate;
bool m_codeContentTypeUpdateHasBeenSet;
CodeContentUpdate m_codeContentUpdate;
bool m_codeContentUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,303 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/SqlApplicationConfiguration.h>
#include <aws/kinesisanalyticsv2/model/FlinkApplicationConfiguration.h>
#include <aws/kinesisanalyticsv2/model/EnvironmentProperties.h>
#include <aws/kinesisanalyticsv2/model/ApplicationCodeConfiguration.h>
#include <aws/kinesisanalyticsv2/model/ApplicationSnapshotConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/VpcConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Specifies the creation parameters for an Amazon Kinesis Data Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationConfiguration
{
public:
ApplicationConfiguration();
ApplicationConfiguration(Aws::Utils::Json::JsonView jsonValue);
ApplicationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The creation and update parameters for an SQL-based Kinesis Data Analytics
* application.</p>
*/
inline const SqlApplicationConfiguration& GetSqlApplicationConfiguration() const{ return m_sqlApplicationConfiguration; }
/**
* <p>The creation and update parameters for an SQL-based Kinesis Data Analytics
* application.</p>
*/
inline bool SqlApplicationConfigurationHasBeenSet() const { return m_sqlApplicationConfigurationHasBeenSet; }
/**
* <p>The creation and update parameters for an SQL-based Kinesis Data Analytics
* application.</p>
*/
inline void SetSqlApplicationConfiguration(const SqlApplicationConfiguration& value) { m_sqlApplicationConfigurationHasBeenSet = true; m_sqlApplicationConfiguration = value; }
/**
* <p>The creation and update parameters for an SQL-based Kinesis Data Analytics
* application.</p>
*/
inline void SetSqlApplicationConfiguration(SqlApplicationConfiguration&& value) { m_sqlApplicationConfigurationHasBeenSet = true; m_sqlApplicationConfiguration = std::move(value); }
/**
* <p>The creation and update parameters for an SQL-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithSqlApplicationConfiguration(const SqlApplicationConfiguration& value) { SetSqlApplicationConfiguration(value); return *this;}
/**
* <p>The creation and update parameters for an SQL-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithSqlApplicationConfiguration(SqlApplicationConfiguration&& value) { SetSqlApplicationConfiguration(std::move(value)); return *this;}
/**
* <p>The creation and update parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline const FlinkApplicationConfiguration& GetFlinkApplicationConfiguration() const{ return m_flinkApplicationConfiguration; }
/**
* <p>The creation and update parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline bool FlinkApplicationConfigurationHasBeenSet() const { return m_flinkApplicationConfigurationHasBeenSet; }
/**
* <p>The creation and update parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetFlinkApplicationConfiguration(const FlinkApplicationConfiguration& value) { m_flinkApplicationConfigurationHasBeenSet = true; m_flinkApplicationConfiguration = value; }
/**
* <p>The creation and update parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetFlinkApplicationConfiguration(FlinkApplicationConfiguration&& value) { m_flinkApplicationConfigurationHasBeenSet = true; m_flinkApplicationConfiguration = std::move(value); }
/**
* <p>The creation and update parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithFlinkApplicationConfiguration(const FlinkApplicationConfiguration& value) { SetFlinkApplicationConfiguration(value); return *this;}
/**
* <p>The creation and update parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithFlinkApplicationConfiguration(FlinkApplicationConfiguration&& value) { SetFlinkApplicationConfiguration(std::move(value)); return *this;}
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline const EnvironmentProperties& GetEnvironmentProperties() const{ return m_environmentProperties; }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline bool EnvironmentPropertiesHasBeenSet() const { return m_environmentPropertiesHasBeenSet; }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetEnvironmentProperties(const EnvironmentProperties& value) { m_environmentPropertiesHasBeenSet = true; m_environmentProperties = value; }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetEnvironmentProperties(EnvironmentProperties&& value) { m_environmentPropertiesHasBeenSet = true; m_environmentProperties = std::move(value); }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithEnvironmentProperties(const EnvironmentProperties& value) { SetEnvironmentProperties(value); return *this;}
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithEnvironmentProperties(EnvironmentProperties&& value) { SetEnvironmentProperties(std::move(value)); return *this;}
/**
* <p>The code location and type parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline const ApplicationCodeConfiguration& GetApplicationCodeConfiguration() const{ return m_applicationCodeConfiguration; }
/**
* <p>The code location and type parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline bool ApplicationCodeConfigurationHasBeenSet() const { return m_applicationCodeConfigurationHasBeenSet; }
/**
* <p>The code location and type parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetApplicationCodeConfiguration(const ApplicationCodeConfiguration& value) { m_applicationCodeConfigurationHasBeenSet = true; m_applicationCodeConfiguration = value; }
/**
* <p>The code location and type parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetApplicationCodeConfiguration(ApplicationCodeConfiguration&& value) { m_applicationCodeConfigurationHasBeenSet = true; m_applicationCodeConfiguration = std::move(value); }
/**
* <p>The code location and type parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithApplicationCodeConfiguration(const ApplicationCodeConfiguration& value) { SetApplicationCodeConfiguration(value); return *this;}
/**
* <p>The code location and type parameters for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfiguration& WithApplicationCodeConfiguration(ApplicationCodeConfiguration&& value) { SetApplicationCodeConfiguration(std::move(value)); return *this;}
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline const ApplicationSnapshotConfiguration& GetApplicationSnapshotConfiguration() const{ return m_applicationSnapshotConfiguration; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool ApplicationSnapshotConfigurationHasBeenSet() const { return m_applicationSnapshotConfigurationHasBeenSet; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationSnapshotConfiguration(const ApplicationSnapshotConfiguration& value) { m_applicationSnapshotConfigurationHasBeenSet = true; m_applicationSnapshotConfiguration = value; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationSnapshotConfiguration(ApplicationSnapshotConfiguration&& value) { m_applicationSnapshotConfigurationHasBeenSet = true; m_applicationSnapshotConfiguration = std::move(value); }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfiguration& WithApplicationSnapshotConfiguration(const ApplicationSnapshotConfiguration& value) { SetApplicationSnapshotConfiguration(value); return *this;}
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfiguration& WithApplicationSnapshotConfiguration(ApplicationSnapshotConfiguration&& value) { SetApplicationSnapshotConfiguration(std::move(value)); return *this;}
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline const Aws::Vector<VpcConfiguration>& GetVpcConfigurations() const{ return m_vpcConfigurations; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline bool VpcConfigurationsHasBeenSet() const { return m_vpcConfigurationsHasBeenSet; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline void SetVpcConfigurations(const Aws::Vector<VpcConfiguration>& value) { m_vpcConfigurationsHasBeenSet = true; m_vpcConfigurations = value; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline void SetVpcConfigurations(Aws::Vector<VpcConfiguration>&& value) { m_vpcConfigurationsHasBeenSet = true; m_vpcConfigurations = std::move(value); }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfiguration& WithVpcConfigurations(const Aws::Vector<VpcConfiguration>& value) { SetVpcConfigurations(value); return *this;}
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfiguration& WithVpcConfigurations(Aws::Vector<VpcConfiguration>&& value) { SetVpcConfigurations(std::move(value)); return *this;}
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfiguration& AddVpcConfigurations(const VpcConfiguration& value) { m_vpcConfigurationsHasBeenSet = true; m_vpcConfigurations.push_back(value); return *this; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfiguration& AddVpcConfigurations(VpcConfiguration&& value) { m_vpcConfigurationsHasBeenSet = true; m_vpcConfigurations.push_back(std::move(value)); return *this; }
private:
SqlApplicationConfiguration m_sqlApplicationConfiguration;
bool m_sqlApplicationConfigurationHasBeenSet;
FlinkApplicationConfiguration m_flinkApplicationConfiguration;
bool m_flinkApplicationConfigurationHasBeenSet;
EnvironmentProperties m_environmentProperties;
bool m_environmentPropertiesHasBeenSet;
ApplicationCodeConfiguration m_applicationCodeConfiguration;
bool m_applicationCodeConfigurationHasBeenSet;
ApplicationSnapshotConfiguration m_applicationSnapshotConfiguration;
bool m_applicationSnapshotConfigurationHasBeenSet;
Aws::Vector<VpcConfiguration> m_vpcConfigurations;
bool m_vpcConfigurationsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,338 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/SqlApplicationConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/ApplicationCodeConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/RunConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/FlinkApplicationConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/EnvironmentPropertyDescriptions.h>
#include <aws/kinesisanalyticsv2/model/ApplicationSnapshotConfigurationDescription.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/VpcConfigurationDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes details about the application code and starting parameters for an
* Amazon Kinesis Data Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationConfigurationDescription
{
public:
ApplicationConfigurationDescription();
ApplicationConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
ApplicationConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The details about inputs, outputs, and reference data sources for an
* SQL-based Kinesis Data Analytics application.</p>
*/
inline const SqlApplicationConfigurationDescription& GetSqlApplicationConfigurationDescription() const{ return m_sqlApplicationConfigurationDescription; }
/**
* <p>The details about inputs, outputs, and reference data sources for an
* SQL-based Kinesis Data Analytics application.</p>
*/
inline bool SqlApplicationConfigurationDescriptionHasBeenSet() const { return m_sqlApplicationConfigurationDescriptionHasBeenSet; }
/**
* <p>The details about inputs, outputs, and reference data sources for an
* SQL-based Kinesis Data Analytics application.</p>
*/
inline void SetSqlApplicationConfigurationDescription(const SqlApplicationConfigurationDescription& value) { m_sqlApplicationConfigurationDescriptionHasBeenSet = true; m_sqlApplicationConfigurationDescription = value; }
/**
* <p>The details about inputs, outputs, and reference data sources for an
* SQL-based Kinesis Data Analytics application.</p>
*/
inline void SetSqlApplicationConfigurationDescription(SqlApplicationConfigurationDescription&& value) { m_sqlApplicationConfigurationDescriptionHasBeenSet = true; m_sqlApplicationConfigurationDescription = std::move(value); }
/**
* <p>The details about inputs, outputs, and reference data sources for an
* SQL-based Kinesis Data Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithSqlApplicationConfigurationDescription(const SqlApplicationConfigurationDescription& value) { SetSqlApplicationConfigurationDescription(value); return *this;}
/**
* <p>The details about inputs, outputs, and reference data sources for an
* SQL-based Kinesis Data Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithSqlApplicationConfigurationDescription(SqlApplicationConfigurationDescription&& value) { SetSqlApplicationConfigurationDescription(std::move(value)); return *this;}
/**
* <p>The details about the application code for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline const ApplicationCodeConfigurationDescription& GetApplicationCodeConfigurationDescription() const{ return m_applicationCodeConfigurationDescription; }
/**
* <p>The details about the application code for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool ApplicationCodeConfigurationDescriptionHasBeenSet() const { return m_applicationCodeConfigurationDescriptionHasBeenSet; }
/**
* <p>The details about the application code for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationCodeConfigurationDescription(const ApplicationCodeConfigurationDescription& value) { m_applicationCodeConfigurationDescriptionHasBeenSet = true; m_applicationCodeConfigurationDescription = value; }
/**
* <p>The details about the application code for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationCodeConfigurationDescription(ApplicationCodeConfigurationDescription&& value) { m_applicationCodeConfigurationDescriptionHasBeenSet = true; m_applicationCodeConfigurationDescription = std::move(value); }
/**
* <p>The details about the application code for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithApplicationCodeConfigurationDescription(const ApplicationCodeConfigurationDescription& value) { SetApplicationCodeConfigurationDescription(value); return *this;}
/**
* <p>The details about the application code for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithApplicationCodeConfigurationDescription(ApplicationCodeConfigurationDescription&& value) { SetApplicationCodeConfigurationDescription(std::move(value)); return *this;}
/**
* <p>The details about the starting properties for a Kinesis Data Analytics
* application.</p>
*/
inline const RunConfigurationDescription& GetRunConfigurationDescription() const{ return m_runConfigurationDescription; }
/**
* <p>The details about the starting properties for a Kinesis Data Analytics
* application.</p>
*/
inline bool RunConfigurationDescriptionHasBeenSet() const { return m_runConfigurationDescriptionHasBeenSet; }
/**
* <p>The details about the starting properties for a Kinesis Data Analytics
* application.</p>
*/
inline void SetRunConfigurationDescription(const RunConfigurationDescription& value) { m_runConfigurationDescriptionHasBeenSet = true; m_runConfigurationDescription = value; }
/**
* <p>The details about the starting properties for a Kinesis Data Analytics
* application.</p>
*/
inline void SetRunConfigurationDescription(RunConfigurationDescription&& value) { m_runConfigurationDescriptionHasBeenSet = true; m_runConfigurationDescription = std::move(value); }
/**
* <p>The details about the starting properties for a Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfigurationDescription& WithRunConfigurationDescription(const RunConfigurationDescription& value) { SetRunConfigurationDescription(value); return *this;}
/**
* <p>The details about the starting properties for a Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfigurationDescription& WithRunConfigurationDescription(RunConfigurationDescription&& value) { SetRunConfigurationDescription(std::move(value)); return *this;}
/**
* <p>The details about a Java-based Kinesis Data Analytics application.</p>
*/
inline const FlinkApplicationConfigurationDescription& GetFlinkApplicationConfigurationDescription() const{ return m_flinkApplicationConfigurationDescription; }
/**
* <p>The details about a Java-based Kinesis Data Analytics application.</p>
*/
inline bool FlinkApplicationConfigurationDescriptionHasBeenSet() const { return m_flinkApplicationConfigurationDescriptionHasBeenSet; }
/**
* <p>The details about a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetFlinkApplicationConfigurationDescription(const FlinkApplicationConfigurationDescription& value) { m_flinkApplicationConfigurationDescriptionHasBeenSet = true; m_flinkApplicationConfigurationDescription = value; }
/**
* <p>The details about a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetFlinkApplicationConfigurationDescription(FlinkApplicationConfigurationDescription&& value) { m_flinkApplicationConfigurationDescriptionHasBeenSet = true; m_flinkApplicationConfigurationDescription = std::move(value); }
/**
* <p>The details about a Java-based Kinesis Data Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithFlinkApplicationConfigurationDescription(const FlinkApplicationConfigurationDescription& value) { SetFlinkApplicationConfigurationDescription(value); return *this;}
/**
* <p>The details about a Java-based Kinesis Data Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithFlinkApplicationConfigurationDescription(FlinkApplicationConfigurationDescription&& value) { SetFlinkApplicationConfigurationDescription(std::move(value)); return *this;}
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline const EnvironmentPropertyDescriptions& GetEnvironmentPropertyDescriptions() const{ return m_environmentPropertyDescriptions; }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline bool EnvironmentPropertyDescriptionsHasBeenSet() const { return m_environmentPropertyDescriptionsHasBeenSet; }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetEnvironmentPropertyDescriptions(const EnvironmentPropertyDescriptions& value) { m_environmentPropertyDescriptionsHasBeenSet = true; m_environmentPropertyDescriptions = value; }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline void SetEnvironmentPropertyDescriptions(EnvironmentPropertyDescriptions&& value) { m_environmentPropertyDescriptionsHasBeenSet = true; m_environmentPropertyDescriptions = std::move(value); }
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfigurationDescription& WithEnvironmentPropertyDescriptions(const EnvironmentPropertyDescriptions& value) { SetEnvironmentPropertyDescriptions(value); return *this;}
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p>
*/
inline ApplicationConfigurationDescription& WithEnvironmentPropertyDescriptions(EnvironmentPropertyDescriptions&& value) { SetEnvironmentPropertyDescriptions(std::move(value)); return *this;}
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline const ApplicationSnapshotConfigurationDescription& GetApplicationSnapshotConfigurationDescription() const{ return m_applicationSnapshotConfigurationDescription; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool ApplicationSnapshotConfigurationDescriptionHasBeenSet() const { return m_applicationSnapshotConfigurationDescriptionHasBeenSet; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationSnapshotConfigurationDescription(const ApplicationSnapshotConfigurationDescription& value) { m_applicationSnapshotConfigurationDescriptionHasBeenSet = true; m_applicationSnapshotConfigurationDescription = value; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationSnapshotConfigurationDescription(ApplicationSnapshotConfigurationDescription&& value) { m_applicationSnapshotConfigurationDescriptionHasBeenSet = true; m_applicationSnapshotConfigurationDescription = std::move(value); }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithApplicationSnapshotConfigurationDescription(const ApplicationSnapshotConfigurationDescription& value) { SetApplicationSnapshotConfigurationDescription(value); return *this;}
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationDescription& WithApplicationSnapshotConfigurationDescription(ApplicationSnapshotConfigurationDescription&& value) { SetApplicationSnapshotConfigurationDescription(std::move(value)); return *this;}
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline const Aws::Vector<VpcConfigurationDescription>& GetVpcConfigurationDescriptions() const{ return m_vpcConfigurationDescriptions; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline bool VpcConfigurationDescriptionsHasBeenSet() const { return m_vpcConfigurationDescriptionsHasBeenSet; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline void SetVpcConfigurationDescriptions(const Aws::Vector<VpcConfigurationDescription>& value) { m_vpcConfigurationDescriptionsHasBeenSet = true; m_vpcConfigurationDescriptions = value; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline void SetVpcConfigurationDescriptions(Aws::Vector<VpcConfigurationDescription>&& value) { m_vpcConfigurationDescriptionsHasBeenSet = true; m_vpcConfigurationDescriptions = std::move(value); }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationDescription& WithVpcConfigurationDescriptions(const Aws::Vector<VpcConfigurationDescription>& value) { SetVpcConfigurationDescriptions(value); return *this;}
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationDescription& WithVpcConfigurationDescriptions(Aws::Vector<VpcConfigurationDescription>&& value) { SetVpcConfigurationDescriptions(std::move(value)); return *this;}
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationDescription& AddVpcConfigurationDescriptions(const VpcConfigurationDescription& value) { m_vpcConfigurationDescriptionsHasBeenSet = true; m_vpcConfigurationDescriptions.push_back(value); return *this; }
/**
* <p>The array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationDescription& AddVpcConfigurationDescriptions(VpcConfigurationDescription&& value) { m_vpcConfigurationDescriptionsHasBeenSet = true; m_vpcConfigurationDescriptions.push_back(std::move(value)); return *this; }
private:
SqlApplicationConfigurationDescription m_sqlApplicationConfigurationDescription;
bool m_sqlApplicationConfigurationDescriptionHasBeenSet;
ApplicationCodeConfigurationDescription m_applicationCodeConfigurationDescription;
bool m_applicationCodeConfigurationDescriptionHasBeenSet;
RunConfigurationDescription m_runConfigurationDescription;
bool m_runConfigurationDescriptionHasBeenSet;
FlinkApplicationConfigurationDescription m_flinkApplicationConfigurationDescription;
bool m_flinkApplicationConfigurationDescriptionHasBeenSet;
EnvironmentPropertyDescriptions m_environmentPropertyDescriptions;
bool m_environmentPropertyDescriptionsHasBeenSet;
ApplicationSnapshotConfigurationDescription m_applicationSnapshotConfigurationDescription;
bool m_applicationSnapshotConfigurationDescriptionHasBeenSet;
Aws::Vector<VpcConfigurationDescription> m_vpcConfigurationDescriptions;
bool m_vpcConfigurationDescriptionsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,303 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/SqlApplicationConfigurationUpdate.h>
#include <aws/kinesisanalyticsv2/model/ApplicationCodeConfigurationUpdate.h>
#include <aws/kinesisanalyticsv2/model/FlinkApplicationConfigurationUpdate.h>
#include <aws/kinesisanalyticsv2/model/EnvironmentPropertyUpdates.h>
#include <aws/kinesisanalyticsv2/model/ApplicationSnapshotConfigurationUpdate.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/VpcConfigurationUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates to an application's configuration.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationConfigurationUpdate
{
public:
ApplicationConfigurationUpdate();
ApplicationConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
ApplicationConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes updates to an SQL-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline const SqlApplicationConfigurationUpdate& GetSqlApplicationConfigurationUpdate() const{ return m_sqlApplicationConfigurationUpdate; }
/**
* <p>Describes updates to an SQL-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline bool SqlApplicationConfigurationUpdateHasBeenSet() const { return m_sqlApplicationConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to an SQL-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline void SetSqlApplicationConfigurationUpdate(const SqlApplicationConfigurationUpdate& value) { m_sqlApplicationConfigurationUpdateHasBeenSet = true; m_sqlApplicationConfigurationUpdate = value; }
/**
* <p>Describes updates to an SQL-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline void SetSqlApplicationConfigurationUpdate(SqlApplicationConfigurationUpdate&& value) { m_sqlApplicationConfigurationUpdateHasBeenSet = true; m_sqlApplicationConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to an SQL-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline ApplicationConfigurationUpdate& WithSqlApplicationConfigurationUpdate(const SqlApplicationConfigurationUpdate& value) { SetSqlApplicationConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to an SQL-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline ApplicationConfigurationUpdate& WithSqlApplicationConfigurationUpdate(SqlApplicationConfigurationUpdate&& value) { SetSqlApplicationConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's code
* configuration.</p>
*/
inline const ApplicationCodeConfigurationUpdate& GetApplicationCodeConfigurationUpdate() const{ return m_applicationCodeConfigurationUpdate; }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's code
* configuration.</p>
*/
inline bool ApplicationCodeConfigurationUpdateHasBeenSet() const { return m_applicationCodeConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's code
* configuration.</p>
*/
inline void SetApplicationCodeConfigurationUpdate(const ApplicationCodeConfigurationUpdate& value) { m_applicationCodeConfigurationUpdateHasBeenSet = true; m_applicationCodeConfigurationUpdate = value; }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's code
* configuration.</p>
*/
inline void SetApplicationCodeConfigurationUpdate(ApplicationCodeConfigurationUpdate&& value) { m_applicationCodeConfigurationUpdateHasBeenSet = true; m_applicationCodeConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's code
* configuration.</p>
*/
inline ApplicationConfigurationUpdate& WithApplicationCodeConfigurationUpdate(const ApplicationCodeConfigurationUpdate& value) { SetApplicationCodeConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's code
* configuration.</p>
*/
inline ApplicationConfigurationUpdate& WithApplicationCodeConfigurationUpdate(ApplicationCodeConfigurationUpdate&& value) { SetApplicationCodeConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline const FlinkApplicationConfigurationUpdate& GetFlinkApplicationConfigurationUpdate() const{ return m_flinkApplicationConfigurationUpdate; }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline bool FlinkApplicationConfigurationUpdateHasBeenSet() const { return m_flinkApplicationConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline void SetFlinkApplicationConfigurationUpdate(const FlinkApplicationConfigurationUpdate& value) { m_flinkApplicationConfigurationUpdateHasBeenSet = true; m_flinkApplicationConfigurationUpdate = value; }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline void SetFlinkApplicationConfigurationUpdate(FlinkApplicationConfigurationUpdate&& value) { m_flinkApplicationConfigurationUpdateHasBeenSet = true; m_flinkApplicationConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline ApplicationConfigurationUpdate& WithFlinkApplicationConfigurationUpdate(const FlinkApplicationConfigurationUpdate& value) { SetFlinkApplicationConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to a Java-based Kinesis Data Analytics application's
* configuration.</p>
*/
inline ApplicationConfigurationUpdate& WithFlinkApplicationConfigurationUpdate(FlinkApplicationConfigurationUpdate&& value) { SetFlinkApplicationConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to the environment properties for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline const EnvironmentPropertyUpdates& GetEnvironmentPropertyUpdates() const{ return m_environmentPropertyUpdates; }
/**
* <p>Describes updates to the environment properties for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool EnvironmentPropertyUpdatesHasBeenSet() const { return m_environmentPropertyUpdatesHasBeenSet; }
/**
* <p>Describes updates to the environment properties for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetEnvironmentPropertyUpdates(const EnvironmentPropertyUpdates& value) { m_environmentPropertyUpdatesHasBeenSet = true; m_environmentPropertyUpdates = value; }
/**
* <p>Describes updates to the environment properties for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetEnvironmentPropertyUpdates(EnvironmentPropertyUpdates&& value) { m_environmentPropertyUpdatesHasBeenSet = true; m_environmentPropertyUpdates = std::move(value); }
/**
* <p>Describes updates to the environment properties for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationUpdate& WithEnvironmentPropertyUpdates(const EnvironmentPropertyUpdates& value) { SetEnvironmentPropertyUpdates(value); return *this;}
/**
* <p>Describes updates to the environment properties for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationUpdate& WithEnvironmentPropertyUpdates(EnvironmentPropertyUpdates&& value) { SetEnvironmentPropertyUpdates(std::move(value)); return *this;}
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline const ApplicationSnapshotConfigurationUpdate& GetApplicationSnapshotConfigurationUpdate() const{ return m_applicationSnapshotConfigurationUpdate; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool ApplicationSnapshotConfigurationUpdateHasBeenSet() const { return m_applicationSnapshotConfigurationUpdateHasBeenSet; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationSnapshotConfigurationUpdate(const ApplicationSnapshotConfigurationUpdate& value) { m_applicationSnapshotConfigurationUpdateHasBeenSet = true; m_applicationSnapshotConfigurationUpdate = value; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetApplicationSnapshotConfigurationUpdate(ApplicationSnapshotConfigurationUpdate&& value) { m_applicationSnapshotConfigurationUpdateHasBeenSet = true; m_applicationSnapshotConfigurationUpdate = std::move(value); }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationUpdate& WithApplicationSnapshotConfigurationUpdate(const ApplicationSnapshotConfigurationUpdate& value) { SetApplicationSnapshotConfigurationUpdate(value); return *this;}
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationConfigurationUpdate& WithApplicationSnapshotConfigurationUpdate(ApplicationSnapshotConfigurationUpdate&& value) { SetApplicationSnapshotConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline const Aws::Vector<VpcConfigurationUpdate>& GetVpcConfigurationUpdates() const{ return m_vpcConfigurationUpdates; }
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline bool VpcConfigurationUpdatesHasBeenSet() const { return m_vpcConfigurationUpdatesHasBeenSet; }
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline void SetVpcConfigurationUpdates(const Aws::Vector<VpcConfigurationUpdate>& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates = value; }
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline void SetVpcConfigurationUpdates(Aws::Vector<VpcConfigurationUpdate>&& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates = std::move(value); }
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationUpdate& WithVpcConfigurationUpdates(const Aws::Vector<VpcConfigurationUpdate>& value) { SetVpcConfigurationUpdates(value); return *this;}
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationUpdate& WithVpcConfigurationUpdates(Aws::Vector<VpcConfigurationUpdate>&& value) { SetVpcConfigurationUpdates(std::move(value)); return *this;}
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationUpdate& AddVpcConfigurationUpdates(const VpcConfigurationUpdate& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates.push_back(value); return *this; }
/**
* <p>Updates to the array of descriptions of VPC configurations available to the
* application.</p>
*/
inline ApplicationConfigurationUpdate& AddVpcConfigurationUpdates(VpcConfigurationUpdate&& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates.push_back(std::move(value)); return *this; }
private:
SqlApplicationConfigurationUpdate m_sqlApplicationConfigurationUpdate;
bool m_sqlApplicationConfigurationUpdateHasBeenSet;
ApplicationCodeConfigurationUpdate m_applicationCodeConfigurationUpdate;
bool m_applicationCodeConfigurationUpdateHasBeenSet;
FlinkApplicationConfigurationUpdate m_flinkApplicationConfigurationUpdate;
bool m_flinkApplicationConfigurationUpdateHasBeenSet;
EnvironmentPropertyUpdates m_environmentPropertyUpdates;
bool m_environmentPropertyUpdatesHasBeenSet;
ApplicationSnapshotConfigurationUpdate m_applicationSnapshotConfigurationUpdate;
bool m_applicationSnapshotConfigurationUpdateHasBeenSet;
Aws::Vector<VpcConfigurationUpdate> m_vpcConfigurationUpdates;
bool m_vpcConfigurationUpdatesHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,490 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
#include <aws/kinesisanalyticsv2/model/ApplicationStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/kinesisanalyticsv2/model/ApplicationConfigurationDescription.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOptionDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the application, including the application Amazon Resource Name
* (ARN), status, latest version, and input and output
* configurations.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationDetail">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationDetail
{
public:
ApplicationDetail();
ApplicationDetail(Aws::Utils::Json::JsonView jsonValue);
ApplicationDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The ARN of the application.</p>
*/
inline bool ApplicationARNHasBeenSet() const { return m_applicationARNHasBeenSet; }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARNHasBeenSet = true; m_applicationARN = value; }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARNHasBeenSet = true; m_applicationARN = std::move(value); }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARNHasBeenSet = true; m_applicationARN.assign(value); }
/**
* <p>The ARN of the application.</p>
*/
inline ApplicationDetail& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline ApplicationDetail& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline ApplicationDetail& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The description of the application.</p>
*/
inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
/**
* <p>The description of the application.</p>
*/
inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
/**
* <p>The description of the application.</p>
*/
inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
/**
* <p>The description of the application.</p>
*/
inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
/**
* <p>The description of the application.</p>
*/
inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
/**
* <p>The description of the application.</p>
*/
inline ApplicationDetail& WithApplicationDescription(const Aws::String& value) { SetApplicationDescription(value); return *this;}
/**
* <p>The description of the application.</p>
*/
inline ApplicationDetail& WithApplicationDescription(Aws::String&& value) { SetApplicationDescription(std::move(value)); return *this;}
/**
* <p>The description of the application.</p>
*/
inline ApplicationDetail& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
/**
* <p>The name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of the application.</p>
*/
inline ApplicationDetail& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the application.</p>
*/
inline ApplicationDetail& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of the application.</p>
*/
inline ApplicationDetail& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline const RuntimeEnvironment& GetRuntimeEnvironment() const{ return m_runtimeEnvironment; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline void SetRuntimeEnvironment(const RuntimeEnvironment& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = value; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline void SetRuntimeEnvironment(RuntimeEnvironment&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::move(value); }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline ApplicationDetail& WithRuntimeEnvironment(const RuntimeEnvironment& value) { SetRuntimeEnvironment(value); return *this;}
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline ApplicationDetail& WithRuntimeEnvironment(RuntimeEnvironment&& value) { SetRuntimeEnvironment(std::move(value)); return *this;}
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline const Aws::String& GetServiceExecutionRole() const{ return m_serviceExecutionRole; }
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline bool ServiceExecutionRoleHasBeenSet() const { return m_serviceExecutionRoleHasBeenSet; }
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline void SetServiceExecutionRole(const Aws::String& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = value; }
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline void SetServiceExecutionRole(Aws::String&& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = std::move(value); }
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline void SetServiceExecutionRole(const char* value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole.assign(value); }
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline ApplicationDetail& WithServiceExecutionRole(const Aws::String& value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline ApplicationDetail& WithServiceExecutionRole(Aws::String&& value) { SetServiceExecutionRole(std::move(value)); return *this;}
/**
* <p>Specifies the IAM role that the application uses to access external
* resources.</p>
*/
inline ApplicationDetail& WithServiceExecutionRole(const char* value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>The status of the application.</p>
*/
inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
/**
* <p>The status of the application.</p>
*/
inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; }
/**
* <p>The status of the application.</p>
*/
inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; }
/**
* <p>The status of the application.</p>
*/
inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); }
/**
* <p>The status of the application.</p>
*/
inline ApplicationDetail& WithApplicationStatus(const ApplicationStatus& value) { SetApplicationStatus(value); return *this;}
/**
* <p>The status of the application.</p>
*/
inline ApplicationDetail& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(value)); return *this;}
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you update the application.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you update the application.</p>
*/
inline bool ApplicationVersionIdHasBeenSet() const { return m_applicationVersionIdHasBeenSet; }
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you update the application.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionIdHasBeenSet = true; m_applicationVersionId = value; }
/**
* <p>Provides the current application version. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you update the application.</p>
*/
inline ApplicationDetail& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>The current timestamp when the application was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
/**
* <p>The current timestamp when the application was created.</p>
*/
inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
/**
* <p>The current timestamp when the application was created.</p>
*/
inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; }
/**
* <p>The current timestamp when the application was created.</p>
*/
inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); }
/**
* <p>The current timestamp when the application was created.</p>
*/
inline ApplicationDetail& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
/**
* <p>The current timestamp when the application was created.</p>
*/
inline ApplicationDetail& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;}
/**
* <p>The current timestamp when the application was last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; }
/**
* <p>The current timestamp when the application was last updated.</p>
*/
inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; }
/**
* <p>The current timestamp when the application was last updated.</p>
*/
inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; }
/**
* <p>The current timestamp when the application was last updated.</p>
*/
inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); }
/**
* <p>The current timestamp when the application was last updated.</p>
*/
inline ApplicationDetail& WithLastUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdateTimestamp(value); return *this;}
/**
* <p>The current timestamp when the application was last updated.</p>
*/
inline ApplicationDetail& WithLastUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateTimestamp(std::move(value)); return *this;}
/**
* <p>Provides details about the application's SQL or Java code and starting
* parameters.</p>
*/
inline const ApplicationConfigurationDescription& GetApplicationConfigurationDescription() const{ return m_applicationConfigurationDescription; }
/**
* <p>Provides details about the application's SQL or Java code and starting
* parameters.</p>
*/
inline bool ApplicationConfigurationDescriptionHasBeenSet() const { return m_applicationConfigurationDescriptionHasBeenSet; }
/**
* <p>Provides details about the application's SQL or Java code and starting
* parameters.</p>
*/
inline void SetApplicationConfigurationDescription(const ApplicationConfigurationDescription& value) { m_applicationConfigurationDescriptionHasBeenSet = true; m_applicationConfigurationDescription = value; }
/**
* <p>Provides details about the application's SQL or Java code and starting
* parameters.</p>
*/
inline void SetApplicationConfigurationDescription(ApplicationConfigurationDescription&& value) { m_applicationConfigurationDescriptionHasBeenSet = true; m_applicationConfigurationDescription = std::move(value); }
/**
* <p>Provides details about the application's SQL or Java code and starting
* parameters.</p>
*/
inline ApplicationDetail& WithApplicationConfigurationDescription(const ApplicationConfigurationDescription& value) { SetApplicationConfigurationDescription(value); return *this;}
/**
* <p>Provides details about the application's SQL or Java code and starting
* parameters.</p>
*/
inline ApplicationDetail& WithApplicationConfigurationDescription(ApplicationConfigurationDescription&& value) { SetApplicationConfigurationDescription(std::move(value)); return *this;}
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline const Aws::Vector<CloudWatchLoggingOptionDescription>& GetCloudWatchLoggingOptionDescriptions() const{ return m_cloudWatchLoggingOptionDescriptions; }
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline bool CloudWatchLoggingOptionDescriptionsHasBeenSet() const { return m_cloudWatchLoggingOptionDescriptionsHasBeenSet; }
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions = value; }
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions = std::move(value); }
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline ApplicationDetail& WithCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { SetCloudWatchLoggingOptionDescriptions(value); return *this;}
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline ApplicationDetail& WithCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { SetCloudWatchLoggingOptionDescriptions(std::move(value)); return *this;}
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline ApplicationDetail& AddCloudWatchLoggingOptionDescriptions(const CloudWatchLoggingOptionDescription& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions.push_back(value); return *this; }
/**
* <p>Describes the application Amazon CloudWatch logging options.</p>
*/
inline ApplicationDetail& AddCloudWatchLoggingOptionDescriptions(CloudWatchLoggingOptionDescription&& value) { m_cloudWatchLoggingOptionDescriptionsHasBeenSet = true; m_cloudWatchLoggingOptionDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationARN;
bool m_applicationARNHasBeenSet;
Aws::String m_applicationDescription;
bool m_applicationDescriptionHasBeenSet;
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
RuntimeEnvironment m_runtimeEnvironment;
bool m_runtimeEnvironmentHasBeenSet;
Aws::String m_serviceExecutionRole;
bool m_serviceExecutionRoleHasBeenSet;
ApplicationStatus m_applicationStatus;
bool m_applicationStatusHasBeenSet;
long long m_applicationVersionId;
bool m_applicationVersionIdHasBeenSet;
Aws::Utils::DateTime m_createTimestamp;
bool m_createTimestampHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTimestamp;
bool m_lastUpdateTimestampHasBeenSet;
ApplicationConfigurationDescription m_applicationConfigurationDescription;
bool m_applicationConfigurationDescriptionHasBeenSet;
Aws::Vector<CloudWatchLoggingOptionDescription> m_cloudWatchLoggingOptionDescriptions;
bool m_cloudWatchLoggingOptionDescriptionsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,148 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/ApplicationRestoreType.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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Specifies the method and snapshot to use when restarting an application using
* previously saved application state.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationRestoreConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationRestoreConfiguration
{
public:
ApplicationRestoreConfiguration();
ApplicationRestoreConfiguration(Aws::Utils::Json::JsonView jsonValue);
ApplicationRestoreConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies how the application should be restored.</p>
*/
inline const ApplicationRestoreType& GetApplicationRestoreType() const{ return m_applicationRestoreType; }
/**
* <p>Specifies how the application should be restored.</p>
*/
inline bool ApplicationRestoreTypeHasBeenSet() const { return m_applicationRestoreTypeHasBeenSet; }
/**
* <p>Specifies how the application should be restored.</p>
*/
inline void SetApplicationRestoreType(const ApplicationRestoreType& value) { m_applicationRestoreTypeHasBeenSet = true; m_applicationRestoreType = value; }
/**
* <p>Specifies how the application should be restored.</p>
*/
inline void SetApplicationRestoreType(ApplicationRestoreType&& value) { m_applicationRestoreTypeHasBeenSet = true; m_applicationRestoreType = std::move(value); }
/**
* <p>Specifies how the application should be restored.</p>
*/
inline ApplicationRestoreConfiguration& WithApplicationRestoreType(const ApplicationRestoreType& value) { SetApplicationRestoreType(value); return *this;}
/**
* <p>Specifies how the application should be restored.</p>
*/
inline ApplicationRestoreConfiguration& WithApplicationRestoreType(ApplicationRestoreType&& value) { SetApplicationRestoreType(std::move(value)); return *this;}
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline ApplicationRestoreConfiguration& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline ApplicationRestoreConfiguration& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
/**
* <p>The identifier of an existing snapshot of application state to use to restart
* an application. The application uses this value if
* <code>RESTORE_FROM_CUSTOM_SNAPSHOT</code> is specified for the
* <code>ApplicationRestoreType</code>.</p>
*/
inline ApplicationRestoreConfiguration& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
private:
ApplicationRestoreType m_applicationRestoreType;
bool m_applicationRestoreTypeHasBeenSet;
Aws::String m_snapshotName;
bool m_snapshotNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
enum class ApplicationRestoreType
{
NOT_SET,
SKIP_RESTORE_FROM_SNAPSHOT,
RESTORE_FROM_LATEST_SNAPSHOT,
RESTORE_FROM_CUSTOM_SNAPSHOT
};
namespace ApplicationRestoreTypeMapper
{
AWS_KINESISANALYTICSV2_API ApplicationRestoreType GetApplicationRestoreTypeForName(const Aws::String& name);
AWS_KINESISANALYTICSV2_API Aws::String GetNameForApplicationRestoreType(ApplicationRestoreType value);
} // namespace ApplicationRestoreTypeMapper
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,71 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSnapshotConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationSnapshotConfiguration
{
public:
ApplicationSnapshotConfiguration();
ApplicationSnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue);
ApplicationSnapshotConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool GetSnapshotsEnabled() const{ return m_snapshotsEnabled; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool SnapshotsEnabledHasBeenSet() const { return m_snapshotsEnabledHasBeenSet; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetSnapshotsEnabled(bool value) { m_snapshotsEnabledHasBeenSet = true; m_snapshotsEnabled = value; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationSnapshotConfiguration& WithSnapshotsEnabled(bool value) { SetSnapshotsEnabled(value); return *this;}
private:
bool m_snapshotsEnabled;
bool m_snapshotsEnabledHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,71 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSnapshotConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationSnapshotConfigurationDescription
{
public:
ApplicationSnapshotConfigurationDescription();
ApplicationSnapshotConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
ApplicationSnapshotConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool GetSnapshotsEnabled() const{ return m_snapshotsEnabled; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline bool SnapshotsEnabledHasBeenSet() const { return m_snapshotsEnabledHasBeenSet; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline void SetSnapshotsEnabled(bool value) { m_snapshotsEnabledHasBeenSet = true; m_snapshotsEnabled = value; }
/**
* <p>Describes whether snapshots are enabled for a Java-based Kinesis Data
* Analytics application.</p>
*/
inline ApplicationSnapshotConfigurationDescription& WithSnapshotsEnabled(bool value) { SetSnapshotsEnabled(value); return *this;}
private:
bool m_snapshotsEnabled;
bool m_snapshotsEnabledHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,71 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates to whether snapshots are enabled for a Java-based Kinesis
* Data Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ApplicationSnapshotConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationSnapshotConfigurationUpdate
{
public:
ApplicationSnapshotConfigurationUpdate();
ApplicationSnapshotConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
ApplicationSnapshotConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes updates to whether snapshots are enabled for a Java-based Kinesis
* Data Analytics application.</p>
*/
inline bool GetSnapshotsEnabledUpdate() const{ return m_snapshotsEnabledUpdate; }
/**
* <p>Describes updates to whether snapshots are enabled for a Java-based Kinesis
* Data Analytics application.</p>
*/
inline bool SnapshotsEnabledUpdateHasBeenSet() const { return m_snapshotsEnabledUpdateHasBeenSet; }
/**
* <p>Describes updates to whether snapshots are enabled for a Java-based Kinesis
* Data Analytics application.</p>
*/
inline void SetSnapshotsEnabledUpdate(bool value) { m_snapshotsEnabledUpdateHasBeenSet = true; m_snapshotsEnabledUpdate = value; }
/**
* <p>Describes updates to whether snapshots are enabled for a Java-based Kinesis
* Data Analytics application.</p>
*/
inline ApplicationSnapshotConfigurationUpdate& WithSnapshotsEnabledUpdate(bool value) { SetSnapshotsEnabledUpdate(value); return *this;}
private:
bool m_snapshotsEnabledUpdate;
bool m_snapshotsEnabledUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
enum class ApplicationStatus
{
NOT_SET,
DELETING,
STARTING,
STOPPING,
READY,
RUNNING,
UPDATING
};
namespace ApplicationStatusMapper
{
AWS_KINESISANALYTICSV2_API ApplicationStatus GetApplicationStatusForName(const Aws::String& name);
AWS_KINESISANALYTICSV2_API Aws::String GetNameForApplicationStatus(ApplicationStatus value);
} // namespace ApplicationStatusMapper
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,233 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/ApplicationStatus.h>
#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <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/kinesisanalyticsv2-2018-05-23/ApplicationSummary">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API ApplicationSummary
{
public:
ApplicationSummary();
ApplicationSummary(Aws::Utils::Json::JsonView jsonValue);
ApplicationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of the application.</p>
*/
inline ApplicationSummary& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the application.</p>
*/
inline ApplicationSummary& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of the application.</p>
*/
inline ApplicationSummary& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The ARN of the application.</p>
*/
inline bool ApplicationARNHasBeenSet() const { return m_applicationARNHasBeenSet; }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARNHasBeenSet = true; m_applicationARN = value; }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARNHasBeenSet = true; m_applicationARN = std::move(value); }
/**
* <p>The ARN of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARNHasBeenSet = true; m_applicationARN.assign(value); }
/**
* <p>The ARN of the application.</p>
*/
inline ApplicationSummary& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline ApplicationSummary& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The ARN of the application.</p>
*/
inline ApplicationSummary& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The status of the application.</p>
*/
inline const ApplicationStatus& GetApplicationStatus() const{ return m_applicationStatus; }
/**
* <p>The status of the application.</p>
*/
inline bool ApplicationStatusHasBeenSet() const { return m_applicationStatusHasBeenSet; }
/**
* <p>The status of the application.</p>
*/
inline void SetApplicationStatus(const ApplicationStatus& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = value; }
/**
* <p>The status of the application.</p>
*/
inline void SetApplicationStatus(ApplicationStatus&& value) { m_applicationStatusHasBeenSet = true; m_applicationStatus = std::move(value); }
/**
* <p>The status of the application.</p>
*/
inline ApplicationSummary& WithApplicationStatus(const ApplicationStatus& value) { SetApplicationStatus(value); return *this;}
/**
* <p>The status of the application.</p>
*/
inline ApplicationSummary& WithApplicationStatus(ApplicationStatus&& value) { SetApplicationStatus(std::move(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 ApplicationSummary& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline const RuntimeEnvironment& GetRuntimeEnvironment() const{ return m_runtimeEnvironment; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline void SetRuntimeEnvironment(const RuntimeEnvironment& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = value; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline void SetRuntimeEnvironment(RuntimeEnvironment&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::move(value); }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline ApplicationSummary& WithRuntimeEnvironment(const RuntimeEnvironment& value) { SetRuntimeEnvironment(value); return *this;}
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline ApplicationSummary& WithRuntimeEnvironment(RuntimeEnvironment&& value) { SetRuntimeEnvironment(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;
long long m_applicationVersionId;
bool m_applicationVersionIdHasBeenSet;
RuntimeEnvironment m_runtimeEnvironment;
bool m_runtimeEnvironmentHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,153 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based application, 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/kinesisanalyticsv2-2018-05-23/CSVMappingParameters">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CSVMappingParameters
{
public:
CSVMappingParameters();
CSVMappingParameters(Aws::Utils::Json::JsonView jsonValue);
CSVMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The column delimiter. For example, in a CSV format, a comma (",") is the
* typical column delimiter.</p>
*/
inline bool RecordColumnDelimiterHasBeenSet() const { return m_recordColumnDelimiterHasBeenSet; }
/**
* <p>The 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>The 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>The 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>The 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>The 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>The 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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,284 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/ConfigurationType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CheckpointConfiguration
{
public:
CheckpointConfiguration();
CheckpointConfiguration(Aws::Utils::Json::JsonView jsonValue);
CheckpointConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes whether the application uses Amazon Kinesis Data Analytics' default
* checkpointing behavior. You must set this property to <code>CUSTOM</code> in
* order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters.</p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
/**
* <p>Describes whether the application uses Amazon Kinesis Data Analytics' default
* checkpointing behavior. You must set this property to <code>CUSTOM</code> in
* order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters.</p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
/**
* <p>Describes whether the application uses Amazon Kinesis Data Analytics' default
* checkpointing behavior. You must set this property to <code>CUSTOM</code> in
* order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters.</p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
/**
* <p>Describes whether the application uses Amazon Kinesis Data Analytics' default
* checkpointing behavior. You must set this property to <code>CUSTOM</code> in
* order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters.</p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
/**
* <p>Describes whether the application uses Amazon Kinesis Data Analytics' default
* checkpointing behavior. You must set this property to <code>CUSTOM</code> in
* order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters.</p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline CheckpointConfiguration& WithConfigurationType(const ConfigurationType& value) { SetConfigurationType(value); return *this;}
/**
* <p>Describes whether the application uses Amazon Kinesis Data Analytics' default
* checkpointing behavior. You must set this property to <code>CUSTOM</code> in
* order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters.</p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline CheckpointConfiguration& WithConfigurationType(ConfigurationType&& value) { SetConfigurationType(std::move(value)); return *this;}
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline bool GetCheckpointingEnabled() const{ return m_checkpointingEnabled; }
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline void SetCheckpointingEnabled(bool value) { m_checkpointingEnabledHasBeenSet = true; m_checkpointingEnabled = value; }
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline CheckpointConfiguration& WithCheckpointingEnabled(bool value) { SetCheckpointingEnabled(value); return *this;}
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline long long GetCheckpointInterval() const{ return m_checkpointInterval; }
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline void SetCheckpointInterval(long long value) { m_checkpointIntervalHasBeenSet = true; m_checkpointInterval = value; }
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline CheckpointConfiguration& WithCheckpointInterval(long long value) { SetCheckpointInterval(value); return *this;}
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. If a checkpoint operation
* takes longer than the <code>CheckpointInterval</code>, the application otherwise
* performs continual checkpoint operations. For more information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/state/large_state_tuning.html#tuning-checkpointing">
* Tuning Checkpointing</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline long long GetMinPauseBetweenCheckpoints() const{ return m_minPauseBetweenCheckpoints; }
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. If a checkpoint operation
* takes longer than the <code>CheckpointInterval</code>, the application otherwise
* performs continual checkpoint operations. For more information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/state/large_state_tuning.html#tuning-checkpointing">
* Tuning Checkpointing</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. If a checkpoint operation
* takes longer than the <code>CheckpointInterval</code>, the application otherwise
* performs continual checkpoint operations. For more information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/state/large_state_tuning.html#tuning-checkpointing">
* Tuning Checkpointing</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline void SetMinPauseBetweenCheckpoints(long long value) { m_minPauseBetweenCheckpointsHasBeenSet = true; m_minPauseBetweenCheckpoints = value; }
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. If a checkpoint operation
* takes longer than the <code>CheckpointInterval</code>, the application otherwise
* performs continual checkpoint operations. For more information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/ops/state/large_state_tuning.html#tuning-checkpointing">
* Tuning Checkpointing</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline CheckpointConfiguration& WithMinPauseBetweenCheckpoints(long long value) { SetMinPauseBetweenCheckpoints(value); return *this;}
private:
ConfigurationType m_configurationType;
bool m_configurationTypeHasBeenSet;
bool m_checkpointingEnabled;
bool m_checkpointingEnabledHasBeenSet;
long long m_checkpointInterval;
bool m_checkpointIntervalHasBeenSet;
long long m_minPauseBetweenCheckpoints;
bool m_minPauseBetweenCheckpointsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,243 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/ConfigurationType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes checkpointing parameters for a Java-based Amazon Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CheckpointConfigurationDescription
{
public:
CheckpointConfigurationDescription();
CheckpointConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
CheckpointConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes whether the application uses the default checkpointing behavior in
* Kinesis Data Analytics. </p> <p>If this value is set to
* <code>DEFAULT</code>, the application will use the following values, even if
* they are set to other values using APIs or application code:</p> <ul> <li> <p>
* <b>CheckpointingEnabled:</b> true</p> </li> <li> <p> <b>CheckpointInterval:</b>
* 60000</p> </li> <li> <p> <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*
*/
inline const ConfigurationType& GetConfigurationType() const{ return m_configurationType; }
/**
* <p>Describes whether the application uses the default checkpointing behavior in
* Kinesis Data Analytics. </p> <p>If this value is set to
* <code>DEFAULT</code>, the application will use the following values, even if
* they are set to other values using APIs or application code:</p> <ul> <li> <p>
* <b>CheckpointingEnabled:</b> true</p> </li> <li> <p> <b>CheckpointInterval:</b>
* 60000</p> </li> <li> <p> <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*
*/
inline bool ConfigurationTypeHasBeenSet() const { return m_configurationTypeHasBeenSet; }
/**
* <p>Describes whether the application uses the default checkpointing behavior in
* Kinesis Data Analytics. </p> <p>If this value is set to
* <code>DEFAULT</code>, the application will use the following values, even if
* they are set to other values using APIs or application code:</p> <ul> <li> <p>
* <b>CheckpointingEnabled:</b> true</p> </li> <li> <p> <b>CheckpointInterval:</b>
* 60000</p> </li> <li> <p> <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*
*/
inline void SetConfigurationType(const ConfigurationType& value) { m_configurationTypeHasBeenSet = true; m_configurationType = value; }
/**
* <p>Describes whether the application uses the default checkpointing behavior in
* Kinesis Data Analytics. </p> <p>If this value is set to
* <code>DEFAULT</code>, the application will use the following values, even if
* they are set to other values using APIs or application code:</p> <ul> <li> <p>
* <b>CheckpointingEnabled:</b> true</p> </li> <li> <p> <b>CheckpointInterval:</b>
* 60000</p> </li> <li> <p> <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*
*/
inline void SetConfigurationType(ConfigurationType&& value) { m_configurationTypeHasBeenSet = true; m_configurationType = std::move(value); }
/**
* <p>Describes whether the application uses the default checkpointing behavior in
* Kinesis Data Analytics. </p> <p>If this value is set to
* <code>DEFAULT</code>, the application will use the following values, even if
* they are set to other values using APIs or application code:</p> <ul> <li> <p>
* <b>CheckpointingEnabled:</b> true</p> </li> <li> <p> <b>CheckpointInterval:</b>
* 60000</p> </li> <li> <p> <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*
*/
inline CheckpointConfigurationDescription& WithConfigurationType(const ConfigurationType& value) { SetConfigurationType(value); return *this;}
/**
* <p>Describes whether the application uses the default checkpointing behavior in
* Kinesis Data Analytics. </p> <p>If this value is set to
* <code>DEFAULT</code>, the application will use the following values, even if
* they are set to other values using APIs or application code:</p> <ul> <li> <p>
* <b>CheckpointingEnabled:</b> true</p> </li> <li> <p> <b>CheckpointInterval:</b>
* 60000</p> </li> <li> <p> <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*
*/
inline CheckpointConfigurationDescription& WithConfigurationType(ConfigurationType&& value) { SetConfigurationType(std::move(value)); return *this;}
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline bool GetCheckpointingEnabled() const{ return m_checkpointingEnabled; }
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline bool CheckpointingEnabledHasBeenSet() const { return m_checkpointingEnabledHasBeenSet; }
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline void SetCheckpointingEnabled(bool value) { m_checkpointingEnabledHasBeenSet = true; m_checkpointingEnabled = value; }
/**
* <p>Describes whether checkpointing is enabled for a Java-based Kinesis Data
* Analytics application.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointingEnabled</code> value of
* <code>true</code>, even if this value is set to another value using this API or
* in application code.</p>
*/
inline CheckpointConfigurationDescription& WithCheckpointingEnabled(bool value) { SetCheckpointingEnabled(value); return *this;}
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline long long GetCheckpointInterval() const{ return m_checkpointInterval; }
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline bool CheckpointIntervalHasBeenSet() const { return m_checkpointIntervalHasBeenSet; }
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline void SetCheckpointInterval(long long value) { m_checkpointIntervalHasBeenSet = true; m_checkpointInterval = value; }
/**
* <p>Describes the interval in milliseconds between checkpoint operations. </p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a <code>CheckpointInterval</code>
* vaue of 60000, even if this value is set to another value using this API or in
* application code.</p>
*/
inline CheckpointConfigurationDescription& WithCheckpointInterval(long long value) { SetCheckpointInterval(value); return *this;}
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. </p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline long long GetMinPauseBetweenCheckpoints() const{ return m_minPauseBetweenCheckpoints; }
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. </p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline bool MinPauseBetweenCheckpointsHasBeenSet() const { return m_minPauseBetweenCheckpointsHasBeenSet; }
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. </p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline void SetMinPauseBetweenCheckpoints(long long value) { m_minPauseBetweenCheckpointsHasBeenSet = true; m_minPauseBetweenCheckpoints = value; }
/**
* <p>Describes the minimum time in milliseconds after a checkpoint operation
* completes that a new checkpoint operation can start. </p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline CheckpointConfigurationDescription& WithMinPauseBetweenCheckpoints(long long value) { SetMinPauseBetweenCheckpoints(value); return *this;}
private:
ConfigurationType m_configurationType;
bool m_configurationTypeHasBeenSet;
bool m_checkpointingEnabled;
bool m_checkpointingEnabledHasBeenSet;
long long m_checkpointInterval;
bool m_checkpointIntervalHasBeenSet;
long long m_minPauseBetweenCheckpoints;
bool m_minPauseBetweenCheckpointsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,255 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/ConfigurationType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates to the checkpointing parameters for a Java-based Amazon
* Kinesis Data Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CheckpointConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CheckpointConfigurationUpdate
{
public:
CheckpointConfigurationUpdate();
CheckpointConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
CheckpointConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes updates to whether the application uses the default checkpointing
* behavior of Kinesis Data Analytics. You must set this property to
* <code>CUSTOM</code> in order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters. </p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline const ConfigurationType& GetConfigurationTypeUpdate() const{ return m_configurationTypeUpdate; }
/**
* <p>Describes updates to whether the application uses the default checkpointing
* behavior of Kinesis Data Analytics. You must set this property to
* <code>CUSTOM</code> in order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters. </p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline bool ConfigurationTypeUpdateHasBeenSet() const { return m_configurationTypeUpdateHasBeenSet; }
/**
* <p>Describes updates to whether the application uses the default checkpointing
* behavior of Kinesis Data Analytics. You must set this property to
* <code>CUSTOM</code> in order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters. </p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline void SetConfigurationTypeUpdate(const ConfigurationType& value) { m_configurationTypeUpdateHasBeenSet = true; m_configurationTypeUpdate = value; }
/**
* <p>Describes updates to whether the application uses the default checkpointing
* behavior of Kinesis Data Analytics. You must set this property to
* <code>CUSTOM</code> in order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters. </p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline void SetConfigurationTypeUpdate(ConfigurationType&& value) { m_configurationTypeUpdateHasBeenSet = true; m_configurationTypeUpdate = std::move(value); }
/**
* <p>Describes updates to whether the application uses the default checkpointing
* behavior of Kinesis Data Analytics. You must set this property to
* <code>CUSTOM</code> in order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters. </p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline CheckpointConfigurationUpdate& WithConfigurationTypeUpdate(const ConfigurationType& value) { SetConfigurationTypeUpdate(value); return *this;}
/**
* <p>Describes updates to whether the application uses the default checkpointing
* behavior of Kinesis Data Analytics. You must set this property to
* <code>CUSTOM</code> in order to set the <code>CheckpointingEnabled</code>,
* <code>CheckpointInterval</code>, or <code>MinPauseBetweenCheckpoints</code>
* parameters. </p> <p>If this value is set to <code>DEFAULT</code>, the
* application will use the following values, even if they are set to other values
* using APIs or application code:</p> <ul> <li> <p> <b>CheckpointingEnabled:</b>
* true</p> </li> <li> <p> <b>CheckpointInterval:</b> 60000</p> </li> <li> <p>
* <b>MinPauseBetweenCheckpoints:</b> 5000</p> </li> </ul>
*/
inline CheckpointConfigurationUpdate& WithConfigurationTypeUpdate(ConfigurationType&& value) { SetConfigurationTypeUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to whether checkpointing is enabled for an application.</p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a
* <code>CheckpointingEnabled</code> value of <code>true</code>, even if this value
* is set to another value using this API or in application code.</p>
*/
inline bool GetCheckpointingEnabledUpdate() const{ return m_checkpointingEnabledUpdate; }
/**
* <p>Describes updates to whether checkpointing is enabled for an application.</p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a
* <code>CheckpointingEnabled</code> value of <code>true</code>, even if this value
* is set to another value using this API or in application code.</p>
*/
inline bool CheckpointingEnabledUpdateHasBeenSet() const { return m_checkpointingEnabledUpdateHasBeenSet; }
/**
* <p>Describes updates to whether checkpointing is enabled for an application.</p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a
* <code>CheckpointingEnabled</code> value of <code>true</code>, even if this value
* is set to another value using this API or in application code.</p>
*/
inline void SetCheckpointingEnabledUpdate(bool value) { m_checkpointingEnabledUpdateHasBeenSet = true; m_checkpointingEnabledUpdate = value; }
/**
* <p>Describes updates to whether checkpointing is enabled for an application.</p>
* <p>If <code>CheckpointConfiguration.ConfigurationType</code> is
* <code>DEFAULT</code>, the application will use a
* <code>CheckpointingEnabled</code> value of <code>true</code>, even if this value
* is set to another value using this API or in application code.</p>
*/
inline CheckpointConfigurationUpdate& WithCheckpointingEnabledUpdate(bool value) { SetCheckpointingEnabledUpdate(value); return *this;}
/**
* <p>Describes updates to the interval in milliseconds between checkpoint
* operations.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointInterval</code> vaue of 60000, even
* if this value is set to another value using this API or in application code.</p>
*
*/
inline long long GetCheckpointIntervalUpdate() const{ return m_checkpointIntervalUpdate; }
/**
* <p>Describes updates to the interval in milliseconds between checkpoint
* operations.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointInterval</code> vaue of 60000, even
* if this value is set to another value using this API or in application code.</p>
*
*/
inline bool CheckpointIntervalUpdateHasBeenSet() const { return m_checkpointIntervalUpdateHasBeenSet; }
/**
* <p>Describes updates to the interval in milliseconds between checkpoint
* operations.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointInterval</code> vaue of 60000, even
* if this value is set to another value using this API or in application code.</p>
*
*/
inline void SetCheckpointIntervalUpdate(long long value) { m_checkpointIntervalUpdateHasBeenSet = true; m_checkpointIntervalUpdate = value; }
/**
* <p>Describes updates to the interval in milliseconds between checkpoint
* operations.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>CheckpointInterval</code> vaue of 60000, even
* if this value is set to another value using this API or in application code.</p>
*
*/
inline CheckpointConfigurationUpdate& WithCheckpointIntervalUpdate(long long value) { SetCheckpointIntervalUpdate(value); return *this;}
/**
* <p>Describes updates to the minimum time in milliseconds after a checkpoint
* operation completes that a new checkpoint operation can start.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline long long GetMinPauseBetweenCheckpointsUpdate() const{ return m_minPauseBetweenCheckpointsUpdate; }
/**
* <p>Describes updates to the minimum time in milliseconds after a checkpoint
* operation completes that a new checkpoint operation can start.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline bool MinPauseBetweenCheckpointsUpdateHasBeenSet() const { return m_minPauseBetweenCheckpointsUpdateHasBeenSet; }
/**
* <p>Describes updates to the minimum time in milliseconds after a checkpoint
* operation completes that a new checkpoint operation can start.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline void SetMinPauseBetweenCheckpointsUpdate(long long value) { m_minPauseBetweenCheckpointsUpdateHasBeenSet = true; m_minPauseBetweenCheckpointsUpdate = value; }
/**
* <p>Describes updates to the minimum time in milliseconds after a checkpoint
* operation completes that a new checkpoint operation can start.</p> <p>If
* <code>CheckpointConfiguration.ConfigurationType</code> is <code>DEFAULT</code>,
* the application will use a <code>MinPauseBetweenCheckpoints</code> value of
* 5000, even if this value is set using this API or in application code.</p>
*
*/
inline CheckpointConfigurationUpdate& WithMinPauseBetweenCheckpointsUpdate(long long value) { SetMinPauseBetweenCheckpointsUpdate(value); return *this;}
private:
ConfigurationType m_configurationTypeUpdate;
bool m_configurationTypeUpdateHasBeenSet;
bool m_checkpointingEnabledUpdate;
bool m_checkpointingEnabledUpdateHasBeenSet;
long long m_checkpointIntervalUpdate;
bool m_checkpointIntervalUpdateHasBeenSet;
long long m_minPauseBetweenCheckpointsUpdate;
bool m_minPauseBetweenCheckpointsUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Provides a description of Amazon CloudWatch logging options, including the
* log stream Amazon Resource Name (ARN). </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CloudWatchLoggingOption">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CloudWatchLoggingOption
{
public:
CloudWatchLoggingOption();
CloudWatchLoggingOption(Aws::Utils::Json::JsonView jsonValue);
CloudWatchLoggingOption& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline const Aws::String& GetLogStreamARN() const{ return m_logStreamARN; }
/**
* <p>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
/**
* <p>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
/**
* <p>The 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>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
/**
* <p>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOption& WithLogStreamARN(const Aws::String& value) { SetLogStreamARN(value); return *this;}
/**
* <p>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOption& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
/**
* <p>The ARN of the CloudWatch log to receive application messages.</p>
*/
inline CloudWatchLoggingOption& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
private:
Aws::String m_logStreamARN;
bool m_logStreamARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,208 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the Amazon CloudWatch logging option.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CloudWatchLoggingOptionDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionDescription
{
public:
CloudWatchLoggingOptionDescription();
CloudWatchLoggingOptionDescription(Aws::Utils::Json::JsonView jsonValue);
CloudWatchLoggingOptionDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); }
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;}
/**
* <p>The ID of the CloudWatch logging option description.</p>
*/
inline CloudWatchLoggingOptionDescription& WithCloudWatchLoggingOptionId(const char* value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline const Aws::String& GetLogStreamARN() const{ return m_logStreamARN; }
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline bool LogStreamARNHasBeenSet() const { return m_logStreamARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline void SetLogStreamARN(const Aws::String& value) { m_logStreamARNHasBeenSet = true; m_logStreamARN = value; }
/**
* <p>The Amazon Resource Name (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>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline void SetLogStreamARN(const char* value) { m_logStreamARNHasBeenSet = true; m_logStreamARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const Aws::String& value) { SetLogStreamARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline CloudWatchLoggingOptionDescription& WithLogStreamARN(Aws::String&& value) { SetLogStreamARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline CloudWatchLoggingOptionDescription& WithLogStreamARN(const char* value) { SetLogStreamARN(value); return *this;}
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline CloudWatchLoggingOptionDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</p>
*/
inline CloudWatchLoggingOptionDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The IAM ARN of the role to use to send application messages. </p>
* <p>Provided for backward compatibility. Applications created with the current
* API version have an application-level service execution role rather than a
* resource-level role.</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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the Amazon CloudWatch logging option updates.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CloudWatchLoggingOptionUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CloudWatchLoggingOptionUpdate
{
public:
CloudWatchLoggingOptionUpdate();
CloudWatchLoggingOptionUpdate(Aws::Utils::Json::JsonView jsonValue);
CloudWatchLoggingOptionUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline void SetCloudWatchLoggingOptionId(Aws::String&& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = std::move(value); }
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;}
/**
* <p>The ID of the CloudWatch logging option to update</p>
*/
inline CloudWatchLoggingOptionUpdate& WithCloudWatchLoggingOptionId(const char* value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline const Aws::String& GetLogStreamARNUpdate() const{ return m_logStreamARNUpdate; }
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline bool LogStreamARNUpdateHasBeenSet() const { return m_logStreamARNUpdateHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline void SetLogStreamARNUpdate(const Aws::String& value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate = value; }
/**
* <p>The Amazon Resource Name (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>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline void SetLogStreamARNUpdate(const char* value) { m_logStreamARNUpdateHasBeenSet = true; m_logStreamARNUpdate.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(const Aws::String& value) { SetLogStreamARNUpdate(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(Aws::String&& value) { SetLogStreamARNUpdate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the CloudWatch log to receive application
* messages.</p>
*/
inline CloudWatchLoggingOptionUpdate& WithLogStreamARNUpdate(const char* value) { SetLogStreamARNUpdate(value); return *this;}
private:
Aws::String m_cloudWatchLoggingOptionId;
bool m_cloudWatchLoggingOptionIdHasBeenSet;
Aws::String m_logStreamARNUpdate;
bool m_logStreamARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,160 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/Array.h>
#include <aws/kinesisanalyticsv2/model/S3ContentLocation.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Specifies either the application code, or the location of the application
* code, for a Java-based Amazon Kinesis Data Analytics application. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CodeContent">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CodeContent
{
public:
CodeContent();
CodeContent(Aws::Utils::Json::JsonView jsonValue);
CodeContent& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline const Aws::String& GetTextContent() const{ return m_textContent; }
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; }
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetTextContent(const Aws::String& value) { m_textContentHasBeenSet = true; m_textContent = value; }
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetTextContent(Aws::String&& value) { m_textContentHasBeenSet = true; m_textContent = std::move(value); }
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetTextContent(const char* value) { m_textContentHasBeenSet = true; m_textContent.assign(value); }
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline CodeContent& WithTextContent(const Aws::String& value) { SetTextContent(value); return *this;}
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline CodeContent& WithTextContent(Aws::String&& value) { SetTextContent(std::move(value)); return *this;}
/**
* <p>The text-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline CodeContent& WithTextContent(const char* value) { SetTextContent(value); return *this;}
/**
* <p>The zip-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline const Aws::Utils::ByteBuffer& GetZipFileContent() const{ return m_zipFileContent; }
/**
* <p>The zip-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline bool ZipFileContentHasBeenSet() const { return m_zipFileContentHasBeenSet; }
/**
* <p>The zip-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetZipFileContent(const Aws::Utils::ByteBuffer& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = value; }
/**
* <p>The zip-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline void SetZipFileContent(Aws::Utils::ByteBuffer&& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = std::move(value); }
/**
* <p>The zip-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline CodeContent& WithZipFileContent(const Aws::Utils::ByteBuffer& value) { SetZipFileContent(value); return *this;}
/**
* <p>The zip-format code for a Java-based Kinesis Data Analytics application.</p>
*/
inline CodeContent& WithZipFileContent(Aws::Utils::ByteBuffer&& value) { SetZipFileContent(std::move(value)); return *this;}
/**
* <p>Information about the Amazon S3 bucket containing the application code.</p>
*/
inline const S3ContentLocation& GetS3ContentLocation() const{ return m_s3ContentLocation; }
/**
* <p>Information about the Amazon S3 bucket containing the application code.</p>
*/
inline bool S3ContentLocationHasBeenSet() const { return m_s3ContentLocationHasBeenSet; }
/**
* <p>Information about the Amazon S3 bucket containing the application code.</p>
*/
inline void SetS3ContentLocation(const S3ContentLocation& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = value; }
/**
* <p>Information about the Amazon S3 bucket containing the application code.</p>
*/
inline void SetS3ContentLocation(S3ContentLocation&& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = std::move(value); }
/**
* <p>Information about the Amazon S3 bucket containing the application code.</p>
*/
inline CodeContent& WithS3ContentLocation(const S3ContentLocation& value) { SetS3ContentLocation(value); return *this;}
/**
* <p>Information about the Amazon S3 bucket containing the application code.</p>
*/
inline CodeContent& WithS3ContentLocation(S3ContentLocation&& value) { SetS3ContentLocation(std::move(value)); return *this;}
private:
Aws::String m_textContent;
bool m_textContentHasBeenSet;
Aws::Utils::ByteBuffer m_zipFileContent;
bool m_zipFileContentHasBeenSet;
S3ContentLocation m_s3ContentLocation;
bool m_s3ContentLocationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,202 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/S3ApplicationCodeLocationDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes details about the application code for a Java-based Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CodeContentDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CodeContentDescription
{
public:
CodeContentDescription();
CodeContentDescription(Aws::Utils::Json::JsonView jsonValue);
CodeContentDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The text-format code</p>
*/
inline const Aws::String& GetTextContent() const{ return m_textContent; }
/**
* <p>The text-format code</p>
*/
inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; }
/**
* <p>The text-format code</p>
*/
inline void SetTextContent(const Aws::String& value) { m_textContentHasBeenSet = true; m_textContent = value; }
/**
* <p>The text-format code</p>
*/
inline void SetTextContent(Aws::String&& value) { m_textContentHasBeenSet = true; m_textContent = std::move(value); }
/**
* <p>The text-format code</p>
*/
inline void SetTextContent(const char* value) { m_textContentHasBeenSet = true; m_textContent.assign(value); }
/**
* <p>The text-format code</p>
*/
inline CodeContentDescription& WithTextContent(const Aws::String& value) { SetTextContent(value); return *this;}
/**
* <p>The text-format code</p>
*/
inline CodeContentDescription& WithTextContent(Aws::String&& value) { SetTextContent(std::move(value)); return *this;}
/**
* <p>The text-format code</p>
*/
inline CodeContentDescription& WithTextContent(const char* value) { SetTextContent(value); return *this;}
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline const Aws::String& GetCodeMD5() const{ return m_codeMD5; }
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline bool CodeMD5HasBeenSet() const { return m_codeMD5HasBeenSet; }
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline void SetCodeMD5(const Aws::String& value) { m_codeMD5HasBeenSet = true; m_codeMD5 = value; }
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline void SetCodeMD5(Aws::String&& value) { m_codeMD5HasBeenSet = true; m_codeMD5 = std::move(value); }
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline void SetCodeMD5(const char* value) { m_codeMD5HasBeenSet = true; m_codeMD5.assign(value); }
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline CodeContentDescription& WithCodeMD5(const Aws::String& value) { SetCodeMD5(value); return *this;}
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline CodeContentDescription& WithCodeMD5(Aws::String&& value) { SetCodeMD5(std::move(value)); return *this;}
/**
* <p>The checksum that can be used to validate zip-format code.</p>
*/
inline CodeContentDescription& WithCodeMD5(const char* value) { SetCodeMD5(value); return *this;}
/**
* <p>The size in bytes of the application code. Can be used to validate zip-format
* code.</p>
*/
inline long long GetCodeSize() const{ return m_codeSize; }
/**
* <p>The size in bytes of the application code. Can be used to validate zip-format
* code.</p>
*/
inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
/**
* <p>The size in bytes of the application code. Can be used to validate zip-format
* code.</p>
*/
inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
/**
* <p>The size in bytes of the application code. Can be used to validate zip-format
* code.</p>
*/
inline CodeContentDescription& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
/**
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the
* application code stored in Amazon S3.</p>
*/
inline const S3ApplicationCodeLocationDescription& GetS3ApplicationCodeLocationDescription() const{ return m_s3ApplicationCodeLocationDescription; }
/**
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the
* application code stored in Amazon S3.</p>
*/
inline bool S3ApplicationCodeLocationDescriptionHasBeenSet() const { return m_s3ApplicationCodeLocationDescriptionHasBeenSet; }
/**
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the
* application code stored in Amazon S3.</p>
*/
inline void SetS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription& value) { m_s3ApplicationCodeLocationDescriptionHasBeenSet = true; m_s3ApplicationCodeLocationDescription = value; }
/**
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the
* application code stored in Amazon S3.</p>
*/
inline void SetS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription&& value) { m_s3ApplicationCodeLocationDescriptionHasBeenSet = true; m_s3ApplicationCodeLocationDescription = std::move(value); }
/**
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the
* application code stored in Amazon S3.</p>
*/
inline CodeContentDescription& WithS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription& value) { SetS3ApplicationCodeLocationDescription(value); return *this;}
/**
* <p>The S3 bucket Amazon Resource Name (ARN), file key, and object version of the
* application code stored in Amazon S3.</p>
*/
inline CodeContentDescription& WithS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription&& value) { SetS3ApplicationCodeLocationDescription(std::move(value)); return *this;}
private:
Aws::String m_textContent;
bool m_textContentHasBeenSet;
Aws::String m_codeMD5;
bool m_codeMD5HasBeenSet;
long long m_codeSize;
bool m_codeSizeHasBeenSet;
S3ApplicationCodeLocationDescription m_s3ApplicationCodeLocationDescription;
bool m_s3ApplicationCodeLocationDescriptionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
enum class CodeContentType
{
NOT_SET,
PLAINTEXT,
ZIPFILE
};
namespace CodeContentTypeMapper
{
AWS_KINESISANALYTICSV2_API CodeContentType GetCodeContentTypeForName(const Aws::String& name);
AWS_KINESISANALYTICSV2_API Aws::String GetNameForCodeContentType(CodeContentType value);
} // namespace CodeContentTypeMapper
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/Array.h>
#include <aws/kinesisanalyticsv2/model/S3ContentLocationUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes an update to the code of a Java-based Kinesis Data Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CodeContentUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API CodeContentUpdate
{
public:
CodeContentUpdate();
CodeContentUpdate(Aws::Utils::Json::JsonView jsonValue);
CodeContentUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline const Aws::String& GetTextContentUpdate() const{ return m_textContentUpdate; }
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline bool TextContentUpdateHasBeenSet() const { return m_textContentUpdateHasBeenSet; }
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline void SetTextContentUpdate(const Aws::String& value) { m_textContentUpdateHasBeenSet = true; m_textContentUpdate = value; }
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline void SetTextContentUpdate(Aws::String&& value) { m_textContentUpdateHasBeenSet = true; m_textContentUpdate = std::move(value); }
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline void SetTextContentUpdate(const char* value) { m_textContentUpdateHasBeenSet = true; m_textContentUpdate.assign(value); }
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline CodeContentUpdate& WithTextContentUpdate(const Aws::String& value) { SetTextContentUpdate(value); return *this;}
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline CodeContentUpdate& WithTextContentUpdate(Aws::String&& value) { SetTextContentUpdate(std::move(value)); return *this;}
/**
* <p>Describes an update to the text code for an application.</p>
*/
inline CodeContentUpdate& WithTextContentUpdate(const char* value) { SetTextContentUpdate(value); return *this;}
/**
* <p>Describes an update to the zipped code for an application.</p>
*/
inline const Aws::Utils::ByteBuffer& GetZipFileContentUpdate() const{ return m_zipFileContentUpdate; }
/**
* <p>Describes an update to the zipped code for an application.</p>
*/
inline bool ZipFileContentUpdateHasBeenSet() const { return m_zipFileContentUpdateHasBeenSet; }
/**
* <p>Describes an update to the zipped code for an application.</p>
*/
inline void SetZipFileContentUpdate(const Aws::Utils::ByteBuffer& value) { m_zipFileContentUpdateHasBeenSet = true; m_zipFileContentUpdate = value; }
/**
* <p>Describes an update to the zipped code for an application.</p>
*/
inline void SetZipFileContentUpdate(Aws::Utils::ByteBuffer&& value) { m_zipFileContentUpdateHasBeenSet = true; m_zipFileContentUpdate = std::move(value); }
/**
* <p>Describes an update to the zipped code for an application.</p>
*/
inline CodeContentUpdate& WithZipFileContentUpdate(const Aws::Utils::ByteBuffer& value) { SetZipFileContentUpdate(value); return *this;}
/**
* <p>Describes an update to the zipped code for an application.</p>
*/
inline CodeContentUpdate& WithZipFileContentUpdate(Aws::Utils::ByteBuffer&& value) { SetZipFileContentUpdate(std::move(value)); return *this;}
/**
* <p>Describes an update to the location of code for an application.</p>
*/
inline const S3ContentLocationUpdate& GetS3ContentLocationUpdate() const{ return m_s3ContentLocationUpdate; }
/**
* <p>Describes an update to the location of code for an application.</p>
*/
inline bool S3ContentLocationUpdateHasBeenSet() const { return m_s3ContentLocationUpdateHasBeenSet; }
/**
* <p>Describes an update to the location of code for an application.</p>
*/
inline void SetS3ContentLocationUpdate(const S3ContentLocationUpdate& value) { m_s3ContentLocationUpdateHasBeenSet = true; m_s3ContentLocationUpdate = value; }
/**
* <p>Describes an update to the location of code for an application.</p>
*/
inline void SetS3ContentLocationUpdate(S3ContentLocationUpdate&& value) { m_s3ContentLocationUpdateHasBeenSet = true; m_s3ContentLocationUpdate = std::move(value); }
/**
* <p>Describes an update to the location of code for an application.</p>
*/
inline CodeContentUpdate& WithS3ContentLocationUpdate(const S3ContentLocationUpdate& value) { SetS3ContentLocationUpdate(value); return *this;}
/**
* <p>Describes an update to the location of code for an application.</p>
*/
inline CodeContentUpdate& WithS3ContentLocationUpdate(S3ContentLocationUpdate&& value) { SetS3ContentLocationUpdate(std::move(value)); return *this;}
private:
Aws::String m_textContentUpdate;
bool m_textContentUpdateHasBeenSet;
Aws::Utils::ByteBuffer m_zipFileContentUpdate;
bool m_zipFileContentUpdateHasBeenSet;
S3ContentLocationUpdate m_s3ContentLocationUpdate;
bool m_s3ContentLocationUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
enum class ConfigurationType
{
NOT_SET,
DEFAULT,
CUSTOM
};
namespace ConfigurationTypeMapper
{
AWS_KINESISANALYTICSV2_API ConfigurationType GetConfigurationTypeForName(const Aws::String& name);
AWS_KINESISANALYTICSV2_API Aws::String GetNameForConfigurationType(ConfigurationType value);
} // namespace ConfigurationTypeMapper
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,404 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/RuntimeEnvironment.h>
#include <aws/kinesisanalyticsv2/model/ApplicationConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOption.h>
#include <aws/kinesisanalyticsv2/model/Tag.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API CreateApplicationRequest : public KinesisAnalyticsV2Request
{
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>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline CreateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline CreateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of your application (for example, <code>sample-app</code>).</p>
*/
inline CreateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>A summary description of the application.</p>
*/
inline const Aws::String& GetApplicationDescription() const{ return m_applicationDescription; }
/**
* <p>A summary description of the application.</p>
*/
inline bool ApplicationDescriptionHasBeenSet() const { return m_applicationDescriptionHasBeenSet; }
/**
* <p>A summary description of the application.</p>
*/
inline void SetApplicationDescription(const Aws::String& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = value; }
/**
* <p>A summary description of the application.</p>
*/
inline void SetApplicationDescription(Aws::String&& value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription = std::move(value); }
/**
* <p>A summary description of the application.</p>
*/
inline void SetApplicationDescription(const char* value) { m_applicationDescriptionHasBeenSet = true; m_applicationDescription.assign(value); }
/**
* <p>A summary description of the application.</p>
*/
inline CreateApplicationRequest& WithApplicationDescription(const Aws::String& value) { SetApplicationDescription(value); return *this;}
/**
* <p>A summary description of the application.</p>
*/
inline CreateApplicationRequest& WithApplicationDescription(Aws::String&& value) { SetApplicationDescription(std::move(value)); return *this;}
/**
* <p>A summary description of the application.</p>
*/
inline CreateApplicationRequest& WithApplicationDescription(const char* value) { SetApplicationDescription(value); return *this;}
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline const RuntimeEnvironment& GetRuntimeEnvironment() const{ return m_runtimeEnvironment; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline bool RuntimeEnvironmentHasBeenSet() const { return m_runtimeEnvironmentHasBeenSet; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline void SetRuntimeEnvironment(const RuntimeEnvironment& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = value; }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline void SetRuntimeEnvironment(RuntimeEnvironment&& value) { m_runtimeEnvironmentHasBeenSet = true; m_runtimeEnvironment = std::move(value); }
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline CreateApplicationRequest& WithRuntimeEnvironment(const RuntimeEnvironment& value) { SetRuntimeEnvironment(value); return *this;}
/**
* <p>The runtime environment for the application (<code>SQL-1.0</code> or
* <code>FLINK-1_6</code>).</p>
*/
inline CreateApplicationRequest& WithRuntimeEnvironment(RuntimeEnvironment&& value) { SetRuntimeEnvironment(std::move(value)); return *this;}
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline const Aws::String& GetServiceExecutionRole() const{ return m_serviceExecutionRole; }
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline bool ServiceExecutionRoleHasBeenSet() const { return m_serviceExecutionRoleHasBeenSet; }
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline void SetServiceExecutionRole(const Aws::String& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = value; }
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline void SetServiceExecutionRole(Aws::String&& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = std::move(value); }
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline void SetServiceExecutionRole(const char* value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole.assign(value); }
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline CreateApplicationRequest& WithServiceExecutionRole(const Aws::String& value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline CreateApplicationRequest& WithServiceExecutionRole(Aws::String&& value) { SetServiceExecutionRole(std::move(value)); return *this;}
/**
* <p>The IAM role used by the application to access Kinesis data streams, Kinesis
* Data Firehose delivery streams, Amazon S3 objects, and other external
* resources.</p>
*/
inline CreateApplicationRequest& WithServiceExecutionRole(const char* value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>Use this parameter to configure the application.</p>
*/
inline const ApplicationConfiguration& GetApplicationConfiguration() const{ return m_applicationConfiguration; }
/**
* <p>Use this parameter to configure the application.</p>
*/
inline bool ApplicationConfigurationHasBeenSet() const { return m_applicationConfigurationHasBeenSet; }
/**
* <p>Use this parameter to configure the application.</p>
*/
inline void SetApplicationConfiguration(const ApplicationConfiguration& value) { m_applicationConfigurationHasBeenSet = true; m_applicationConfiguration = value; }
/**
* <p>Use this parameter to configure the application.</p>
*/
inline void SetApplicationConfiguration(ApplicationConfiguration&& value) { m_applicationConfigurationHasBeenSet = true; m_applicationConfiguration = std::move(value); }
/**
* <p>Use this parameter to configure the application.</p>
*/
inline CreateApplicationRequest& WithApplicationConfiguration(const ApplicationConfiguration& value) { SetApplicationConfiguration(value); return *this;}
/**
* <p>Use this parameter to configure the application.</p>
*/
inline CreateApplicationRequest& WithApplicationConfiguration(ApplicationConfiguration&& value) { SetApplicationConfiguration(std::move(value)); return *this;}
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline const Aws::Vector<CloudWatchLoggingOption>& GetCloudWatchLoggingOptions() const{ return m_cloudWatchLoggingOptions; }
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline bool CloudWatchLoggingOptionsHasBeenSet() const { return m_cloudWatchLoggingOptionsHasBeenSet; }
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline void SetCloudWatchLoggingOptions(const Aws::Vector<CloudWatchLoggingOption>& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = value; }
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline void SetCloudWatchLoggingOptions(Aws::Vector<CloudWatchLoggingOption>&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions = std::move(value); }
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline CreateApplicationRequest& WithCloudWatchLoggingOptions(const Aws::Vector<CloudWatchLoggingOption>& value) { SetCloudWatchLoggingOptions(value); return *this;}
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline CreateApplicationRequest& WithCloudWatchLoggingOptions(Aws::Vector<CloudWatchLoggingOption>&& value) { SetCloudWatchLoggingOptions(std::move(value)); return *this;}
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline CreateApplicationRequest& AddCloudWatchLoggingOptions(const CloudWatchLoggingOption& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions.push_back(value); return *this; }
/**
* <p>Use this parameter to configure an Amazon CloudWatch log stream to monitor
* application configuration errors. </p>
*/
inline CreateApplicationRequest& AddCloudWatchLoggingOptions(CloudWatchLoggingOption&& value) { m_cloudWatchLoggingOptionsHasBeenSet = true; m_cloudWatchLoggingOptions.push_back(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/java/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/java/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/java/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/java/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/java/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/java/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/java/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/java/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;
RuntimeEnvironment m_runtimeEnvironment;
bool m_runtimeEnvironmentHasBeenSet;
Aws::String m_serviceExecutionRole;
bool m_serviceExecutionRoleHasBeenSet;
ApplicationConfiguration m_applicationConfiguration;
bool m_applicationConfigurationHasBeenSet;
Aws::Vector<CloudWatchLoggingOption> m_cloudWatchLoggingOptions;
bool m_cloudWatchLoggingOptionsHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,72 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/ApplicationDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_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, Kinesis Data
* Analytics returns a response with details of the application it created.</p>
*/
inline const ApplicationDetail& GetApplicationDetail() const{ return m_applicationDetail; }
/**
* <p>In response to your <code>CreateApplication</code> request, Kinesis Data
* Analytics returns a response with details of the application it created.</p>
*/
inline void SetApplicationDetail(const ApplicationDetail& value) { m_applicationDetail = value; }
/**
* <p>In response to your <code>CreateApplication</code> request, Kinesis Data
* Analytics returns a response with details of the application it created.</p>
*/
inline void SetApplicationDetail(ApplicationDetail&& value) { m_applicationDetail = std::move(value); }
/**
* <p>In response to your <code>CreateApplication</code> request, Kinesis Data
* Analytics returns a response with details of the application it created.</p>
*/
inline CreateApplicationResult& WithApplicationDetail(const ApplicationDetail& value) { SetApplicationDetail(value); return *this;}
/**
* <p>In response to your <code>CreateApplication</code> request, Kinesis Data
* Analytics returns a response with details of the application it created.</p>
*/
inline CreateApplicationResult& WithApplicationDetail(ApplicationDetail&& value) { SetApplicationDetail(std::move(value)); return *this;}
private:
ApplicationDetail m_applicationDetail;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API CreateApplicationSnapshotRequest : public KinesisAnalyticsV2Request
{
public:
CreateApplicationSnapshotRequest();
// 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 "CreateApplicationSnapshot"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of an existing application</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application</p>
*/
inline CreateApplicationSnapshotRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application</p>
*/
inline CreateApplicationSnapshotRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application</p>
*/
inline CreateApplicationSnapshotRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>An identifier for the application snapshot.</p>
*/
inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
/**
* <p>An identifier for the application snapshot.</p>
*/
inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
/**
* <p>An identifier for the application snapshot.</p>
*/
inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
/**
* <p>An identifier for the application snapshot.</p>
*/
inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
/**
* <p>An identifier for the application snapshot.</p>
*/
inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
/**
* <p>An identifier for the application snapshot.</p>
*/
inline CreateApplicationSnapshotRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
/**
* <p>An identifier for the application snapshot.</p>
*/
inline CreateApplicationSnapshotRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
/**
* <p>An identifier for the application snapshot.</p>
*/
inline CreateApplicationSnapshotRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_snapshotName;
bool m_snapshotNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API CreateApplicationSnapshotResult
{
public:
CreateApplicationSnapshotResult();
CreateApplicationSnapshotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateApplicationSnapshotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationCloudWatchLoggingOptionRequest : public KinesisAnalyticsV2Request
{
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 application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The application name.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The application name.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The application name.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The version ID of the application. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The version ID of the application. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The version ID of the application. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The version ID of the application. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>DescribeApplication</a> operation. </p>
*/
inline const Aws::String& GetCloudWatchLoggingOptionId() const{ return m_cloudWatchLoggingOptionId; }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>DescribeApplication</a> operation. </p>
*/
inline bool CloudWatchLoggingOptionIdHasBeenSet() const { return m_cloudWatchLoggingOptionIdHasBeenSet; }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>DescribeApplication</a> operation. </p>
*/
inline void SetCloudWatchLoggingOptionId(const Aws::String& value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId = value; }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>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 Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>DescribeApplication</a> operation. </p>
*/
inline void SetCloudWatchLoggingOptionId(const char* value) { m_cloudWatchLoggingOptionIdHasBeenSet = true; m_cloudWatchLoggingOptionId.assign(value); }
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>DescribeApplication</a> operation. </p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOptionId(const Aws::String& value) { SetCloudWatchLoggingOptionId(value); return *this;}
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>DescribeApplication</a> operation. </p>
*/
inline DeleteApplicationCloudWatchLoggingOptionRequest& WithCloudWatchLoggingOptionId(Aws::String&& value) { SetCloudWatchLoggingOptionId(std::move(value)); return *this;}
/**
* <p>The <code>CloudWatchLoggingOptionId</code> of the Amazon CloudWatch logging
* option to delete. You can get the <code>CloudWatchLoggingOptionId</code> by
* using the <a>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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,148 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/CloudWatchLoggingOptionDescription.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DeleteApplicationCloudWatchLoggingOptionResult
{
public:
DeleteApplicationCloudWatchLoggingOptionResult();
DeleteApplicationCloudWatchLoggingOptionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationCloudWatchLoggingOptionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The application's Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The version ID of the application. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you change the CloudWatch logging
* options.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The version ID of the application. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you change the CloudWatch logging
* options.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The version ID of the application. Kinesis Data Analytics updates the
* <code>ApplicationVersionId</code> each time you change the CloudWatch logging
* options.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline const Aws::Vector<CloudWatchLoggingOptionDescription>& GetCloudWatchLoggingOptionDescriptions() const{ return m_cloudWatchLoggingOptionDescriptions; }
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { m_cloudWatchLoggingOptionDescriptions = value; }
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline void SetCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { m_cloudWatchLoggingOptionDescriptions = std::move(value); }
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& WithCloudWatchLoggingOptionDescriptions(const Aws::Vector<CloudWatchLoggingOptionDescription>& value) { SetCloudWatchLoggingOptionDescriptions(value); return *this;}
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& WithCloudWatchLoggingOptionDescriptions(Aws::Vector<CloudWatchLoggingOptionDescription>&& value) { SetCloudWatchLoggingOptionDescriptions(std::move(value)); return *this;}
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& AddCloudWatchLoggingOptionDescriptions(const CloudWatchLoggingOptionDescription& value) { m_cloudWatchLoggingOptionDescriptions.push_back(value); return *this; }
/**
* <p>The descriptions of the remaining CloudWatch logging options for the
* application.</p>
*/
inline DeleteApplicationCloudWatchLoggingOptionResult& AddCloudWatchLoggingOptionDescriptions(CloudWatchLoggingOptionDescription&& value) { m_cloudWatchLoggingOptionDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
Aws::Vector<CloudWatchLoggingOptionDescription> m_cloudWatchLoggingOptionDescriptions;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,181 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationInputProcessingConfigurationRequest : public KinesisAnalyticsV2Request
{
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 name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of the application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of the application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The application version. You can use the <a>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>The application version. You can use the <a>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>The application version. You can use the <a>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>The application version. You can use the <a>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 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>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>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>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>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>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>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>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>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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,95 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DeleteApplicationInputProcessingConfigurationResult
{
public:
DeleteApplicationInputProcessingConfigurationResult();
DeleteApplicationInputProcessingConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationInputProcessingConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the application.</p>
*/
inline DeleteApplicationInputProcessingConfigurationResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The current application version ID.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The current application version ID.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The current application version ID.</p>
*/
inline DeleteApplicationInputProcessingConfigurationResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,205 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationOutputRequest : public KinesisAnalyticsV2Request
{
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>The application name.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The application name.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The application name.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The application name.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The application name.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The application name.</p>
*/
inline DeleteApplicationOutputRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The application name.</p>
*/
inline DeleteApplicationOutputRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The application name.</p>
*/
inline DeleteApplicationOutputRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The application version. You can use the <a>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>The application version. You can use the <a>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>The application version. You can use the <a>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>The application version. You can use the <a>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>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>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>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>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>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>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>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>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>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>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>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>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>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>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>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>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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,95 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DeleteApplicationOutputResult
{
public:
DeleteApplicationOutputResult();
DeleteApplicationOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationOutputResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationOutputResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationOutputResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The current application version ID.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The current application version ID.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The current application version ID.</p>
*/
inline DeleteApplicationOutputResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,189 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationReferenceDataSourceRequest : public KinesisAnalyticsV2Request
{
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>The name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The current application version. You can use the <a>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>The current application version. You can use the <a>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>The current application version. You can use the <a>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>The current application version. You can use the <a>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>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline const Aws::String& GetReferenceId() const{ return m_referenceId; }
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; }
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline void SetReferenceId(const Aws::String& value) { m_referenceIdHasBeenSet = true; m_referenceId = value; }
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline void SetReferenceId(Aws::String&& value) { m_referenceIdHasBeenSet = true; m_referenceId = std::move(value); }
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline void SetReferenceId(const char* value) { m_referenceIdHasBeenSet = true; m_referenceId.assign(value); }
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithReferenceId(const Aws::String& value) { SetReferenceId(value); return *this;}
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>DescribeApplication</a>
* operation to get the reference ID. </p>
*/
inline DeleteApplicationReferenceDataSourceRequest& WithReferenceId(Aws::String&& value) { SetReferenceId(std::move(value)); return *this;}
/**
* <p>The ID of the reference data source. When you add a reference data source to
* your application using the <a>AddApplicationReferenceDataSource</a>, Kinesis
* Data Analytics assigns an ID. You can use the <a>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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,95 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DeleteApplicationReferenceDataSourceResult
{
public:
DeleteApplicationReferenceDataSourceResult();
DeleteApplicationReferenceDataSourceResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationReferenceDataSourceResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationReferenceDataSourceResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationReferenceDataSourceResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The application Amazon Resource Name (ARN).</p>
*/
inline DeleteApplicationReferenceDataSourceResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The updated version ID of the application.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The updated version ID of the application.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The updated version ID of the application.</p>
*/
inline DeleteApplicationReferenceDataSourceResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,120 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationRequest : public KinesisAnalyticsV2Request
{
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>The name of the application to delete.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the application to delete.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of the application to delete.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of the application to delete.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of the application to delete.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of the application to delete.</p>
*/
inline DeleteApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the application to delete.</p>
*/
inline DeleteApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of the application to delete.</p>
*/
inline DeleteApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Use the <code>DescribeApplication</code> operation to get this value.</p>
*/
inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; }
/**
* <p>Use the <code>DescribeApplication</code> operation to get this value.</p>
*/
inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; }
/**
* <p>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>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>Use the <code>DescribeApplication</code> operation to get this value.</p>
*/
inline DeleteApplicationRequest& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;}
/**
* <p>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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,170 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationSnapshotRequest : public KinesisAnalyticsV2Request
{
public:
DeleteApplicationSnapshotRequest();
// 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 "DeleteApplicationSnapshot"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationSnapshotRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationSnapshotRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationSnapshotRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline DeleteApplicationSnapshotRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline DeleteApplicationSnapshotRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
/**
* <p>The identifier for the snapshot delete.</p>
*/
inline DeleteApplicationSnapshotRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
/**
* <p>The creation timestamp of the application snapshot to delete. You can
* retrieve this value using or .</p>
*/
inline const Aws::Utils::DateTime& GetSnapshotCreationTimestamp() const{ return m_snapshotCreationTimestamp; }
/**
* <p>The creation timestamp of the application snapshot to delete. You can
* retrieve this value using or .</p>
*/
inline bool SnapshotCreationTimestampHasBeenSet() const { return m_snapshotCreationTimestampHasBeenSet; }
/**
* <p>The creation timestamp of the application snapshot to delete. You can
* retrieve this value using or .</p>
*/
inline void SetSnapshotCreationTimestamp(const Aws::Utils::DateTime& value) { m_snapshotCreationTimestampHasBeenSet = true; m_snapshotCreationTimestamp = value; }
/**
* <p>The creation timestamp of the application snapshot to delete. You can
* retrieve this value using or .</p>
*/
inline void SetSnapshotCreationTimestamp(Aws::Utils::DateTime&& value) { m_snapshotCreationTimestampHasBeenSet = true; m_snapshotCreationTimestamp = std::move(value); }
/**
* <p>The creation timestamp of the application snapshot to delete. You can
* retrieve this value using or .</p>
*/
inline DeleteApplicationSnapshotRequest& WithSnapshotCreationTimestamp(const Aws::Utils::DateTime& value) { SetSnapshotCreationTimestamp(value); return *this;}
/**
* <p>The creation timestamp of the application snapshot to delete. You can
* retrieve this value using or .</p>
*/
inline DeleteApplicationSnapshotRequest& WithSnapshotCreationTimestamp(Aws::Utils::DateTime&& value) { SetSnapshotCreationTimestamp(std::move(value)); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_snapshotName;
bool m_snapshotNameHasBeenSet;
Aws::Utils::DateTime m_snapshotCreationTimestamp;
bool m_snapshotCreationTimestampHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DeleteApplicationSnapshotResult
{
public:
DeleteApplicationSnapshotResult();
DeleteApplicationSnapshotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationSnapshotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,157 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DeleteApplicationVpcConfigurationRequest : public KinesisAnalyticsV2Request
{
public:
DeleteApplicationVpcConfigurationRequest();
// 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 "DeleteApplicationVpcConfiguration"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The current application version ID. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline long long GetCurrentApplicationVersionId() const{ return m_currentApplicationVersionId; }
/**
* <p>The current application version ID. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline bool CurrentApplicationVersionIdHasBeenSet() const { return m_currentApplicationVersionIdHasBeenSet; }
/**
* <p>The current application version ID. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline void SetCurrentApplicationVersionId(long long value) { m_currentApplicationVersionIdHasBeenSet = true; m_currentApplicationVersionId = value; }
/**
* <p>The current application version ID. You can retrieve the application version
* ID using <a>DescribeApplication</a>.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithCurrentApplicationVersionId(long long value) { SetCurrentApplicationVersionId(value); return *this;}
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline const Aws::String& GetVpcConfigurationId() const{ return m_vpcConfigurationId; }
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline bool VpcConfigurationIdHasBeenSet() const { return m_vpcConfigurationIdHasBeenSet; }
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline void SetVpcConfigurationId(const Aws::String& value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId = value; }
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline void SetVpcConfigurationId(Aws::String&& value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId = std::move(value); }
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline void SetVpcConfigurationId(const char* value) { m_vpcConfigurationIdHasBeenSet = true; m_vpcConfigurationId.assign(value); }
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithVpcConfigurationId(const Aws::String& value) { SetVpcConfigurationId(value); return *this;}
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithVpcConfigurationId(Aws::String&& value) { SetVpcConfigurationId(std::move(value)); return *this;}
/**
* <p>The ID of the VPC configuration to delete.</p>
*/
inline DeleteApplicationVpcConfigurationRequest& WithVpcConfigurationId(const char* value) { SetVpcConfigurationId(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
long long m_currentApplicationVersionId;
bool m_currentApplicationVersionIdHasBeenSet;
Aws::String m_vpcConfigurationId;
bool m_vpcConfigurationIdHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,95 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DeleteApplicationVpcConfigurationResult
{
public:
DeleteApplicationVpcConfigurationResult();
DeleteApplicationVpcConfigurationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DeleteApplicationVpcConfigurationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline const Aws::String& GetApplicationARN() const{ return m_applicationARN; }
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline void SetApplicationARN(const Aws::String& value) { m_applicationARN = value; }
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline void SetApplicationARN(Aws::String&& value) { m_applicationARN = std::move(value); }
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline void SetApplicationARN(const char* value) { m_applicationARN.assign(value); }
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline DeleteApplicationVpcConfigurationResult& WithApplicationARN(const Aws::String& value) { SetApplicationARN(value); return *this;}
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline DeleteApplicationVpcConfigurationResult& WithApplicationARN(Aws::String&& value) { SetApplicationARN(std::move(value)); return *this;}
/**
* <p>The ARN of the Kinesis Data Analytics application.</p>
*/
inline DeleteApplicationVpcConfigurationResult& WithApplicationARN(const char* value) { SetApplicationARN(value); return *this;}
/**
* <p>The updated version ID of the application.</p>
*/
inline long long GetApplicationVersionId() const{ return m_applicationVersionId; }
/**
* <p>The updated version ID of the application.</p>
*/
inline void SetApplicationVersionId(long long value) { m_applicationVersionId = value; }
/**
* <p>The updated version ID of the application.</p>
*/
inline DeleteApplicationVpcConfigurationResult& WithApplicationVersionId(long long value) { SetApplicationVersionId(value); return *this;}
private:
Aws::String m_applicationARN;
long long m_applicationVersionId;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,113 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DescribeApplicationRequest : public KinesisAnalyticsV2Request
{
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>The name of the application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of the application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of the application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of the application.</p>
*/
inline DescribeApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of the application.</p>
*/
inline DescribeApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of the application.</p>
*/
inline DescribeApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>Displays verbose information about a Kinesis Data Analytics application,
* including the application's job plan.</p>
*/
inline bool GetIncludeAdditionalDetails() const{ return m_includeAdditionalDetails; }
/**
* <p>Displays verbose information about a Kinesis Data Analytics application,
* including the application's job plan.</p>
*/
inline bool IncludeAdditionalDetailsHasBeenSet() const { return m_includeAdditionalDetailsHasBeenSet; }
/**
* <p>Displays verbose information about a Kinesis Data Analytics application,
* including the application's job plan.</p>
*/
inline void SetIncludeAdditionalDetails(bool value) { m_includeAdditionalDetailsHasBeenSet = true; m_includeAdditionalDetails = value; }
/**
* <p>Displays verbose information about a Kinesis Data Analytics application,
* including the application's job plan.</p>
*/
inline DescribeApplicationRequest& WithIncludeAdditionalDetails(bool value) { SetIncludeAdditionalDetails(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
bool m_includeAdditionalDetails;
bool m_includeAdditionalDetailsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,72 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/ApplicationDetail.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_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's Amazon
* Resource Name (ARN), status, and latest version.</p>
*/
inline const ApplicationDetail& GetApplicationDetail() const{ return m_applicationDetail; }
/**
* <p>Provides a description of the application, such as the application's Amazon
* Resource Name (ARN), status, and latest version.</p>
*/
inline void SetApplicationDetail(const ApplicationDetail& value) { m_applicationDetail = value; }
/**
* <p>Provides a description of the application, such as the application's Amazon
* Resource Name (ARN), status, and latest version.</p>
*/
inline void SetApplicationDetail(ApplicationDetail&& value) { m_applicationDetail = std::move(value); }
/**
* <p>Provides a description of the application, such as the application's Amazon
* Resource Name (ARN), status, and latest version.</p>
*/
inline DescribeApplicationResult& WithApplicationDetail(const ApplicationDetail& value) { SetApplicationDetail(value); return *this;}
/**
* <p>Provides a description of the application, such as the application's Amazon
* Resource Name (ARN), status, and latest version.</p>
*/
inline DescribeApplicationResult& WithApplicationDetail(ApplicationDetail&& value) { SetApplicationDetail(std::move(value)); return *this;}
private:
ApplicationDetail m_applicationDetail;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,137 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DescribeApplicationSnapshotRequest : public KinesisAnalyticsV2Request
{
public:
DescribeApplicationSnapshotRequest();
// 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 "DescribeApplicationSnapshot"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The name of an existing application.</p>
*/
inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
/**
* <p>The name of an existing application.</p>
*/
inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
/**
* <p>The name of an existing application.</p>
*/
inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
/**
* <p>The name of an existing application.</p>
*/
inline DescribeApplicationSnapshotRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DescribeApplicationSnapshotRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;}
/**
* <p>The name of an existing application.</p>
*/
inline DescribeApplicationSnapshotRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline bool SnapshotNameHasBeenSet() const { return m_snapshotNameHasBeenSet; }
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = std::move(value); }
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline DescribeApplicationSnapshotRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline DescribeApplicationSnapshotRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(std::move(value)); return *this;}
/**
* <p>The identifier of an application snapshot. You can retrieve this value using
* .</p>
*/
inline DescribeApplicationSnapshotRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
private:
Aws::String m_applicationName;
bool m_applicationNameHasBeenSet;
Aws::String m_snapshotName;
bool m_snapshotNameHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,67 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/SnapshotDetails.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DescribeApplicationSnapshotResult
{
public:
DescribeApplicationSnapshotResult();
DescribeApplicationSnapshotResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeApplicationSnapshotResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object containing information about the application snapshot.</p>
*/
inline const SnapshotDetails& GetSnapshotDetails() const{ return m_snapshotDetails; }
/**
* <p>An object containing information about the application snapshot.</p>
*/
inline void SetSnapshotDetails(const SnapshotDetails& value) { m_snapshotDetails = value; }
/**
* <p>An object containing information about the application snapshot.</p>
*/
inline void SetSnapshotDetails(SnapshotDetails&& value) { m_snapshotDetails = std::move(value); }
/**
* <p>An object containing information about the application snapshot.</p>
*/
inline DescribeApplicationSnapshotResult& WithSnapshotDetails(const SnapshotDetails& value) { SetSnapshotDetails(value); return *this;}
/**
* <p>An object containing information about the application snapshot.</p>
*/
inline DescribeApplicationSnapshotResult& WithSnapshotDetails(SnapshotDetails&& value) { SetSnapshotDetails(std::move(value)); return *this;}
private:
SnapshotDetails m_snapshotDetails;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,80 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/RecordFormatType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the data format when records are written to the destination in an
* SQL-based Amazon Kinesis Data Analytics application. </p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DestinationSchema">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputStartingPositionConfiguration.h>
#include <aws/kinesisanalyticsv2/model/S3Configuration.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfiguration.h>
#include <utility>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
*/
class AWS_KINESISANALYTICSV2_API DiscoverInputSchemaRequest : public KinesisAnalyticsV2Request
{
public:
DiscoverInputSchemaRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "DiscoverInputSchema"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline const Aws::String& GetServiceExecutionRole() const{ return m_serviceExecutionRole; }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline bool ServiceExecutionRoleHasBeenSet() const { return m_serviceExecutionRoleHasBeenSet; }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline void SetServiceExecutionRole(const Aws::String& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = value; }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline void SetServiceExecutionRole(Aws::String&& value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole = std::move(value); }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline void SetServiceExecutionRole(const char* value) { m_serviceExecutionRoleHasBeenSet = true; m_serviceExecutionRole.assign(value); }
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithServiceExecutionRole(const Aws::String& value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithServiceExecutionRole(Aws::String&& value) { SetServiceExecutionRole(std::move(value)); return *this;}
/**
* <p>The ARN of the role that is used to access the streaming source.</p>
*/
inline DiscoverInputSchemaRequest& WithServiceExecutionRole(const char* value) { SetServiceExecutionRole(value); return *this;}
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline void SetInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = value; }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline void SetInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { m_inputStartingPositionConfigurationHasBeenSet = true; m_inputStartingPositionConfiguration = std::move(value); }
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline DiscoverInputSchemaRequest& WithInputStartingPositionConfiguration(const InputStartingPositionConfiguration& value) { SetInputStartingPositionConfiguration(value); return *this;}
/**
* <p>The point at which you want Kinesis Data Analytics to start reading records
* from the specified streaming source discovery purposes.</p>
*/
inline DiscoverInputSchemaRequest& WithInputStartingPositionConfiguration(InputStartingPositionConfiguration&& value) { SetInputStartingPositionConfiguration(std::move(value)); return *this;}
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline const S3Configuration& GetS3Configuration() const{ return m_s3Configuration; }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline void SetS3Configuration(const S3Configuration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline void SetS3Configuration(S3Configuration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); }
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline DiscoverInputSchemaRequest& WithS3Configuration(const S3Configuration& value) { SetS3Configuration(value); return *this;}
/**
* <p>Specify this parameter to discover a schema from data in an Amazon S3
* object.</p>
*/
inline DiscoverInputSchemaRequest& WithS3Configuration(S3Configuration&& value) { SetS3Configuration(std::move(value)); return *this;}
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline DiscoverInputSchemaRequest& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;}
/**
* <p>The <a>InputProcessingConfiguration</a> to use to preprocess the records
* before discovering the schema of the records.</p>
*/
inline DiscoverInputSchemaRequest& WithInputProcessingConfiguration(InputProcessingConfiguration&& value) { SetInputProcessingConfiguration(std::move(value)); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
Aws::String m_serviceExecutionRole;
bool m_serviceExecutionRoleHasBeenSet;
InputStartingPositionConfiguration m_inputStartingPositionConfiguration;
bool m_inputStartingPositionConfigurationHasBeenSet;
S3Configuration m_s3Configuration;
bool m_s3ConfigurationHasBeenSet;
InputProcessingConfiguration m_inputProcessingConfiguration;
bool m_inputProcessingConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/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 KinesisAnalyticsV2
{
namespace Model
{
class AWS_KINESISANALYTICSV2_API DiscoverInputSchemaResult
{
public:
DiscoverInputSchemaResult();
DiscoverInputSchemaResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DiscoverInputSchemaResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The 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>The raw stream data that was sampled to infer the schema.</p>
*/
inline const Aws::Vector<Aws::String>& GetRawInputRecords() const{ return m_rawInputRecords; }
/**
* <p>The raw stream data that was sampled to infer the schema.</p>
*/
inline void SetRawInputRecords(const Aws::Vector<Aws::String>& value) { m_rawInputRecords = value; }
/**
* <p>The 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>The 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>The 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>The 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>The 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>The 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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/PropertyGroup.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes execution properties for a Java-based Kinesis Data Analytics
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/EnvironmentProperties">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API EnvironmentProperties
{
public:
EnvironmentProperties();
EnvironmentProperties(Aws::Utils::Json::JsonView jsonValue);
EnvironmentProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes the execution property groups.</p>
*/
inline const Aws::Vector<PropertyGroup>& GetPropertyGroups() const{ return m_propertyGroups; }
/**
* <p>Describes the execution property groups.</p>
*/
inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
/**
* <p>Describes the execution property groups.</p>
*/
inline void SetPropertyGroups(const Aws::Vector<PropertyGroup>& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = value; }
/**
* <p>Describes the execution property groups.</p>
*/
inline void SetPropertyGroups(Aws::Vector<PropertyGroup>&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::move(value); }
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentProperties& WithPropertyGroups(const Aws::Vector<PropertyGroup>& value) { SetPropertyGroups(value); return *this;}
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentProperties& WithPropertyGroups(Aws::Vector<PropertyGroup>&& value) { SetPropertyGroups(std::move(value)); return *this;}
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentProperties& AddPropertyGroups(const PropertyGroup& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.push_back(value); return *this; }
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentProperties& AddPropertyGroups(PropertyGroup&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PropertyGroup> m_propertyGroups;
bool m_propertyGroupsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/PropertyGroup.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the execution properties for a Java-based Amazon Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/EnvironmentPropertyDescriptions">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API EnvironmentPropertyDescriptions
{
public:
EnvironmentPropertyDescriptions();
EnvironmentPropertyDescriptions(Aws::Utils::Json::JsonView jsonValue);
EnvironmentPropertyDescriptions& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes the execution property groups.</p>
*/
inline const Aws::Vector<PropertyGroup>& GetPropertyGroupDescriptions() const{ return m_propertyGroupDescriptions; }
/**
* <p>Describes the execution property groups.</p>
*/
inline bool PropertyGroupDescriptionsHasBeenSet() const { return m_propertyGroupDescriptionsHasBeenSet; }
/**
* <p>Describes the execution property groups.</p>
*/
inline void SetPropertyGroupDescriptions(const Aws::Vector<PropertyGroup>& value) { m_propertyGroupDescriptionsHasBeenSet = true; m_propertyGroupDescriptions = value; }
/**
* <p>Describes the execution property groups.</p>
*/
inline void SetPropertyGroupDescriptions(Aws::Vector<PropertyGroup>&& value) { m_propertyGroupDescriptionsHasBeenSet = true; m_propertyGroupDescriptions = std::move(value); }
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentPropertyDescriptions& WithPropertyGroupDescriptions(const Aws::Vector<PropertyGroup>& value) { SetPropertyGroupDescriptions(value); return *this;}
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentPropertyDescriptions& WithPropertyGroupDescriptions(Aws::Vector<PropertyGroup>&& value) { SetPropertyGroupDescriptions(std::move(value)); return *this;}
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentPropertyDescriptions& AddPropertyGroupDescriptions(const PropertyGroup& value) { m_propertyGroupDescriptionsHasBeenSet = true; m_propertyGroupDescriptions.push_back(value); return *this; }
/**
* <p>Describes the execution property groups.</p>
*/
inline EnvironmentPropertyDescriptions& AddPropertyGroupDescriptions(PropertyGroup&& value) { m_propertyGroupDescriptionsHasBeenSet = true; m_propertyGroupDescriptions.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PropertyGroup> m_propertyGroupDescriptions;
bool m_propertyGroupDescriptionsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/PropertyGroup.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates to the execution property groups for a Java-based Amazon
* Kinesis Data Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/EnvironmentPropertyUpdates">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API EnvironmentPropertyUpdates
{
public:
EnvironmentPropertyUpdates();
EnvironmentPropertyUpdates(Aws::Utils::Json::JsonView jsonValue);
EnvironmentPropertyUpdates& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline const Aws::Vector<PropertyGroup>& GetPropertyGroups() const{ return m_propertyGroups; }
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline void SetPropertyGroups(const Aws::Vector<PropertyGroup>& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = value; }
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline void SetPropertyGroups(Aws::Vector<PropertyGroup>&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::move(value); }
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline EnvironmentPropertyUpdates& WithPropertyGroups(const Aws::Vector<PropertyGroup>& value) { SetPropertyGroups(value); return *this;}
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline EnvironmentPropertyUpdates& WithPropertyGroups(Aws::Vector<PropertyGroup>&& value) { SetPropertyGroups(std::move(value)); return *this;}
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline EnvironmentPropertyUpdates& AddPropertyGroups(const PropertyGroup& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.push_back(value); return *this; }
/**
* <p>Describes updates to the execution property groups.</p>
*/
inline EnvironmentPropertyUpdates& AddPropertyGroups(PropertyGroup&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.push_back(std::move(value)); return *this; }
private:
Aws::Vector<PropertyGroup> m_propertyGroups;
bool m_propertyGroupsHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/CheckpointConfiguration.h>
#include <aws/kinesisanalyticsv2/model/MonitoringConfiguration.h>
#include <aws/kinesisanalyticsv2/model/ParallelismConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes configuration parameters for a Java-based Amazon Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/FlinkApplicationConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API FlinkApplicationConfiguration
{
public:
FlinkApplicationConfiguration();
FlinkApplicationConfiguration(Aws::Utils::Json::JsonView jsonValue);
FlinkApplicationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. </p>
*/
inline const CheckpointConfiguration& GetCheckpointConfiguration() const{ return m_checkpointConfiguration; }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. </p>
*/
inline bool CheckpointConfigurationHasBeenSet() const { return m_checkpointConfigurationHasBeenSet; }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. </p>
*/
inline void SetCheckpointConfiguration(const CheckpointConfiguration& value) { m_checkpointConfigurationHasBeenSet = true; m_checkpointConfiguration = value; }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. </p>
*/
inline void SetCheckpointConfiguration(CheckpointConfiguration&& value) { m_checkpointConfigurationHasBeenSet = true; m_checkpointConfiguration = std::move(value); }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. </p>
*/
inline FlinkApplicationConfiguration& WithCheckpointConfiguration(const CheckpointConfiguration& value) { SetCheckpointConfiguration(value); return *this;}
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/concepts/programming-model.html#checkpoints-for-fault-tolerance">
* Checkpoints for Fault Tolerance</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. </p>
*/
inline FlinkApplicationConfiguration& WithCheckpointConfiguration(CheckpointConfiguration&& value) { SetCheckpointConfiguration(std::move(value)); return *this;}
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline const MonitoringConfiguration& GetMonitoringConfiguration() const{ return m_monitoringConfiguration; }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline bool MonitoringConfigurationHasBeenSet() const { return m_monitoringConfigurationHasBeenSet; }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline void SetMonitoringConfiguration(const MonitoringConfiguration& value) { m_monitoringConfigurationHasBeenSet = true; m_monitoringConfiguration = value; }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline void SetMonitoringConfiguration(MonitoringConfiguration&& value) { m_monitoringConfigurationHasBeenSet = true; m_monitoringConfiguration = std::move(value); }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline FlinkApplicationConfiguration& WithMonitoringConfiguration(const MonitoringConfiguration& value) { SetMonitoringConfiguration(value); return *this;}
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline FlinkApplicationConfiguration& WithMonitoringConfiguration(MonitoringConfiguration&& value) { SetMonitoringConfiguration(std::move(value)); return *this;}
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline const ParallelismConfiguration& GetParallelismConfiguration() const{ return m_parallelismConfiguration; }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline bool ParallelismConfigurationHasBeenSet() const { return m_parallelismConfigurationHasBeenSet; }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline void SetParallelismConfiguration(const ParallelismConfiguration& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = value; }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline void SetParallelismConfiguration(ParallelismConfiguration&& value) { m_parallelismConfigurationHasBeenSet = true; m_parallelismConfiguration = std::move(value); }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline FlinkApplicationConfiguration& WithParallelismConfiguration(const ParallelismConfiguration& value) { SetParallelismConfiguration(value); return *this;}
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline FlinkApplicationConfiguration& WithParallelismConfiguration(ParallelismConfiguration&& value) { SetParallelismConfiguration(std::move(value)); return *this;}
private:
CheckpointConfiguration m_checkpointConfiguration;
bool m_checkpointConfigurationHasBeenSet;
MonitoringConfiguration m_monitoringConfiguration;
bool m_monitoringConfigurationHasBeenSet;
ParallelismConfiguration m_parallelismConfiguration;
bool m_parallelismConfigurationHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,268 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/CheckpointConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/MonitoringConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/ParallelismConfigurationDescription.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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes configuration parameters for a Java-based Amazon Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/FlinkApplicationConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API FlinkApplicationConfigurationDescription
{
public:
FlinkApplicationConfigurationDescription();
FlinkApplicationConfigurationDescription(Aws::Utils::Json::JsonView jsonValue);
FlinkApplicationConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance.</p>
*/
inline const CheckpointConfigurationDescription& GetCheckpointConfigurationDescription() const{ return m_checkpointConfigurationDescription; }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance.</p>
*/
inline bool CheckpointConfigurationDescriptionHasBeenSet() const { return m_checkpointConfigurationDescriptionHasBeenSet; }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance.</p>
*/
inline void SetCheckpointConfigurationDescription(const CheckpointConfigurationDescription& value) { m_checkpointConfigurationDescriptionHasBeenSet = true; m_checkpointConfigurationDescription = value; }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance.</p>
*/
inline void SetCheckpointConfigurationDescription(CheckpointConfigurationDescription&& value) { m_checkpointConfigurationDescriptionHasBeenSet = true; m_checkpointConfigurationDescription = std::move(value); }
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance.</p>
*/
inline FlinkApplicationConfigurationDescription& WithCheckpointConfigurationDescription(const CheckpointConfigurationDescription& value) { SetCheckpointConfigurationDescription(value); return *this;}
/**
* <p>Describes an application's checkpointing configuration. Checkpointing is the
* process of persisting application state for fault tolerance.</p>
*/
inline FlinkApplicationConfigurationDescription& WithCheckpointConfigurationDescription(CheckpointConfigurationDescription&& value) { SetCheckpointConfigurationDescription(std::move(value)); return *this;}
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline const MonitoringConfigurationDescription& GetMonitoringConfigurationDescription() const{ return m_monitoringConfigurationDescription; }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline bool MonitoringConfigurationDescriptionHasBeenSet() const { return m_monitoringConfigurationDescriptionHasBeenSet; }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline void SetMonitoringConfigurationDescription(const MonitoringConfigurationDescription& value) { m_monitoringConfigurationDescriptionHasBeenSet = true; m_monitoringConfigurationDescription = value; }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline void SetMonitoringConfigurationDescription(MonitoringConfigurationDescription&& value) { m_monitoringConfigurationDescriptionHasBeenSet = true; m_monitoringConfigurationDescription = std::move(value); }
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline FlinkApplicationConfigurationDescription& WithMonitoringConfigurationDescription(const MonitoringConfigurationDescription& value) { SetMonitoringConfigurationDescription(value); return *this;}
/**
* <p>Describes configuration parameters for Amazon CloudWatch logging for an
* application.</p>
*/
inline FlinkApplicationConfigurationDescription& WithMonitoringConfigurationDescription(MonitoringConfigurationDescription&& value) { SetMonitoringConfigurationDescription(std::move(value)); return *this;}
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline const ParallelismConfigurationDescription& GetParallelismConfigurationDescription() const{ return m_parallelismConfigurationDescription; }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline bool ParallelismConfigurationDescriptionHasBeenSet() const { return m_parallelismConfigurationDescriptionHasBeenSet; }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline void SetParallelismConfigurationDescription(const ParallelismConfigurationDescription& value) { m_parallelismConfigurationDescriptionHasBeenSet = true; m_parallelismConfigurationDescription = value; }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline void SetParallelismConfigurationDescription(ParallelismConfigurationDescription&& value) { m_parallelismConfigurationDescriptionHasBeenSet = true; m_parallelismConfigurationDescription = std::move(value); }
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline FlinkApplicationConfigurationDescription& WithParallelismConfigurationDescription(const ParallelismConfigurationDescription& value) { SetParallelismConfigurationDescription(value); return *this;}
/**
* <p>Describes parameters for how an application executes multiple tasks
* simultaneously.</p>
*/
inline FlinkApplicationConfigurationDescription& WithParallelismConfigurationDescription(ParallelismConfigurationDescription&& value) { SetParallelismConfigurationDescription(std::move(value)); return *this;}
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline const Aws::String& GetJobPlanDescription() const{ return m_jobPlanDescription; }
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline bool JobPlanDescriptionHasBeenSet() const { return m_jobPlanDescriptionHasBeenSet; }
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline void SetJobPlanDescription(const Aws::String& value) { m_jobPlanDescriptionHasBeenSet = true; m_jobPlanDescription = value; }
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline void SetJobPlanDescription(Aws::String&& value) { m_jobPlanDescriptionHasBeenSet = true; m_jobPlanDescription = std::move(value); }
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline void SetJobPlanDescription(const char* value) { m_jobPlanDescriptionHasBeenSet = true; m_jobPlanDescription.assign(value); }
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline FlinkApplicationConfigurationDescription& WithJobPlanDescription(const Aws::String& value) { SetJobPlanDescription(value); return *this;}
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline FlinkApplicationConfigurationDescription& WithJobPlanDescription(Aws::String&& value) { SetJobPlanDescription(std::move(value)); return *this;}
/**
* <p>The job plan for an application. For more information about the job plan, see
* <a
* href="https://ci.apache.org/projects/flink/flink-docs-stable/internals/job_scheduling.html">Jobs
* and Scheduling</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.6/">Apache Flink
* Documentation</a>. To retrieve the job plan for the application, use the
* <a>DescribeApplicationRequest$IncludeAdditionalDetails</a> parameter of the
* <a>DescribeApplication</a> operation.</p>
*/
inline FlinkApplicationConfigurationDescription& WithJobPlanDescription(const char* value) { SetJobPlanDescription(value); return *this;}
private:
CheckpointConfigurationDescription m_checkpointConfigurationDescription;
bool m_checkpointConfigurationDescriptionHasBeenSet;
MonitoringConfigurationDescription m_monitoringConfigurationDescription;
bool m_monitoringConfigurationDescriptionHasBeenSet;
ParallelismConfigurationDescription m_parallelismConfigurationDescription;
bool m_parallelismConfigurationDescriptionHasBeenSet;
Aws::String m_jobPlanDescription;
bool m_jobPlanDescriptionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/CheckpointConfigurationUpdate.h>
#include <aws/kinesisanalyticsv2/model/MonitoringConfigurationUpdate.h>
#include <aws/kinesisanalyticsv2/model/ParallelismConfigurationUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates to the configuration parameters for a Java-based Amazon
* Kinesis Data Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/FlinkApplicationConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API FlinkApplicationConfigurationUpdate
{
public:
FlinkApplicationConfigurationUpdate();
FlinkApplicationConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue);
FlinkApplicationConfigurationUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Describes updates to an application's checkpointing configuration.
* Checkpointing is the process of persisting application state for fault
* tolerance.</p>
*/
inline const CheckpointConfigurationUpdate& GetCheckpointConfigurationUpdate() const{ return m_checkpointConfigurationUpdate; }
/**
* <p>Describes updates to an application's checkpointing configuration.
* Checkpointing is the process of persisting application state for fault
* tolerance.</p>
*/
inline bool CheckpointConfigurationUpdateHasBeenSet() const { return m_checkpointConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to an application's checkpointing configuration.
* Checkpointing is the process of persisting application state for fault
* tolerance.</p>
*/
inline void SetCheckpointConfigurationUpdate(const CheckpointConfigurationUpdate& value) { m_checkpointConfigurationUpdateHasBeenSet = true; m_checkpointConfigurationUpdate = value; }
/**
* <p>Describes updates to an application's checkpointing configuration.
* Checkpointing is the process of persisting application state for fault
* tolerance.</p>
*/
inline void SetCheckpointConfigurationUpdate(CheckpointConfigurationUpdate&& value) { m_checkpointConfigurationUpdateHasBeenSet = true; m_checkpointConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to an application's checkpointing configuration.
* Checkpointing is the process of persisting application state for fault
* tolerance.</p>
*/
inline FlinkApplicationConfigurationUpdate& WithCheckpointConfigurationUpdate(const CheckpointConfigurationUpdate& value) { SetCheckpointConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to an application's checkpointing configuration.
* Checkpointing is the process of persisting application state for fault
* tolerance.</p>
*/
inline FlinkApplicationConfigurationUpdate& WithCheckpointConfigurationUpdate(CheckpointConfigurationUpdate&& value) { SetCheckpointConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to the configuration parameters for Amazon CloudWatch
* logging for an application.</p>
*/
inline const MonitoringConfigurationUpdate& GetMonitoringConfigurationUpdate() const{ return m_monitoringConfigurationUpdate; }
/**
* <p>Describes updates to the configuration parameters for Amazon CloudWatch
* logging for an application.</p>
*/
inline bool MonitoringConfigurationUpdateHasBeenSet() const { return m_monitoringConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to the configuration parameters for Amazon CloudWatch
* logging for an application.</p>
*/
inline void SetMonitoringConfigurationUpdate(const MonitoringConfigurationUpdate& value) { m_monitoringConfigurationUpdateHasBeenSet = true; m_monitoringConfigurationUpdate = value; }
/**
* <p>Describes updates to the configuration parameters for Amazon CloudWatch
* logging for an application.</p>
*/
inline void SetMonitoringConfigurationUpdate(MonitoringConfigurationUpdate&& value) { m_monitoringConfigurationUpdateHasBeenSet = true; m_monitoringConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to the configuration parameters for Amazon CloudWatch
* logging for an application.</p>
*/
inline FlinkApplicationConfigurationUpdate& WithMonitoringConfigurationUpdate(const MonitoringConfigurationUpdate& value) { SetMonitoringConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to the configuration parameters for Amazon CloudWatch
* logging for an application.</p>
*/
inline FlinkApplicationConfigurationUpdate& WithMonitoringConfigurationUpdate(MonitoringConfigurationUpdate&& value) { SetMonitoringConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>Describes updates to the parameters for how an application executes multiple
* tasks simultaneously.</p>
*/
inline const ParallelismConfigurationUpdate& GetParallelismConfigurationUpdate() const{ return m_parallelismConfigurationUpdate; }
/**
* <p>Describes updates to the parameters for how an application executes multiple
* tasks simultaneously.</p>
*/
inline bool ParallelismConfigurationUpdateHasBeenSet() const { return m_parallelismConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to the parameters for how an application executes multiple
* tasks simultaneously.</p>
*/
inline void SetParallelismConfigurationUpdate(const ParallelismConfigurationUpdate& value) { m_parallelismConfigurationUpdateHasBeenSet = true; m_parallelismConfigurationUpdate = value; }
/**
* <p>Describes updates to the parameters for how an application executes multiple
* tasks simultaneously.</p>
*/
inline void SetParallelismConfigurationUpdate(ParallelismConfigurationUpdate&& value) { m_parallelismConfigurationUpdateHasBeenSet = true; m_parallelismConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to the parameters for how an application executes multiple
* tasks simultaneously.</p>
*/
inline FlinkApplicationConfigurationUpdate& WithParallelismConfigurationUpdate(const ParallelismConfigurationUpdate& value) { SetParallelismConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to the parameters for how an application executes multiple
* tasks simultaneously.</p>
*/
inline FlinkApplicationConfigurationUpdate& WithParallelismConfigurationUpdate(ParallelismConfigurationUpdate&& value) { SetParallelismConfigurationUpdate(std::move(value)); return *this;}
private:
CheckpointConfigurationUpdate m_checkpointConfigurationUpdate;
bool m_checkpointConfigurationUpdateHasBeenSet;
MonitoringConfigurationUpdate m_monitoringConfigurationUpdate;
bool m_monitoringConfigurationUpdateHasBeenSet;
ParallelismConfigurationUpdate m_parallelismConfigurationUpdate;
bool m_parallelismConfigurationUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,99 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the starting parameters for an Apache Flink-based Kinesis Data
* Analytics application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/FlinkRunConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API FlinkRunConfiguration
{
public:
FlinkRunConfiguration();
FlinkRunConfiguration(Aws::Utils::Json::JsonView jsonValue);
FlinkRunConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>When restoring from a savepoint, specifies whether the runtime is allowed to
* skip a state that cannot be mapped to the new program. This will happen if the
* program is updated between savepoints to remove stateful parameters, and state
* data in the savepoint no longer corresponds to valid application data. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state">
* Allowing Non-Restored State</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/">Apache Flink
* documentation</a>.</p>
*/
inline bool GetAllowNonRestoredState() const{ return m_allowNonRestoredState; }
/**
* <p>When restoring from a savepoint, specifies whether the runtime is allowed to
* skip a state that cannot be mapped to the new program. This will happen if the
* program is updated between savepoints to remove stateful parameters, and state
* data in the savepoint no longer corresponds to valid application data. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state">
* Allowing Non-Restored State</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/">Apache Flink
* documentation</a>.</p>
*/
inline bool AllowNonRestoredStateHasBeenSet() const { return m_allowNonRestoredStateHasBeenSet; }
/**
* <p>When restoring from a savepoint, specifies whether the runtime is allowed to
* skip a state that cannot be mapped to the new program. This will happen if the
* program is updated between savepoints to remove stateful parameters, and state
* data in the savepoint no longer corresponds to valid application data. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state">
* Allowing Non-Restored State</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/">Apache Flink
* documentation</a>.</p>
*/
inline void SetAllowNonRestoredState(bool value) { m_allowNonRestoredStateHasBeenSet = true; m_allowNonRestoredState = value; }
/**
* <p>When restoring from a savepoint, specifies whether the runtime is allowed to
* skip a state that cannot be mapped to the new program. This will happen if the
* program is updated between savepoints to remove stateful parameters, and state
* data in the savepoint no longer corresponds to valid application data. For more
* information, see <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/ops/state/savepoints.html#allowing-non-restored-state">
* Allowing Non-Restored State</a> in the <a
* href="https://ci.apache.org/projects/flink/flink-docs-release-1.8/">Apache Flink
* documentation</a>.</p>
*/
inline FlinkRunConfiguration& WithAllowNonRestoredState(bool value) { SetAllowNonRestoredState(value); return *this;}
private:
bool m_allowNonRestoredState;
bool m_allowNonRestoredStateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,354 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfiguration.h>
#include <aws/kinesisanalyticsv2/model/KinesisStreamsInput.h>
#include <aws/kinesisanalyticsv2/model/KinesisFirehoseInput.h>
#include <aws/kinesisanalyticsv2/model/InputParallelism.h>
#include <aws/kinesisanalyticsv2/model/SourceSchema.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>When you configure the application input for an SQL-based Amazon Kinesis Data
* Analytics application, you specify the streaming source, the in-application
* stream name that is created, and the mapping between the two. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/Input">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API Input
{
public:
Input();
Input(Aws::Utils::Json::JsonView jsonValue);
Input& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline Input& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline Input& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
/**
* <p>The name prefix to use when creating an in-application stream. Suppose that
* you specify a prefix "<code>MyInApplicationStream</code>." Kinesis Data
* Analytics then creates one or more (as per the <code>InputParallelism</code>
* count you specified) in-application streams with the names
* "<code>MyInApplicationStream_001</code>,"
* "<code>MyInApplicationStream_002</code>," and so on. </p>
*/
inline Input& WithNamePrefix(const char* value) { SetNamePrefix(value); return *this;}
/**
* <p>The <a>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>InputLambdaProcessor</a>. </p>
*/
inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; }
/**
* <p>The <a>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>InputLambdaProcessor</a>. </p>
*/
inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; }
/**
* <p>The <a>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>InputLambdaProcessor</a>. </p>
*/
inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; }
/**
* <p>The <a>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>InputLambdaProcessor</a>. </p>
*/
inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); }
/**
* <p>The <a>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>InputLambdaProcessor</a>. </p>
*/
inline Input& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;}
/**
* <p>The <a>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>InputLambdaProcessor</a>. </p>
*/
inline Input& WithInputProcessingConfiguration(InputProcessingConfiguration&& value) { SetInputProcessingConfiguration(std::move(value)); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis data stream, identifies the
* stream's Amazon Resource Name (ARN). </p>
*/
inline const KinesisStreamsInput& GetKinesisStreamsInput() const{ return m_kinesisStreamsInput; }
/**
* <p>If the streaming source is an Amazon Kinesis data stream, identifies the
* stream's Amazon Resource Name (ARN). </p>
*/
inline bool KinesisStreamsInputHasBeenSet() const { return m_kinesisStreamsInputHasBeenSet; }
/**
* <p>If the streaming source is an Amazon Kinesis data stream, identifies the
* stream's Amazon Resource Name (ARN). </p>
*/
inline void SetKinesisStreamsInput(const KinesisStreamsInput& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = value; }
/**
* <p>If the streaming source is an Amazon Kinesis data stream, identifies the
* stream's Amazon Resource Name (ARN). </p>
*/
inline void SetKinesisStreamsInput(KinesisStreamsInput&& value) { m_kinesisStreamsInputHasBeenSet = true; m_kinesisStreamsInput = std::move(value); }
/**
* <p>If the streaming source is an Amazon Kinesis data stream, identifies the
* stream's Amazon Resource Name (ARN). </p>
*/
inline Input& WithKinesisStreamsInput(const KinesisStreamsInput& value) { SetKinesisStreamsInput(value); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis data stream, identifies the
* stream's Amazon Resource Name (ARN). </p>
*/
inline Input& WithKinesisStreamsInput(KinesisStreamsInput&& value) { SetKinesisStreamsInput(std::move(value)); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis Data Firehose delivery stream,
* identifies the delivery stream's ARN.</p>
*/
inline const KinesisFirehoseInput& GetKinesisFirehoseInput() const{ return m_kinesisFirehoseInput; }
/**
* <p>If the streaming source is an Amazon Kinesis Data Firehose delivery stream,
* identifies the delivery stream's ARN.</p>
*/
inline bool KinesisFirehoseInputHasBeenSet() const { return m_kinesisFirehoseInputHasBeenSet; }
/**
* <p>If the streaming source is an Amazon Kinesis Data Firehose delivery stream,
* identifies the delivery stream's ARN.</p>
*/
inline void SetKinesisFirehoseInput(const KinesisFirehoseInput& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = value; }
/**
* <p>If the streaming source is an Amazon Kinesis Data Firehose delivery stream,
* identifies the delivery stream's ARN.</p>
*/
inline void SetKinesisFirehoseInput(KinesisFirehoseInput&& value) { m_kinesisFirehoseInputHasBeenSet = true; m_kinesisFirehoseInput = std::move(value); }
/**
* <p>If the streaming source is an Amazon Kinesis Data Firehose delivery stream,
* identifies the delivery stream's ARN.</p>
*/
inline Input& WithKinesisFirehoseInput(const KinesisFirehoseInput& value) { SetKinesisFirehoseInput(value); return *this;}
/**
* <p>If the streaming source is an Amazon Kinesis Data Firehose delivery stream,
* identifies the delivery stream's ARN.</p>
*/
inline Input& WithKinesisFirehoseInput(KinesisFirehoseInput&& value) { SetKinesisFirehoseInput(std::move(value)); return *this;}
/**
* <p>Describes the number of in-application streams to create. </p>
*/
inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; }
/**
* <p>Describes the number of in-application streams to create. </p>
*/
inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; }
/**
* <p>Describes the number of in-application streams to create. </p>
*/
inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; }
/**
* <p>Describes the number of in-application streams to create. </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>
*/
inline Input& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;}
/**
* <p>Describes the number of in-application streams to create. </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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,460 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfigurationDescription.h>
#include <aws/kinesisanalyticsv2/model/KinesisStreamsInputDescription.h>
#include <aws/kinesisanalyticsv2/model/KinesisFirehoseInputDescription.h>
#include <aws/kinesisanalyticsv2/model/SourceSchema.h>
#include <aws/kinesisanalyticsv2/model/InputParallelism.h>
#include <aws/kinesisanalyticsv2/model/InputStartingPositionConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the application input configuration for an SQL-based Amazon Kinesis
* Data Analytics application. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API InputDescription
{
public:
InputDescription();
InputDescription(Aws::Utils::Json::JsonView jsonValue);
InputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline InputDescription& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline InputDescription& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>The input ID that is associated with the application input. This is the ID
* that Kinesis Data Analytics assigns to each input configuration that you add to
* your application. </p>
*/
inline InputDescription& WithInputId(const char* value) { SetInputId(value); return *this;}
/**
* <p>The in-application name prefix.</p>
*/
inline const Aws::String& GetNamePrefix() const{ return m_namePrefix; }
/**
* <p>The in-application name prefix.</p>
*/
inline bool NamePrefixHasBeenSet() const { return m_namePrefixHasBeenSet; }
/**
* <p>The in-application name prefix.</p>
*/
inline void SetNamePrefix(const Aws::String& value) { m_namePrefixHasBeenSet = true; m_namePrefix = value; }
/**
* <p>The in-application name prefix.</p>
*/
inline void SetNamePrefix(Aws::String&& value) { m_namePrefixHasBeenSet = true; m_namePrefix = std::move(value); }
/**
* <p>The in-application name prefix.</p>
*/
inline void SetNamePrefix(const char* value) { m_namePrefixHasBeenSet = true; m_namePrefix.assign(value); }
/**
* <p>The in-application name prefix.</p>
*/
inline InputDescription& WithNamePrefix(const Aws::String& value) { SetNamePrefix(value); return *this;}
/**
* <p>The in-application name prefix.</p>
*/
inline InputDescription& WithNamePrefix(Aws::String&& value) { SetNamePrefix(std::move(value)); return *this;}
/**
* <p>The 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 a Kinesis data stream is configured as a streaming source, provides the
* Kinesis data stream's Amazon Resource Name (ARN). </p>
*/
inline const KinesisStreamsInputDescription& GetKinesisStreamsInputDescription() const{ return m_kinesisStreamsInputDescription; }
/**
* <p>If a Kinesis data stream is configured as a streaming source, provides the
* Kinesis data stream's Amazon Resource Name (ARN). </p>
*/
inline bool KinesisStreamsInputDescriptionHasBeenSet() const { return m_kinesisStreamsInputDescriptionHasBeenSet; }
/**
* <p>If a Kinesis data stream is configured as a streaming source, provides the
* Kinesis data stream's Amazon Resource Name (ARN). </p>
*/
inline void SetKinesisStreamsInputDescription(const KinesisStreamsInputDescription& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = value; }
/**
* <p>If a Kinesis data stream is configured as a streaming source, provides the
* Kinesis data stream's Amazon Resource Name (ARN). </p>
*/
inline void SetKinesisStreamsInputDescription(KinesisStreamsInputDescription&& value) { m_kinesisStreamsInputDescriptionHasBeenSet = true; m_kinesisStreamsInputDescription = std::move(value); }
/**
* <p>If a Kinesis data stream is configured as a streaming source, provides the
* Kinesis data stream's Amazon Resource Name (ARN). </p>
*/
inline InputDescription& WithKinesisStreamsInputDescription(const KinesisStreamsInputDescription& value) { SetKinesisStreamsInputDescription(value); return *this;}
/**
* <p>If a Kinesis data stream is configured as a streaming source, provides the
* Kinesis data stream's Amazon Resource Name (ARN). </p>
*/
inline InputDescription& WithKinesisStreamsInputDescription(KinesisStreamsInputDescription&& value) { SetKinesisStreamsInputDescription(std::move(value)); return *this;}
/**
* <p>If a Kinesis Data Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN. </p>
*/
inline const KinesisFirehoseInputDescription& GetKinesisFirehoseInputDescription() const{ return m_kinesisFirehoseInputDescription; }
/**
* <p>If a Kinesis Data Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN. </p>
*/
inline bool KinesisFirehoseInputDescriptionHasBeenSet() const { return m_kinesisFirehoseInputDescriptionHasBeenSet; }
/**
* <p>If a Kinesis Data Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN. </p>
*/
inline void SetKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = value; }
/**
* <p>If a Kinesis Data Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN. </p>
*/
inline void SetKinesisFirehoseInputDescription(KinesisFirehoseInputDescription&& value) { m_kinesisFirehoseInputDescriptionHasBeenSet = true; m_kinesisFirehoseInputDescription = std::move(value); }
/**
* <p>If a Kinesis Data Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN. </p>
*/
inline InputDescription& WithKinesisFirehoseInputDescription(const KinesisFirehoseInputDescription& value) { SetKinesisFirehoseInputDescription(value); return *this;}
/**
* <p>If a Kinesis Data Firehose delivery stream is configured as a streaming
* source, provides the delivery stream's ARN. </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>The point at which the application is configured to read from the input
* stream.</p>
*/
inline const InputStartingPositionConfiguration& GetInputStartingPositionConfiguration() const{ return m_inputStartingPositionConfiguration; }
/**
* <p>The point at which the application is configured to read from the input
* stream.</p>
*/
inline bool InputStartingPositionConfigurationHasBeenSet() const { return m_inputStartingPositionConfigurationHasBeenSet; }
/**
* <p>The 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>The 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>The 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>The 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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,130 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>An object that contains the Amazon Resource Name (ARN) of the AWS Lambda
* function that is used to preprocess records in the stream in an SQL-based Amazon
* Kinesis Data Analytics application. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputLambdaProcessor">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,198 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, an object that
* contains the Amazon Resource Name (ARN) of the AWS Lambda function that is used
* to preprocess records in the stream.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputLambdaProcessorDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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 AWS Lambda 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& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the AWS Lambda 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 ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the AWS Lambda 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 SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the AWS Lambda 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 SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the AWS Lambda 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 SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the AWS Lambda 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 InputLambdaProcessorDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the AWS Lambda 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 InputLambdaProcessorDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the AWS Lambda 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 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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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>
* <p>Provided for backward compatibility. Applications that are created
* with the current API version have an application-level service execution role
* rather than a resource-level role.</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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, represents an
* update to the <a>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/kinesisanalyticsv2-2018-05-23/InputLambdaProcessorUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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 AWS Lambda 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;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,68 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, describes the
* number of in-application streams to create for a given streaming source.
* </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputParallelism">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API InputParallelism
{
public:
InputParallelism();
InputParallelism(Aws::Utils::Json::JsonView jsonValue);
InputParallelism& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The number of in-application streams to create.</p>
*/
inline int GetCount() const{ return m_count; }
/**
* <p>The number of in-application streams to create.</p>
*/
inline bool CountHasBeenSet() const { return m_countHasBeenSet; }
/**
* <p>The number of in-application streams to create.</p>
*/
inline void SetCount(int value) { m_countHasBeenSet = true; m_count = value; }
/**
* <p>The number of in-application streams to create.</p>
*/
inline InputParallelism& WithCount(int value) { SetCount(value); return *this;}
private:
int m_count;
bool m_countHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,71 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, provides updates
* to the parallelism count.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputParallelismUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API InputParallelismUpdate
{
public:
InputParallelismUpdate();
InputParallelismUpdate(Aws::Utils::Json::JsonView jsonValue);
InputParallelismUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The number of in-application streams to create for the specified streaming
* source.</p>
*/
inline int GetCountUpdate() const{ return m_countUpdate; }
/**
* <p>The number of in-application streams to create for the specified streaming
* source.</p>
*/
inline bool CountUpdateHasBeenSet() const { return m_countUpdateHasBeenSet; }
/**
* <p>The 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>The 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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/InputLambdaProcessor.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, describes 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://aws.amazon.com/documentation/lambda/">AWS
* Lambda</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputProcessingConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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>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>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>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>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>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>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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/InputLambdaProcessorDescription.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, provides the
* configuration information about an input processor. Currently, the only input
* processor available is <a
* href="https://aws.amazon.com/documentation/lambda/">AWS
* Lambda</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputProcessingConfigurationDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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>InputLambdaProcessorDescription</a> </p>
*/
inline const InputLambdaProcessorDescription& GetInputLambdaProcessorDescription() const{ return m_inputLambdaProcessorDescription; }
/**
* <p>Provides configuration information about the associated
* <a>InputLambdaProcessorDescription</a> </p>
*/
inline bool InputLambdaProcessorDescriptionHasBeenSet() const { return m_inputLambdaProcessorDescriptionHasBeenSet; }
/**
* <p>Provides configuration information about the associated
* <a>InputLambdaProcessorDescription</a> </p>
*/
inline void SetInputLambdaProcessorDescription(const InputLambdaProcessorDescription& value) { m_inputLambdaProcessorDescriptionHasBeenSet = true; m_inputLambdaProcessorDescription = value; }
/**
* <p>Provides configuration information about the associated
* <a>InputLambdaProcessorDescription</a> </p>
*/
inline void SetInputLambdaProcessorDescription(InputLambdaProcessorDescription&& value) { m_inputLambdaProcessorDescriptionHasBeenSet = true; m_inputLambdaProcessorDescription = std::move(value); }
/**
* <p>Provides configuration information about the associated
* <a>InputLambdaProcessorDescription</a> </p>
*/
inline InputProcessingConfigurationDescription& WithInputLambdaProcessorDescription(const InputLambdaProcessorDescription& value) { SetInputLambdaProcessorDescription(value); return *this;}
/**
* <p>Provides configuration information about the associated
* <a>InputLambdaProcessorDescription</a> </p>
*/
inline InputProcessingConfigurationDescription& WithInputLambdaProcessorDescription(InputLambdaProcessorDescription&& value) { SetInputLambdaProcessorDescription(std::move(value)); return *this;}
private:
InputLambdaProcessorDescription m_inputLambdaProcessorDescription;
bool m_inputLambdaProcessorDescriptionHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,79 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/InputLambdaProcessorUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, describes updates
* to an <a>InputProcessingConfiguration</a>.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputProcessingConfigurationUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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>InputLambdaProcessor</a>.</p>
*/
inline const InputLambdaProcessorUpdate& GetInputLambdaProcessorUpdate() const{ return m_inputLambdaProcessorUpdate; }
/**
* <p>Provides update information for an <a>InputLambdaProcessor</a>.</p>
*/
inline bool InputLambdaProcessorUpdateHasBeenSet() const { return m_inputLambdaProcessorUpdateHasBeenSet; }
/**
* <p>Provides update information for an <a>InputLambdaProcessor</a>.</p>
*/
inline void SetInputLambdaProcessorUpdate(const InputLambdaProcessorUpdate& value) { m_inputLambdaProcessorUpdateHasBeenSet = true; m_inputLambdaProcessorUpdate = value; }
/**
* <p>Provides update information for an <a>InputLambdaProcessor</a>.</p>
*/
inline void SetInputLambdaProcessorUpdate(InputLambdaProcessorUpdate&& value) { m_inputLambdaProcessorUpdateHasBeenSet = true; m_inputLambdaProcessorUpdate = std::move(value); }
/**
* <p>Provides update information for an <a>InputLambdaProcessor</a>.</p>
*/
inline InputProcessingConfigurationUpdate& WithInputLambdaProcessorUpdate(const InputLambdaProcessorUpdate& value) { SetInputLambdaProcessorUpdate(value); return *this;}
/**
* <p>Provides update information for an <a>InputLambdaProcessor</a>.</p>
*/
inline InputProcessingConfigurationUpdate& WithInputLambdaProcessorUpdate(InputLambdaProcessorUpdate&& value) { SetInputLambdaProcessorUpdate(std::move(value)); return *this;}
private:
InputLambdaProcessorUpdate m_inputLambdaProcessorUpdate;
bool m_inputLambdaProcessorUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/RecordFormat.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/kinesisanalyticsv2/model/RecordColumn.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes updates for an SQL-based Amazon Kinesis Data Analytics
* application's input schema.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/InputSchemaUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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 KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace KinesisAnalyticsV2
{
namespace Model
{
enum class InputStartingPosition
{
NOT_SET,
NOW,
TRIM_HORIZON,
LAST_STOPPED_POINT
};
namespace InputStartingPositionMapper
{
AWS_KINESISANALYTICSV2_API InputStartingPosition GetInputStartingPositionForName(const Aws::String& name);
AWS_KINESISANALYTICSV2_API Aws::String GetNameForInputStartingPosition(InputStartingPosition value);
} // namespace InputStartingPositionMapper
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/model/InputStartingPosition.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
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/kinesisanalyticsv2-2018-05-23/InputStartingPositionConfiguration">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_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, and start at the
* request timestamp 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 Data 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, and start at the
* request timestamp 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 Data 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, and start at the
* request timestamp 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 Data 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, and start at the
* request timestamp 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 Data 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, and start at the
* request timestamp 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 Data 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, and start at the
* request timestamp 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 Data 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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,347 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputProcessingConfigurationUpdate.h>
#include <aws/kinesisanalyticsv2/model/KinesisStreamsInputUpdate.h>
#include <aws/kinesisanalyticsv2/model/KinesisFirehoseInputUpdate.h>
#include <aws/kinesisanalyticsv2/model/InputSchemaUpdate.h>
#include <aws/kinesisanalyticsv2/model/InputParallelismUpdate.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, describes updates
* to 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/kinesisanalyticsv2-2018-05-23/InputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API InputUpdate
{
public:
InputUpdate();
InputUpdate(Aws::Utils::Json::JsonView jsonValue);
InputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The input ID of the application input to be updated.</p>
*/
inline const Aws::String& GetInputId() const{ return m_inputId; }
/**
* <p>The input ID of the application input to be updated.</p>
*/
inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
/**
* <p>The input ID of the application input to be updated.</p>
*/
inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
/**
* <p>The 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>The input ID of the application input to be updated.</p>
*/
inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
/**
* <p>The input ID of the application input to be updated.</p>
*/
inline InputUpdate& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
/**
* <p>The input ID of the application input to be updated.</p>
*/
inline InputUpdate& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
/**
* <p>The input ID of the application input to be updated.</p>
*/
inline InputUpdate& WithInputId(const char* value) { SetInputId(value); return *this;}
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline const Aws::String& GetNamePrefixUpdate() const{ return m_namePrefixUpdate; }
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline bool NamePrefixUpdateHasBeenSet() const { return m_namePrefixUpdateHasBeenSet; }
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline void SetNamePrefixUpdate(const Aws::String& value) { m_namePrefixUpdateHasBeenSet = true; m_namePrefixUpdate = value; }
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline void SetNamePrefixUpdate(Aws::String&& value) { m_namePrefixUpdateHasBeenSet = true; m_namePrefixUpdate = std::move(value); }
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline void SetNamePrefixUpdate(const char* value) { m_namePrefixUpdateHasBeenSet = true; m_namePrefixUpdate.assign(value); }
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline InputUpdate& WithNamePrefixUpdate(const Aws::String& value) { SetNamePrefixUpdate(value); return *this;}
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline InputUpdate& WithNamePrefixUpdate(Aws::String&& value) { SetNamePrefixUpdate(std::move(value)); return *this;}
/**
* <p>The name prefix for in-application streams that Kinesis Data Analytics
* creates for the specific streaming source.</p>
*/
inline InputUpdate& WithNamePrefixUpdate(const char* value) { SetNamePrefixUpdate(value); return *this;}
/**
* <p>Describes updates to an <a>InputProcessingConfiguration</a>.</p>
*/
inline const InputProcessingConfigurationUpdate& GetInputProcessingConfigurationUpdate() const{ return m_inputProcessingConfigurationUpdate; }
/**
* <p>Describes updates to an <a>InputProcessingConfiguration</a>.</p>
*/
inline bool InputProcessingConfigurationUpdateHasBeenSet() const { return m_inputProcessingConfigurationUpdateHasBeenSet; }
/**
* <p>Describes updates to an <a>InputProcessingConfiguration</a>.</p>
*/
inline void SetInputProcessingConfigurationUpdate(const InputProcessingConfigurationUpdate& value) { m_inputProcessingConfigurationUpdateHasBeenSet = true; m_inputProcessingConfigurationUpdate = value; }
/**
* <p>Describes updates to an <a>InputProcessingConfiguration</a>.</p>
*/
inline void SetInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdate&& value) { m_inputProcessingConfigurationUpdateHasBeenSet = true; m_inputProcessingConfigurationUpdate = std::move(value); }
/**
* <p>Describes updates to an <a>InputProcessingConfiguration</a>.</p>
*/
inline InputUpdate& WithInputProcessingConfigurationUpdate(const InputProcessingConfigurationUpdate& value) { SetInputProcessingConfigurationUpdate(value); return *this;}
/**
* <p>Describes updates to an <a>InputProcessingConfiguration</a>.</p>
*/
inline InputUpdate& WithInputProcessingConfigurationUpdate(InputProcessingConfigurationUpdate&& value) { SetInputProcessingConfigurationUpdate(std::move(value)); return *this;}
/**
* <p>If a Kinesis data stream is the streaming source to be updated, provides an
* updated stream Amazon Resource Name (ARN).</p>
*/
inline const KinesisStreamsInputUpdate& GetKinesisStreamsInputUpdate() const{ return m_kinesisStreamsInputUpdate; }
/**
* <p>If a Kinesis data stream is the streaming source to be updated, provides an
* updated stream Amazon Resource Name (ARN).</p>
*/
inline bool KinesisStreamsInputUpdateHasBeenSet() const { return m_kinesisStreamsInputUpdateHasBeenSet; }
/**
* <p>If a Kinesis data stream is the streaming source to be updated, provides an
* updated stream Amazon Resource Name (ARN).</p>
*/
inline void SetKinesisStreamsInputUpdate(const KinesisStreamsInputUpdate& value) { m_kinesisStreamsInputUpdateHasBeenSet = true; m_kinesisStreamsInputUpdate = value; }
/**
* <p>If a Kinesis data stream is the streaming source to be updated, provides an
* updated stream Amazon Resource Name (ARN).</p>
*/
inline void SetKinesisStreamsInputUpdate(KinesisStreamsInputUpdate&& value) { m_kinesisStreamsInputUpdateHasBeenSet = true; m_kinesisStreamsInputUpdate = std::move(value); }
/**
* <p>If a Kinesis data stream is the streaming source to be updated, provides an
* updated stream Amazon Resource Name (ARN).</p>
*/
inline InputUpdate& WithKinesisStreamsInputUpdate(const KinesisStreamsInputUpdate& value) { SetKinesisStreamsInputUpdate(value); return *this;}
/**
* <p>If a Kinesis data stream is the streaming source to be updated, provides an
* updated stream Amazon Resource Name (ARN).</p>
*/
inline InputUpdate& WithKinesisStreamsInputUpdate(KinesisStreamsInputUpdate&& value) { SetKinesisStreamsInputUpdate(std::move(value)); return *this;}
/**
* <p>If a Kinesis Data Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN.</p>
*/
inline const KinesisFirehoseInputUpdate& GetKinesisFirehoseInputUpdate() const{ return m_kinesisFirehoseInputUpdate; }
/**
* <p>If a Kinesis Data Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN.</p>
*/
inline bool KinesisFirehoseInputUpdateHasBeenSet() const { return m_kinesisFirehoseInputUpdateHasBeenSet; }
/**
* <p>If a Kinesis Data Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN.</p>
*/
inline void SetKinesisFirehoseInputUpdate(const KinesisFirehoseInputUpdate& value) { m_kinesisFirehoseInputUpdateHasBeenSet = true; m_kinesisFirehoseInputUpdate = value; }
/**
* <p>If a Kinesis Data Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN.</p>
*/
inline void SetKinesisFirehoseInputUpdate(KinesisFirehoseInputUpdate&& value) { m_kinesisFirehoseInputUpdateHasBeenSet = true; m_kinesisFirehoseInputUpdate = std::move(value); }
/**
* <p>If a Kinesis Data Firehose delivery stream is the streaming source to be
* updated, provides an updated stream ARN.</p>
*/
inline InputUpdate& WithKinesisFirehoseInputUpdate(const KinesisFirehoseInputUpdate& value) { SetKinesisFirehoseInputUpdate(value); return *this;}
/**
* <p>If a Kinesis Data Firehose delivery stream is the streaming source to be
* updated, provides an updated stream 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 of in-application streams
* Kinesis Data Analytics creates for the specific streaming source).</p>
*/
inline const InputParallelismUpdate& GetInputParallelismUpdate() const{ return m_inputParallelismUpdate; }
/**
* <p>Describes the parallelism updates (the number of in-application streams
* Kinesis Data Analytics creates for the specific streaming source).</p>
*/
inline bool InputParallelismUpdateHasBeenSet() const { return m_inputParallelismUpdateHasBeenSet; }
/**
* <p>Describes the parallelism updates (the number of in-application streams
* Kinesis Data 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 of in-application streams
* Kinesis Data 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 of in-application streams
* Kinesis Data 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 of in-application streams
* Kinesis Data 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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, 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/kinesisanalyticsv2-2018-05-23/JSONMappingParameters">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API JSONMappingParameters
{
public:
JSONMappingParameters();
JSONMappingParameters(Aws::Utils::Json::JsonView jsonValue);
JSONMappingParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The path to the top-level parent that contains the records.</p>
*/
inline const Aws::String& GetRecordRowPath() const{ return m_recordRowPath; }
/**
* <p>The path to the top-level parent that contains the records.</p>
*/
inline bool RecordRowPathHasBeenSet() const { return m_recordRowPathHasBeenSet; }
/**
* <p>The 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>The 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>The 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>The path to the top-level parent that contains the records.</p>
*/
inline JSONMappingParameters& WithRecordRowPath(const Aws::String& value) { SetRecordRowPath(value); return *this;}
/**
* <p>The path to the top-level parent that contains the records.</p>
*/
inline JSONMappingParameters& WithRecordRowPath(Aws::String&& value) { SetRecordRowPath(std::move(value)); return *this;}
/**
* <p>The 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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, identifies a
* Kinesis Data Firehose delivery stream as the streaming source. You provide the
* delivery stream's Amazon Resource Name (ARN).</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisFirehoseInput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisFirehoseInput
{
public:
KinesisFirehoseInput();
KinesisFirehoseInput(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseInput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseInput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseInput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseInput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>Describes the Amazon Kinesis Data 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/kinesisanalyticsv2-2018-05-23/KinesisFirehoseInputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisFirehoseInputDescription
{
public:
KinesisFirehoseInputDescription();
KinesisFirehoseInputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseInputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseInputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseInputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseInputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline KinesisFirehoseInputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline KinesisFirehoseInputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics assumes to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, when updating
* application input configuration, provides information about a Kinesis Data
* Firehose delivery stream as the streaming source.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisFirehoseInputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisFirehoseInputUpdate
{
public:
KinesisFirehoseInputUpdate();
KinesisFirehoseInputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseInputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline KinesisFirehoseInputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline KinesisFirehoseInputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the input delivery stream to read.</p>
*/
inline KinesisFirehoseInputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,91 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, when configuring
* application output, identifies a Kinesis Data Firehose delivery stream as the
* destination. You provide the stream Amazon Resource Name (ARN) of the delivery
* stream. </p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisFirehoseOutput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisFirehoseOutput
{
public:
KinesisFirehoseOutput();
KinesisFirehoseOutput(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline KinesisFirehoseOutput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline KinesisFirehoseOutput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the destination delivery stream to write to.</p>
*/
inline KinesisFirehoseOutput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application's output,
* describes the Kinesis Data Firehose delivery stream that is configured as its
* destination.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisFirehoseOutputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisFirehoseOutputDescription
{
public:
KinesisFirehoseOutputDescription();
KinesisFirehoseOutputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseOutputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream.</p>
*/
inline KinesisFirehoseOutputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline KinesisFirehoseOutputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline KinesisFirehoseOutputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,91 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, when updating an
* output configuration using the <a>UpdateApplication</a> operation, provides
* information about a Kinesis Data Firehose delivery stream that is configured as
* the destination.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisFirehoseOutputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisFirehoseOutputUpdate
{
public:
KinesisFirehoseOutputUpdate();
KinesisFirehoseOutputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisFirehoseOutputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline KinesisFirehoseOutputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline KinesisFirehoseOutputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the delivery stream to write to. </p>
*/
inline KinesisFirehoseOutputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p> Identifies an Amazon Kinesis data stream as the streaming source. You
* provide the stream's Amazon Resource Name (ARN).</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/KinesisStreamsInput">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisStreamsInput
{
public:
KinesisStreamsInput();
KinesisStreamsInput(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsInput& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline KinesisStreamsInput& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline KinesisStreamsInput& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The ARN of the input Kinesis data stream to read.</p>
*/
inline KinesisStreamsInput& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
private:
Aws::String m_resourceARN;
bool m_resourceARNHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // 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/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>For an SQL-based Amazon Kinesis Data Analytics application, describes the
* Kinesis data 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/kinesisanalyticsv2-2018-05-23/KinesisStreamsInputDescription">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisStreamsInputDescription
{
public:
KinesisStreamsInputDescription();
KinesisStreamsInputDescription(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsInputDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline const Aws::String& GetResourceARN() const{ return m_resourceARN; }
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline bool ResourceARNHasBeenSet() const { return m_resourceARNHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline void SetResourceARN(const Aws::String& value) { m_resourceARNHasBeenSet = true; m_resourceARN = value; }
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline void SetResourceARN(Aws::String&& value) { m_resourceARNHasBeenSet = true; m_resourceARN = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline void SetResourceARN(const char* value) { m_resourceARNHasBeenSet = true; m_resourceARN.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline KinesisStreamsInputDescription& WithResourceARN(const Aws::String& value) { SetResourceARN(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline KinesisStreamsInputDescription& WithResourceARN(Aws::String&& value) { SetResourceARN(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the Kinesis data stream.</p>
*/
inline KinesisStreamsInputDescription& WithResourceARN(const char* value) { SetResourceARN(value); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline KinesisStreamsInputDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</p>
*/
inline KinesisStreamsInputDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
/**
* <p>The ARN of the IAM role that Kinesis Data Analytics can assume to access the
* stream.</p> <p>Provided for backward compatibility. Applications that are
* created with the current API version have an application-level service execution
* role rather than a resource-level role.</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 KinesisAnalyticsV2
} // namespace Aws

View File

@@ -0,0 +1,90 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace KinesisAnalyticsV2
{
namespace Model
{
/**
* <p>When you update the input configuration for an SQL-based Amazon Kinesis Data
* Analytics application, 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/kinesisanalyticsv2-2018-05-23/KinesisStreamsInputUpdate">AWS
* API Reference</a></p>
*/
class AWS_KINESISANALYTICSV2_API KinesisStreamsInputUpdate
{
public:
KinesisStreamsInputUpdate();
KinesisStreamsInputUpdate(Aws::Utils::Json::JsonView jsonValue);
KinesisStreamsInputUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline const Aws::String& GetResourceARNUpdate() const{ return m_resourceARNUpdate; }
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline bool ResourceARNUpdateHasBeenSet() const { return m_resourceARNUpdateHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline void SetResourceARNUpdate(const Aws::String& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = value; }
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline void SetResourceARNUpdate(Aws::String&& value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline void SetResourceARNUpdate(const char* value) { m_resourceARNUpdateHasBeenSet = true; m_resourceARNUpdate.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline KinesisStreamsInputUpdate& WithResourceARNUpdate(const Aws::String& value) { SetResourceARNUpdate(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline KinesisStreamsInputUpdate& WithResourceARNUpdate(Aws::String&& value) { SetResourceARNUpdate(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the input Kinesis data stream to read.</p>
*/
inline KinesisStreamsInputUpdate& WithResourceARNUpdate(const char* value) { SetResourceARNUpdate(value); return *this;}
private:
Aws::String m_resourceARNUpdate;
bool m_resourceARNUpdateHasBeenSet;
};
} // namespace Model
} // namespace KinesisAnalyticsV2
} // namespace Aws

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