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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/Region.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace IoTAnalyticsEndpoint
{
AWS_IOTANALYTICS_API Aws::String ForRegion(const Aws::String& regionName, bool useDualStack = false);
} // namespace IoTAnalyticsEndpoint
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_IOTANALYTICS_API IoTAnalyticsErrorMarshaller : 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,74 @@
/**
* 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/iotanalytics/IoTAnalytics_EXPORTS.h>
namespace Aws
{
namespace IoTAnalytics
{
enum class IoTAnalyticsErrors
{
//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,
///////////////////////////////////////////////////////////////////////////////////////////
INVALID_REQUEST= static_cast<int>(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
LIMIT_EXCEEDED,
RESOURCE_ALREADY_EXISTS
};
class AWS_IOTANALYTICS_API IoTAnalyticsError : public Aws::Client::AWSError<IoTAnalyticsErrors>
{
public:
IoTAnalyticsError() {}
IoTAnalyticsError(const Aws::Client::AWSError<Aws::Client::CoreErrors>& rhs) : Aws::Client::AWSError<IoTAnalyticsErrors>(rhs) {}
IoTAnalyticsError(Aws::Client::AWSError<Aws::Client::CoreErrors>&& rhs) : Aws::Client::AWSError<IoTAnalyticsErrors>(rhs) {}
IoTAnalyticsError(const Aws::Client::AWSError<IoTAnalyticsErrors>& rhs) : Aws::Client::AWSError<IoTAnalyticsErrors>(rhs) {}
IoTAnalyticsError(Aws::Client::AWSError<IoTAnalyticsErrors>&& rhs) : Aws::Client::AWSError<IoTAnalyticsErrors>(rhs) {}
template <typename T>
T GetModeledError();
};
namespace IoTAnalyticsErrorMapper
{
AWS_IOTANALYTICS_API Aws::Client::AWSError<Aws::Client::CoreErrors> GetErrorForName(const char* errorName);
}
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/AmazonSerializableWebServiceRequest.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <aws/core/http/HttpRequest.h>
namespace Aws
{
namespace IoTAnalytics
{
class AWS_IOTANALYTICS_API IoTAnalyticsRequest : public Aws::AmazonSerializableWebServiceRequest
{
public:
virtual ~IoTAnalyticsRequest () {}
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, "2017-11-27"));
return headers;
}
protected:
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); }
};
} // namespace IoTAnalytics
} // 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_IOTANALYTICS_EXPORTS
#define AWS_IOTANALYTICS_API __declspec(dllexport)
#else
#define AWS_IOTANALYTICS_API __declspec(dllimport)
#endif /* AWS_IOTANALYTICS_EXPORTS */
#else
#define AWS_IOTANALYTICS_API
#endif // USE_IMPORT_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_IOTANALYTICS_API
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)

View File

@@ -0,0 +1,242 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that adds other attributes based on existing attributes in the
* message.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/AddAttributesActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API AddAttributesActivity
{
public:
AddAttributesActivity();
AddAttributesActivity(Aws::Utils::Json::JsonView jsonValue);
AddAttributesActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline AddAttributesActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline AddAttributesActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'addAttributes' activity.</p>
*/
inline AddAttributesActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& WithAttributes(const Aws::Map<Aws::String, Aws::String>& value) { SetAttributes(value); return *this;}
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
/**
* <p>A list of 1-50 "AttributeNameMapping" objects that map an existing attribute
* to a new attribute.</p> <p>The existing attributes remain in the message,
* so if you want to remove the originals, use "RemoveAttributeActivity".</p>
*
*/
inline AddAttributesActivity& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline AddAttributesActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline AddAttributesActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline AddAttributesActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::Map<Aws::String, Aws::String> m_attributes;
bool m_attributesHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,184 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Contains informations about errors.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/BatchPutMessageErrorEntry">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API BatchPutMessageErrorEntry
{
public:
BatchPutMessageErrorEntry();
BatchPutMessageErrorEntry(Aws::Utils::Json::JsonView jsonValue);
BatchPutMessageErrorEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline const Aws::String& GetMessageId() const{ return m_messageId; }
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline BatchPutMessageErrorEntry& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline BatchPutMessageErrorEntry& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
/**
* <p>The ID of the message that caused the error. (See the value corresponding to
* the "messageId" key in the message object.)</p>
*/
inline BatchPutMessageErrorEntry& WithMessageId(const char* value) { SetMessageId(value); return *this;}
/**
* <p>The code associated with the error.</p>
*/
inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
/**
* <p>The code associated with the error.</p>
*/
inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
/**
* <p>The code associated with the error.</p>
*/
inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
/**
* <p>The code associated with the error.</p>
*/
inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
/**
* <p>The code associated with the error.</p>
*/
inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
/**
* <p>The code associated with the error.</p>
*/
inline BatchPutMessageErrorEntry& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
/**
* <p>The code associated with the error.</p>
*/
inline BatchPutMessageErrorEntry& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
/**
* <p>The code associated with the error.</p>
*/
inline BatchPutMessageErrorEntry& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
/**
* <p>The message associated with the error.</p>
*/
inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
/**
* <p>The message associated with the error.</p>
*/
inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
/**
* <p>The message associated with the error.</p>
*/
inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
/**
* <p>The message associated with the error.</p>
*/
inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
/**
* <p>The message associated with the error.</p>
*/
inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
/**
* <p>The message associated with the error.</p>
*/
inline BatchPutMessageErrorEntry& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
/**
* <p>The message associated with the error.</p>
*/
inline BatchPutMessageErrorEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
/**
* <p>The message associated with the error.</p>
*/
inline BatchPutMessageErrorEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
private:
Aws::String m_messageId;
bool m_messageIdHasBeenSet;
Aws::String m_errorCode;
bool m_errorCodeHasBeenSet;
Aws::String m_errorMessage;
bool m_errorMessageHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,225 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/Message.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API BatchPutMessageRequest : public IoTAnalyticsRequest
{
public:
BatchPutMessageRequest();
// 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 "BatchPutMessage"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline BatchPutMessageRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline BatchPutMessageRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel where the messages are sent.</p>
*/
inline BatchPutMessageRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline const Aws::Vector<Message>& GetMessages() const{ return m_messages; }
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline bool MessagesHasBeenSet() const { return m_messagesHasBeenSet; }
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline void SetMessages(const Aws::Vector<Message>& value) { m_messagesHasBeenSet = true; m_messages = value; }
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline void SetMessages(Aws::Vector<Message>&& value) { m_messagesHasBeenSet = true; m_messages = std::move(value); }
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline BatchPutMessageRequest& WithMessages(const Aws::Vector<Message>& value) { SetMessages(value); return *this;}
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline BatchPutMessageRequest& WithMessages(Aws::Vector<Message>&& value) { SetMessages(std::move(value)); return *this;}
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline BatchPutMessageRequest& AddMessages(const Message& value) { m_messagesHasBeenSet = true; m_messages.push_back(value); return *this; }
/**
* <p>The list of messages to be sent. Each message has format: '{ "messageId":
* "string", "payload": "string"}'.</p> <p>Note that the field names of message
* payloads (data) that you send to AWS IoT Analytics:</p> <ul> <li> <p>Must
* contain only alphanumeric characters and undescores (_); no other special
* characters are allowed.</p> </li> <li> <p>Must begin with an alphabetic
* character or single underscore (_).</p> </li> <li> <p>Cannot contain hyphens
* (-).</p> </li> <li> <p>In regular expression terms:
* "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". </p> </li> <li> <p>Cannot
* be greater than 255 characters.</p> </li> <li> <p>Are case-insensitive. (Fields
* named "foo" and "FOO" in the same payload are considered duplicates.)</p> </li>
* </ul> <p>For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but
* {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message
* payloads. </p>
*/
inline BatchPutMessageRequest& AddMessages(Message&& value) { m_messagesHasBeenSet = true; m_messages.push_back(std::move(value)); return *this; }
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
Aws::Vector<Message> m_messages;
bool m_messagesHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,85 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/BatchPutMessageErrorEntry.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API BatchPutMessageResult
{
public:
BatchPutMessageResult();
BatchPutMessageResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
BatchPutMessageResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline const Aws::Vector<BatchPutMessageErrorEntry>& GetBatchPutMessageErrorEntries() const{ return m_batchPutMessageErrorEntries; }
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline void SetBatchPutMessageErrorEntries(const Aws::Vector<BatchPutMessageErrorEntry>& value) { m_batchPutMessageErrorEntries = value; }
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline void SetBatchPutMessageErrorEntries(Aws::Vector<BatchPutMessageErrorEntry>&& value) { m_batchPutMessageErrorEntries = std::move(value); }
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline BatchPutMessageResult& WithBatchPutMessageErrorEntries(const Aws::Vector<BatchPutMessageErrorEntry>& value) { SetBatchPutMessageErrorEntries(value); return *this;}
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline BatchPutMessageResult& WithBatchPutMessageErrorEntries(Aws::Vector<BatchPutMessageErrorEntry>&& value) { SetBatchPutMessageErrorEntries(std::move(value)); return *this;}
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline BatchPutMessageResult& AddBatchPutMessageErrorEntries(const BatchPutMessageErrorEntry& value) { m_batchPutMessageErrorEntries.push_back(value); return *this; }
/**
* <p>A list of any errors encountered when sending the messages to the
* channel.</p>
*/
inline BatchPutMessageResult& AddBatchPutMessageErrorEntries(BatchPutMessageErrorEntry&& value) { m_batchPutMessageErrorEntries.push_back(std::move(value)); return *this; }
private:
Aws::Vector<BatchPutMessageErrorEntry> m_batchPutMessageErrorEntries;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API CancelPipelineReprocessingRequest : public IoTAnalyticsRequest
{
public:
CancelPipelineReprocessingRequest();
// 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 "CancelPipelineReprocessing"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline CancelPipelineReprocessingRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline CancelPipelineReprocessingRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
/**
* <p>The name of pipeline for which data reprocessing is canceled.</p>
*/
inline CancelPipelineReprocessingRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline const Aws::String& GetReprocessingId() const{ return m_reprocessingId; }
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline bool ReprocessingIdHasBeenSet() const { return m_reprocessingIdHasBeenSet; }
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline void SetReprocessingId(const Aws::String& value) { m_reprocessingIdHasBeenSet = true; m_reprocessingId = value; }
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline void SetReprocessingId(Aws::String&& value) { m_reprocessingIdHasBeenSet = true; m_reprocessingId = std::move(value); }
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline void SetReprocessingId(const char* value) { m_reprocessingIdHasBeenSet = true; m_reprocessingId.assign(value); }
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline CancelPipelineReprocessingRequest& WithReprocessingId(const Aws::String& value) { SetReprocessingId(value); return *this;}
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline CancelPipelineReprocessingRequest& WithReprocessingId(Aws::String&& value) { SetReprocessingId(std::move(value)); return *this;}
/**
* <p>The ID of the reprocessing task (returned by
* "StartPipelineReprocessing").</p>
*/
inline CancelPipelineReprocessingRequest& WithReprocessingId(const char* value) { SetReprocessingId(value); return *this;}
private:
Aws::String m_pipelineName;
bool m_pipelineNameHasBeenSet;
Aws::String m_reprocessingId;
bool m_reprocessingIdHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API CancelPipelineReprocessingResult
{
public:
CancelPipelineReprocessingResult();
CancelPipelineReprocessingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CancelPipelineReprocessingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,320 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/ChannelStorage.h>
#include <aws/iotanalytics/model/ChannelStatus.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>A collection of data from an MQTT topic. Channels archive the raw,
* unprocessed messages before publishing the data to a pipeline.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/Channel">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API Channel
{
public:
Channel();
Channel(Aws::Utils::Json::JsonView jsonValue);
Channel& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the channel.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the channel.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the channel.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the channel.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the channel.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the channel.</p>
*/
inline Channel& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline Channel& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline Channel& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline const ChannelStorage& GetStorage() const{ return m_storage; }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline void SetStorage(const ChannelStorage& value) { m_storageHasBeenSet = true; m_storage = value; }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline void SetStorage(ChannelStorage&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline Channel& WithStorage(const ChannelStorage& value) { SetStorage(value); return *this;}
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline Channel& WithStorage(ChannelStorage&& value) { SetStorage(std::move(value)); return *this;}
/**
* <p>The ARN of the channel.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN of the channel.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The ARN of the channel.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The ARN of the channel.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The ARN of the channel.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The ARN of the channel.</p>
*/
inline Channel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN of the channel.</p>
*/
inline Channel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the channel.</p>
*/
inline Channel& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of the channel.</p>
*/
inline const ChannelStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the channel.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the channel.</p>
*/
inline void SetStatus(const ChannelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the channel.</p>
*/
inline void SetStatus(ChannelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the channel.</p>
*/
inline Channel& WithStatus(const ChannelStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the channel.</p>
*/
inline Channel& WithStatus(ChannelStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline Channel& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline Channel& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
/**
* <p>When the channel was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the channel was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>When the channel was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>When the channel was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>When the channel was created.</p>
*/
inline Channel& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the channel was created.</p>
*/
inline Channel& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>When the channel was last updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>When the channel was last updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>When the channel was last updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>When the channel was last updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>When the channel was last updated.</p>
*/
inline Channel& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>When the channel was last updated.</p>
*/
inline Channel& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
ChannelStorage m_storage;
bool m_storageHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
ChannelStatus m_status;
bool m_statusHasBeenSet;
RetentionPeriod m_retentionPeriod;
bool m_retentionPeriodHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,177 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>The activity that determines the source of the messages to be
* processed.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ChannelActivity
{
public:
ChannelActivity();
ChannelActivity(Aws::Utils::Json::JsonView jsonValue);
ChannelActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'channel' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'channel' activity.</p>
*/
inline ChannelActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'channel' activity.</p>
*/
inline ChannelActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'channel' activity.</p>
*/
inline ChannelActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline ChannelActivity& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline ChannelActivity& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel from which the messages are processed.</p>
*/
inline ChannelActivity& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline ChannelActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline ChannelActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline ChannelActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/EstimatedResourceSize.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Statistics information about the channel.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelStatistics">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ChannelStatistics
{
public:
ChannelStatistics();
ChannelStatistics(Aws::Utils::Json::JsonView jsonValue);
ChannelStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The estimated size of the channel.</p>
*/
inline const EstimatedResourceSize& GetSize() const{ return m_size; }
/**
* <p>The estimated size of the channel.</p>
*/
inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
/**
* <p>The estimated size of the channel.</p>
*/
inline void SetSize(const EstimatedResourceSize& value) { m_sizeHasBeenSet = true; m_size = value; }
/**
* <p>The estimated size of the channel.</p>
*/
inline void SetSize(EstimatedResourceSize&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); }
/**
* <p>The estimated size of the channel.</p>
*/
inline ChannelStatistics& WithSize(const EstimatedResourceSize& value) { SetSize(value); return *this;}
/**
* <p>The estimated size of the channel.</p>
*/
inline ChannelStatistics& WithSize(EstimatedResourceSize&& value) { SetSize(std::move(value)); return *this;}
private:
EstimatedResourceSize m_size;
bool m_sizeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class ChannelStatus
{
NOT_SET,
CREATING,
ACTIVE,
DELETING
};
namespace ChannelStatusMapper
{
AWS_IOTANALYTICS_API ChannelStatus GetChannelStatusForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForChannelStatus(ChannelStatus value);
} // namespace ChannelStatusMapper
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,146 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/ServiceManagedChannelS3Storage.h>
#include <aws/iotanalytics/model/CustomerManagedChannelS3Storage.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the
* channel.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelStorage">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ChannelStorage
{
public:
ChannelStorage();
ChannelStorage(Aws::Utils::Json::JsonView jsonValue);
ChannelStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Use this to store channel data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the channel.</p>
*/
inline const ServiceManagedChannelS3Storage& GetServiceManagedS3() const{ return m_serviceManagedS3; }
/**
* <p>Use this to store channel data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the channel.</p>
*/
inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
/**
* <p>Use this to store channel data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the channel.</p>
*/
inline void SetServiceManagedS3(const ServiceManagedChannelS3Storage& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = value; }
/**
* <p>Use this to store channel data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the channel.</p>
*/
inline void SetServiceManagedS3(ServiceManagedChannelS3Storage&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::move(value); }
/**
* <p>Use this to store channel data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the channel.</p>
*/
inline ChannelStorage& WithServiceManagedS3(const ServiceManagedChannelS3Storage& value) { SetServiceManagedS3(value); return *this;}
/**
* <p>Use this to store channel data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the channel.</p>
*/
inline ChannelStorage& WithServiceManagedS3(ServiceManagedChannelS3Storage&& value) { SetServiceManagedS3(std::move(value)); return *this;}
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p>
*/
inline const CustomerManagedChannelS3Storage& GetCustomerManagedS3() const{ return m_customerManagedS3; }
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p>
*/
inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p>
*/
inline void SetCustomerManagedS3(const CustomerManagedChannelS3Storage& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = value; }
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p>
*/
inline void SetCustomerManagedS3(CustomerManagedChannelS3Storage&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::move(value); }
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p>
*/
inline ChannelStorage& WithCustomerManagedS3(const CustomerManagedChannelS3Storage& value) { SetCustomerManagedS3(value); return *this;}
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p>
*/
inline ChannelStorage& WithCustomerManagedS3(CustomerManagedChannelS3Storage&& value) { SetCustomerManagedS3(std::move(value)); return *this;}
private:
ServiceManagedChannelS3Storage m_serviceManagedS3;
bool m_serviceManagedS3HasBeenSet;
CustomerManagedChannelS3Storage m_customerManagedS3;
bool m_customerManagedS3HasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,119 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/ServiceManagedChannelS3StorageSummary.h>
#include <aws/iotanalytics/model/CustomerManagedChannelS3StorageSummary.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Where channel data is stored.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelStorageSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ChannelStorageSummary
{
public:
ChannelStorageSummary();
ChannelStorageSummary(Aws::Utils::Json::JsonView jsonValue);
ChannelStorageSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Used to store channel data in an S3 bucket managed by the AWS IoT Analytics
* service.</p>
*/
inline const ServiceManagedChannelS3StorageSummary& GetServiceManagedS3() const{ return m_serviceManagedS3; }
/**
* <p>Used to store channel data in an S3 bucket managed by the AWS IoT Analytics
* service.</p>
*/
inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
/**
* <p>Used to store channel data in an S3 bucket managed by the AWS IoT Analytics
* service.</p>
*/
inline void SetServiceManagedS3(const ServiceManagedChannelS3StorageSummary& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = value; }
/**
* <p>Used to store channel data in an S3 bucket managed by the AWS IoT Analytics
* service.</p>
*/
inline void SetServiceManagedS3(ServiceManagedChannelS3StorageSummary&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::move(value); }
/**
* <p>Used to store channel data in an S3 bucket managed by the AWS IoT Analytics
* service.</p>
*/
inline ChannelStorageSummary& WithServiceManagedS3(const ServiceManagedChannelS3StorageSummary& value) { SetServiceManagedS3(value); return *this;}
/**
* <p>Used to store channel data in an S3 bucket managed by the AWS IoT Analytics
* service.</p>
*/
inline ChannelStorageSummary& WithServiceManagedS3(ServiceManagedChannelS3StorageSummary&& value) { SetServiceManagedS3(std::move(value)); return *this;}
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p>
*/
inline const CustomerManagedChannelS3StorageSummary& GetCustomerManagedS3() const{ return m_customerManagedS3; }
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p>
*/
inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p>
*/
inline void SetCustomerManagedS3(const CustomerManagedChannelS3StorageSummary& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = value; }
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p>
*/
inline void SetCustomerManagedS3(CustomerManagedChannelS3StorageSummary&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::move(value); }
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p>
*/
inline ChannelStorageSummary& WithCustomerManagedS3(const CustomerManagedChannelS3StorageSummary& value) { SetCustomerManagedS3(value); return *this;}
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p>
*/
inline ChannelStorageSummary& WithCustomerManagedS3(CustomerManagedChannelS3StorageSummary&& value) { SetCustomerManagedS3(std::move(value)); return *this;}
private:
ServiceManagedChannelS3StorageSummary m_serviceManagedS3;
bool m_serviceManagedS3HasBeenSet;
CustomerManagedChannelS3StorageSummary m_customerManagedS3;
bool m_customerManagedS3HasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,227 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/ChannelStorageSummary.h>
#include <aws/iotanalytics/model/ChannelStatus.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>A summary of information about a channel.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ChannelSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ChannelSummary
{
public:
ChannelSummary();
ChannelSummary(Aws::Utils::Json::JsonView jsonValue);
ChannelSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the channel.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel.</p>
*/
inline ChannelSummary& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline ChannelSummary& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline ChannelSummary& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>Where channel data is stored.</p>
*/
inline const ChannelStorageSummary& GetChannelStorage() const{ return m_channelStorage; }
/**
* <p>Where channel data is stored.</p>
*/
inline bool ChannelStorageHasBeenSet() const { return m_channelStorageHasBeenSet; }
/**
* <p>Where channel data is stored.</p>
*/
inline void SetChannelStorage(const ChannelStorageSummary& value) { m_channelStorageHasBeenSet = true; m_channelStorage = value; }
/**
* <p>Where channel data is stored.</p>
*/
inline void SetChannelStorage(ChannelStorageSummary&& value) { m_channelStorageHasBeenSet = true; m_channelStorage = std::move(value); }
/**
* <p>Where channel data is stored.</p>
*/
inline ChannelSummary& WithChannelStorage(const ChannelStorageSummary& value) { SetChannelStorage(value); return *this;}
/**
* <p>Where channel data is stored.</p>
*/
inline ChannelSummary& WithChannelStorage(ChannelStorageSummary&& value) { SetChannelStorage(std::move(value)); return *this;}
/**
* <p>The status of the channel.</p>
*/
inline const ChannelStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the channel.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the channel.</p>
*/
inline void SetStatus(const ChannelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the channel.</p>
*/
inline void SetStatus(ChannelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the channel.</p>
*/
inline ChannelSummary& WithStatus(const ChannelStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the channel.</p>
*/
inline ChannelSummary& WithStatus(ChannelStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>When the channel was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the channel was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>When the channel was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>When the channel was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>When the channel was created.</p>
*/
inline ChannelSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the channel was created.</p>
*/
inline ChannelSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The last time the channel was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>The last time the channel was updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>The last time the channel was updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>The last time the channel was updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>The last time the channel was updated.</p>
*/
inline ChannelSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>The last time the channel was updated.</p>
*/
inline ChannelSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
ChannelStorageSummary m_channelStorage;
bool m_channelStorageHasBeenSet;
ChannelStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class ComputeType
{
NOT_SET,
ACU_1,
ACU_2
};
namespace ComputeTypeMapper
{
AWS_IOTANALYTICS_API ComputeType GetComputeTypeForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForComputeType(ComputeType value);
} // namespace ComputeTypeMapper
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,278 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/ResourceConfiguration.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/Variable.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Information needed to run the "containerAction" to produce data set
* contents.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ContainerDatasetAction">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API ContainerDatasetAction
{
public:
ContainerDatasetAction();
ContainerDatasetAction(Aws::Utils::Json::JsonView jsonValue);
ContainerDatasetAction& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline const Aws::String& GetImage() const{ return m_image; }
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline ContainerDatasetAction& WithImage(const Aws::String& value) { SetImage(value); return *this;}
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline ContainerDatasetAction& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
/**
* <p>The ARN of the Docker container stored in your account. The Docker container
* contains an application and needed support libraries and is used to generate
* data set contents.</p>
*/
inline ContainerDatasetAction& WithImage(const char* value) { SetImage(value); return *this;}
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline ContainerDatasetAction& WithExecutionRoleArn(const Aws::String& value) { SetExecutionRoleArn(value); return *this;}
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline ContainerDatasetAction& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which gives permission to the system to access needed
* resources in order to run the "containerAction". This includes, at minimum,
* permission to retrieve the data set contents which are the input to the
* containerized application.</p>
*/
inline ContainerDatasetAction& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
/**
* <p>Configuration of the resource which executes the "containerAction".</p>
*/
inline const ResourceConfiguration& GetResourceConfiguration() const{ return m_resourceConfiguration; }
/**
* <p>Configuration of the resource which executes the "containerAction".</p>
*/
inline bool ResourceConfigurationHasBeenSet() const { return m_resourceConfigurationHasBeenSet; }
/**
* <p>Configuration of the resource which executes the "containerAction".</p>
*/
inline void SetResourceConfiguration(const ResourceConfiguration& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = value; }
/**
* <p>Configuration of the resource which executes the "containerAction".</p>
*/
inline void SetResourceConfiguration(ResourceConfiguration&& value) { m_resourceConfigurationHasBeenSet = true; m_resourceConfiguration = std::move(value); }
/**
* <p>Configuration of the resource which executes the "containerAction".</p>
*/
inline ContainerDatasetAction& WithResourceConfiguration(const ResourceConfiguration& value) { SetResourceConfiguration(value); return *this;}
/**
* <p>Configuration of the resource which executes the "containerAction".</p>
*/
inline ContainerDatasetAction& WithResourceConfiguration(ResourceConfiguration&& value) { SetResourceConfiguration(std::move(value)); return *this;}
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline const Aws::Vector<Variable>& GetVariables() const{ return m_variables; }
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline bool VariablesHasBeenSet() const { return m_variablesHasBeenSet; }
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline void SetVariables(const Aws::Vector<Variable>& value) { m_variablesHasBeenSet = true; m_variables = value; }
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline void SetVariables(Aws::Vector<Variable>&& value) { m_variablesHasBeenSet = true; m_variables = std::move(value); }
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline ContainerDatasetAction& WithVariables(const Aws::Vector<Variable>& value) { SetVariables(value); return *this;}
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline ContainerDatasetAction& WithVariables(Aws::Vector<Variable>&& value) { SetVariables(std::move(value)); return *this;}
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline ContainerDatasetAction& AddVariables(const Variable& value) { m_variablesHasBeenSet = true; m_variables.push_back(value); return *this; }
/**
* <p>The values of variables used within the context of the execution of the
* containerized application (basically, parameters passed to the application).
* Each variable must have a name and a value given by one of "stringValue",
* "datasetContentVersionValue", or "outputFileUriValue".</p>
*/
inline ContainerDatasetAction& AddVariables(Variable&& value) { m_variablesHasBeenSet = true; m_variables.push_back(std::move(value)); return *this; }
private:
Aws::String m_image;
bool m_imageHasBeenSet;
Aws::String m_executionRoleArn;
bool m_executionRoleArnHasBeenSet;
ResourceConfiguration m_resourceConfiguration;
bool m_resourceConfigurationHasBeenSet;
Aws::Vector<Variable> m_variables;
bool m_variablesHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,217 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/ChannelStorage.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API CreateChannelRequest : public IoTAnalyticsRequest
{
public:
CreateChannelRequest();
// 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 "CreateChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the channel.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel.</p>
*/
inline CreateChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline CreateChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline CreateChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline const ChannelStorage& GetChannelStorage() const{ return m_channelStorage; }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline bool ChannelStorageHasBeenSet() const { return m_channelStorageHasBeenSet; }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline void SetChannelStorage(const ChannelStorage& value) { m_channelStorageHasBeenSet = true; m_channelStorage = value; }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline void SetChannelStorage(ChannelStorage&& value) { m_channelStorageHasBeenSet = true; m_channelStorage = std::move(value); }
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline CreateChannelRequest& WithChannelStorage(const ChannelStorage& value) { SetChannelStorage(value); return *this;}
/**
* <p>Where channel data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after creation of the channel.</p>
*/
inline CreateChannelRequest& WithChannelStorage(ChannelStorage&& value) { SetChannelStorage(std::move(value)); return *this;}
/**
* <p>How long, in days, message data is kept for the channel. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, message data is kept for the channel. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
/**
* <p>How long, in days, message data is kept for the channel. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
/**
* <p>How long, in days, message data is kept for the channel. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, message data is kept for the channel. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline CreateChannelRequest& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, message data is kept for the channel. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline CreateChannelRequest& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline CreateChannelRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline CreateChannelRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline CreateChannelRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>Metadata which can be used to manage the channel.</p>
*/
inline CreateChannelRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
ChannelStorage m_channelStorage;
bool m_channelStorageHasBeenSet;
RetentionPeriod m_retentionPeriod;
bool m_retentionPeriodHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,144 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API CreateChannelResult
{
public:
CreateChannelResult();
CreateChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the channel.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelName = value; }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelName = std::move(value); }
/**
* <p>The name of the channel.</p>
*/
inline void SetChannelName(const char* value) { m_channelName.assign(value); }
/**
* <p>The name of the channel.</p>
*/
inline CreateChannelResult& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline CreateChannelResult& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel.</p>
*/
inline CreateChannelResult& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>The ARN of the channel.</p>
*/
inline const Aws::String& GetChannelArn() const{ return m_channelArn; }
/**
* <p>The ARN of the channel.</p>
*/
inline void SetChannelArn(const Aws::String& value) { m_channelArn = value; }
/**
* <p>The ARN of the channel.</p>
*/
inline void SetChannelArn(Aws::String&& value) { m_channelArn = std::move(value); }
/**
* <p>The ARN of the channel.</p>
*/
inline void SetChannelArn(const char* value) { m_channelArn.assign(value); }
/**
* <p>The ARN of the channel.</p>
*/
inline CreateChannelResult& WithChannelArn(const Aws::String& value) { SetChannelArn(value); return *this;}
/**
* <p>The ARN of the channel.</p>
*/
inline CreateChannelResult& WithChannelArn(Aws::String&& value) { SetChannelArn(std::move(value)); return *this;}
/**
* <p>The ARN of the channel.</p>
*/
inline CreateChannelResult& WithChannelArn(const char* value) { SetChannelArn(value); return *this;}
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline CreateChannelResult& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, message data is kept for the channel.</p>
*/
inline CreateChannelResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
private:
Aws::String m_channelName;
Aws::String m_channelArn;
RetentionPeriod m_retentionPeriod;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API CreateDatasetContentRequest : public IoTAnalyticsRequest
{
public:
CreateDatasetContentRequest();
// 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 "CreateDatasetContent"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the data set.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetContentRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetContentRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetContentRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,77 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API CreateDatasetContentResult
{
public:
CreateDatasetContentResult();
CreateDatasetContentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateDatasetContentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline const Aws::String& GetVersionId() const{ return m_versionId; }
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline void SetVersionId(const char* value) { m_versionId.assign(value); }
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline CreateDatasetContentResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline CreateDatasetContentResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
/**
* <p>The version ID of the data set contents which are being created.</p>
*/
inline CreateDatasetContentResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
private:
Aws::String m_versionId;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,420 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <aws/iotanalytics/model/VersioningConfiguration.h>
#include <aws/iotanalytics/model/DatasetAction.h>
#include <aws/iotanalytics/model/DatasetTrigger.h>
#include <aws/iotanalytics/model/DatasetContentDeliveryRule.h>
#include <aws/iotanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API CreateDatasetRequest : public IoTAnalyticsRequest
{
public:
CreateDatasetRequest();
// 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 "CreateDataset"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the data set.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline const Aws::Vector<DatasetAction>& GetActions() const{ return m_actions; }
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline void SetActions(const Aws::Vector<DatasetAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline void SetActions(Aws::Vector<DatasetAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline CreateDatasetRequest& WithActions(const Aws::Vector<DatasetAction>& value) { SetActions(value); return *this;}
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline CreateDatasetRequest& WithActions(Aws::Vector<DatasetAction>&& value) { SetActions(std::move(value)); return *this;}
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline CreateDatasetRequest& AddActions(const DatasetAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
/**
* <p>A list of actions that create the data set contents.</p>
*/
inline CreateDatasetRequest& AddActions(DatasetAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline const Aws::Vector<DatasetTrigger>& GetTriggers() const{ return m_triggers; }
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; }
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline void SetTriggers(const Aws::Vector<DatasetTrigger>& value) { m_triggersHasBeenSet = true; m_triggers = value; }
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline void SetTriggers(Aws::Vector<DatasetTrigger>&& value) { m_triggersHasBeenSet = true; m_triggers = std::move(value); }
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline CreateDatasetRequest& WithTriggers(const Aws::Vector<DatasetTrigger>& value) { SetTriggers(value); return *this;}
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline CreateDatasetRequest& WithTriggers(Aws::Vector<DatasetTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline CreateDatasetRequest& AddTriggers(const DatasetTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; }
/**
* <p>A list of triggers. A trigger causes data set contents to be populated at a
* specified time interval or when another data set's contents are created. The
* list of triggers can be empty or contain up to five <b>DataSetTrigger</b>
* objects.</p>
*/
inline CreateDatasetRequest& AddTriggers(DatasetTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline const Aws::Vector<DatasetContentDeliveryRule>& GetContentDeliveryRules() const{ return m_contentDeliveryRules; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline bool ContentDeliveryRulesHasBeenSet() const { return m_contentDeliveryRulesHasBeenSet; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline void SetContentDeliveryRules(const Aws::Vector<DatasetContentDeliveryRule>& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules = value; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline void SetContentDeliveryRules(Aws::Vector<DatasetContentDeliveryRule>&& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules = std::move(value); }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline CreateDatasetRequest& WithContentDeliveryRules(const Aws::Vector<DatasetContentDeliveryRule>& value) { SetContentDeliveryRules(value); return *this;}
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline CreateDatasetRequest& WithContentDeliveryRules(Aws::Vector<DatasetContentDeliveryRule>&& value) { SetContentDeliveryRules(std::move(value)); return *this;}
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline CreateDatasetRequest& AddContentDeliveryRules(const DatasetContentDeliveryRule& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules.push_back(value); return *this; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline CreateDatasetRequest& AddContentDeliveryRules(DatasetContentDeliveryRule&& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules.push_back(std::move(value)); return *this; }
/**
* <p>[Optional] How long, in days, versions of data set contents are kept for the
* data set. If not specified or set to null, versions of data set contents are
* retained for at most 90 days. The number of versions of data set contents
* retained is determined by the <code>versioningConfiguration</code> parameter.
* (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>[Optional] How long, in days, versions of data set contents are kept for the
* data set. If not specified or set to null, versions of data set contents are
* retained for at most 90 days. The number of versions of data set contents
* retained is determined by the <code>versioningConfiguration</code> parameter.
* (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
/**
* <p>[Optional] How long, in days, versions of data set contents are kept for the
* data set. If not specified or set to null, versions of data set contents are
* retained for at most 90 days. The number of versions of data set contents
* retained is determined by the <code>versioningConfiguration</code> parameter.
* (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
/**
* <p>[Optional] How long, in days, versions of data set contents are kept for the
* data set. If not specified or set to null, versions of data set contents are
* retained for at most 90 days. The number of versions of data set contents
* retained is determined by the <code>versioningConfiguration</code> parameter.
* (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
/**
* <p>[Optional] How long, in days, versions of data set contents are kept for the
* data set. If not specified or set to null, versions of data set contents are
* retained for at most 90 days. The number of versions of data set contents
* retained is determined by the <code>versioningConfiguration</code> parameter.
* (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline CreateDatasetRequest& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>[Optional] How long, in days, versions of data set contents are kept for the
* data set. If not specified or set to null, versions of data set contents are
* retained for at most 90 days. The number of versions of data set contents
* retained is determined by the <code>versioningConfiguration</code> parameter.
* (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline CreateDatasetRequest& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline const VersioningConfiguration& GetVersioningConfiguration() const{ return m_versioningConfiguration; }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline bool VersioningConfigurationHasBeenSet() const { return m_versioningConfigurationHasBeenSet; }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline void SetVersioningConfiguration(const VersioningConfiguration& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = value; }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline void SetVersioningConfiguration(VersioningConfiguration&& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = std::move(value); }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline CreateDatasetRequest& WithVersioningConfiguration(const VersioningConfiguration& value) { SetVersioningConfiguration(value); return *this;}
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline CreateDatasetRequest& WithVersioningConfiguration(VersioningConfiguration&& value) { SetVersioningConfiguration(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline CreateDatasetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline CreateDatasetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline CreateDatasetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>Metadata which can be used to manage the data set.</p>
*/
inline CreateDatasetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
Aws::Vector<DatasetAction> m_actions;
bool m_actionsHasBeenSet;
Aws::Vector<DatasetTrigger> m_triggers;
bool m_triggersHasBeenSet;
Aws::Vector<DatasetContentDeliveryRule> m_contentDeliveryRules;
bool m_contentDeliveryRulesHasBeenSet;
RetentionPeriod m_retentionPeriod;
bool m_retentionPeriodHasBeenSet;
VersioningConfiguration m_versioningConfiguration;
bool m_versioningConfigurationHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,144 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API CreateDatasetResult
{
public:
CreateDatasetResult();
CreateDatasetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateDatasetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the data set.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetName = value; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetName = std::move(value); }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetName.assign(value); }
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetResult& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetResult& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline CreateDatasetResult& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
/**
* <p>The ARN of the data set.</p>
*/
inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; }
/**
* <p>The ARN of the data set.</p>
*/
inline void SetDatasetArn(const Aws::String& value) { m_datasetArn = value; }
/**
* <p>The ARN of the data set.</p>
*/
inline void SetDatasetArn(Aws::String&& value) { m_datasetArn = std::move(value); }
/**
* <p>The ARN of the data set.</p>
*/
inline void SetDatasetArn(const char* value) { m_datasetArn.assign(value); }
/**
* <p>The ARN of the data set.</p>
*/
inline CreateDatasetResult& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;}
/**
* <p>The ARN of the data set.</p>
*/
inline CreateDatasetResult& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the data set.</p>
*/
inline CreateDatasetResult& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;}
/**
* <p>How long, in days, data set contents are kept for the data set.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, data set contents are kept for the data set.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
/**
* <p>How long, in days, data set contents are kept for the data set.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, data set contents are kept for the data set.</p>
*/
inline CreateDatasetResult& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, data set contents are kept for the data set.</p>
*/
inline CreateDatasetResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
private:
Aws::String m_datasetName;
Aws::String m_datasetArn;
RetentionPeriod m_retentionPeriod;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,217 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatastoreStorage.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API CreateDatastoreRequest : public IoTAnalyticsRequest
{
public:
CreateDatastoreRequest();
// 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 "CreateDatastore"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the data store.</p>
*/
inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
/**
* <p>The name of the data store.</p>
*/
inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
/**
* <p>The name of the data store.</p>
*/
inline CreateDatastoreRequest& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline CreateDatastoreRequest& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline CreateDatastoreRequest& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline const DatastoreStorage& GetDatastoreStorage() const{ return m_datastoreStorage; }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline bool DatastoreStorageHasBeenSet() const { return m_datastoreStorageHasBeenSet; }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline void SetDatastoreStorage(const DatastoreStorage& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = value; }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline void SetDatastoreStorage(DatastoreStorage&& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = std::move(value); }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline CreateDatastoreRequest& WithDatastoreStorage(const DatastoreStorage& value) { SetDatastoreStorage(value); return *this;}
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline CreateDatastoreRequest& WithDatastoreStorage(DatastoreStorage&& value) { SetDatastoreStorage(std::move(value)); return *this;}
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline CreateDatastoreRequest& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline CreateDatastoreRequest& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline CreateDatastoreRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline CreateDatastoreRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline CreateDatastoreRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>Metadata which can be used to manage the data store.</p>
*/
inline CreateDatastoreRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_datastoreName;
bool m_datastoreNameHasBeenSet;
DatastoreStorage m_datastoreStorage;
bool m_datastoreStorageHasBeenSet;
RetentionPeriod m_retentionPeriod;
bool m_retentionPeriodHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,144 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API CreateDatastoreResult
{
public:
CreateDatastoreResult();
CreateDatastoreResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateDatastoreResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the data store.</p>
*/
inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(const Aws::String& value) { m_datastoreName = value; }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(Aws::String&& value) { m_datastoreName = std::move(value); }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(const char* value) { m_datastoreName.assign(value); }
/**
* <p>The name of the data store.</p>
*/
inline CreateDatastoreResult& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline CreateDatastoreResult& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline CreateDatastoreResult& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
/**
* <p>The ARN of the data store.</p>
*/
inline const Aws::String& GetDatastoreArn() const{ return m_datastoreArn; }
/**
* <p>The ARN of the data store.</p>
*/
inline void SetDatastoreArn(const Aws::String& value) { m_datastoreArn = value; }
/**
* <p>The ARN of the data store.</p>
*/
inline void SetDatastoreArn(Aws::String&& value) { m_datastoreArn = std::move(value); }
/**
* <p>The ARN of the data store.</p>
*/
inline void SetDatastoreArn(const char* value) { m_datastoreArn.assign(value); }
/**
* <p>The ARN of the data store.</p>
*/
inline CreateDatastoreResult& WithDatastoreArn(const Aws::String& value) { SetDatastoreArn(value); return *this;}
/**
* <p>The ARN of the data store.</p>
*/
inline CreateDatastoreResult& WithDatastoreArn(Aws::String&& value) { SetDatastoreArn(std::move(value)); return *this;}
/**
* <p>The ARN of the data store.</p>
*/
inline CreateDatastoreResult& WithDatastoreArn(const char* value) { SetDatastoreArn(value); return *this;}
/**
* <p>How long, in days, message data is kept for the data store.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, message data is kept for the data store.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriod = value; }
/**
* <p>How long, in days, message data is kept for the data store.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, message data is kept for the data store.</p>
*/
inline CreateDatastoreResult& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, message data is kept for the data store.</p>
*/
inline CreateDatastoreResult& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
private:
Aws::String m_datastoreName;
Aws::String m_datastoreArn;
RetentionPeriod m_retentionPeriod;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,238 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/PipelineActivity.h>
#include <aws/iotanalytics/model/Tag.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API CreatePipelineRequest : public IoTAnalyticsRequest
{
public:
CreatePipelineRequest();
// 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 "CreatePipeline"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the pipeline.</p>
*/
inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
/**
* <p>The name of the pipeline.</p>
*/
inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
/**
* <p>The name of the pipeline.</p>
*/
inline CreatePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
/**
* <p>The name of the pipeline.</p>
*/
inline CreatePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
/**
* <p>The name of the pipeline.</p>
*/
inline CreatePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline const Aws::Vector<PipelineActivity>& GetPipelineActivities() const{ return m_pipelineActivities; }
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline bool PipelineActivitiesHasBeenSet() const { return m_pipelineActivitiesHasBeenSet; }
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline void SetPipelineActivities(const Aws::Vector<PipelineActivity>& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = value; }
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline void SetPipelineActivities(Aws::Vector<PipelineActivity>&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities = std::move(value); }
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline CreatePipelineRequest& WithPipelineActivities(const Aws::Vector<PipelineActivity>& value) { SetPipelineActivities(value); return *this;}
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline CreatePipelineRequest& WithPipelineActivities(Aws::Vector<PipelineActivity>&& value) { SetPipelineActivities(std::move(value)); return *this;}
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline CreatePipelineRequest& AddPipelineActivities(const PipelineActivity& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(value); return *this; }
/**
* <p>A list of "PipelineActivity" objects. Activities perform transformations on
* your messages, such as removing, renaming or adding message attributes;
* filtering messages based on attribute values; invoking your Lambda functions on
* messages for advanced processing; or performing mathematical transformations to
* normalize device data.</p> <p>The list can be 2-25 <b>PipelineActivity</b>
* objects and must contain both a <code>channel</code> and a
* <code>datastore</code> activity. Each entry in the list must contain only one
* activity, for example:</p> <p> <code>pipelineActivities = [ { "channel": { ... }
* }, { "lambda": { ... } }, ... ]</code> </p>
*/
inline CreatePipelineRequest& AddPipelineActivities(PipelineActivity&& value) { m_pipelineActivitiesHasBeenSet = true; m_pipelineActivities.push_back(std::move(value)); return *this; }
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline CreatePipelineRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline CreatePipelineRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline CreatePipelineRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
/**
* <p>Metadata which can be used to manage the pipeline.</p>
*/
inline CreatePipelineRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
private:
Aws::String m_pipelineName;
bool m_pipelineNameHasBeenSet;
Aws::Vector<PipelineActivity> m_pipelineActivities;
bool m_pipelineActivitiesHasBeenSet;
Aws::Vector<Tag> m_tags;
bool m_tagsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,115 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API CreatePipelineResult
{
public:
CreatePipelineResult();
CreatePipelineResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreatePipelineResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The name of the pipeline.</p>
*/
inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetPipelineName(const Aws::String& value) { m_pipelineName = value; }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetPipelineName(Aws::String&& value) { m_pipelineName = std::move(value); }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetPipelineName(const char* value) { m_pipelineName.assign(value); }
/**
* <p>The name of the pipeline.</p>
*/
inline CreatePipelineResult& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
/**
* <p>The name of the pipeline.</p>
*/
inline CreatePipelineResult& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
/**
* <p>The name of the pipeline.</p>
*/
inline CreatePipelineResult& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
/**
* <p>The ARN of the pipeline.</p>
*/
inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; }
/**
* <p>The ARN of the pipeline.</p>
*/
inline void SetPipelineArn(const Aws::String& value) { m_pipelineArn = value; }
/**
* <p>The ARN of the pipeline.</p>
*/
inline void SetPipelineArn(Aws::String&& value) { m_pipelineArn = std::move(value); }
/**
* <p>The ARN of the pipeline.</p>
*/
inline void SetPipelineArn(const char* value) { m_pipelineArn.assign(value); }
/**
* <p>The ARN of the pipeline.</p>
*/
inline CreatePipelineResult& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;}
/**
* <p>The ARN of the pipeline.</p>
*/
inline CreatePipelineResult& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;}
/**
* <p>The ARN of the pipeline.</p>
*/
inline CreatePipelineResult& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;}
private:
Aws::String m_pipelineName;
Aws::String m_pipelineArn;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,211 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Use this to store channel data in an S3 bucket that you manage. If customer
* managed storage is selected, the "retentionPeriod" parameter is ignored. The
* choice of service-managed or customer-managed S3 storage cannot be changed after
* creation of the channel.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CustomerManagedChannelS3Storage">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API CustomerManagedChannelS3Storage
{
public:
CustomerManagedChannelS3Storage();
CustomerManagedChannelS3Storage(Aws::Utils::Json::JsonView jsonValue);
CustomerManagedChannelS3Storage& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline CustomerManagedChannelS3Storage& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline CustomerManagedChannelS3Storage& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline CustomerManagedChannelS3Storage& WithBucket(const char* value) { SetBucket(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedChannelS3Storage& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedChannelS3Storage& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedChannelS3Storage& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedChannelS3Storage& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedChannelS3Storage& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedChannelS3Storage& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
private:
Aws::String m_bucket;
bool m_bucketHasBeenSet;
Aws::String m_keyPrefix;
bool m_keyPrefixHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,209 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Used to store channel data in an S3 bucket that you manage.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CustomerManagedChannelS3StorageSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API CustomerManagedChannelS3StorageSummary
{
public:
CustomerManagedChannelS3StorageSummary();
CustomerManagedChannelS3StorageSummary(Aws::Utils::Json::JsonView jsonValue);
CustomerManagedChannelS3StorageSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which channel data is stored.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithBucket(const char* value) { SetBucket(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the channel data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedChannelS3StorageSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
private:
Aws::String m_bucket;
bool m_bucketHasBeenSet;
Aws::String m_keyPrefix;
bool m_keyPrefixHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,211 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CustomerManagedDatastoreS3Storage">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API CustomerManagedDatastoreS3Storage
{
public:
CustomerManagedDatastoreS3Storage();
CustomerManagedDatastoreS3Storage(Aws::Utils::Json::JsonView jsonValue);
CustomerManagedDatastoreS3Storage& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithBucket(const char* value) { SetBucket(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedDatastoreS3Storage& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
private:
Aws::String m_bucket;
bool m_bucketHasBeenSet;
Aws::String m_keyPrefix;
bool m_keyPrefixHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,209 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CustomerManagedDatastoreS3StorageSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API CustomerManagedDatastoreS3StorageSummary
{
public:
CustomerManagedDatastoreS3StorageSummary();
CustomerManagedDatastoreS3StorageSummary(Aws::Utils::Json::JsonView jsonValue);
CustomerManagedDatastoreS3StorageSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline const Aws::String& GetBucket() const{ return m_bucket; }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
/**
* <p>The name of the Amazon S3 bucket in which data store data is stored.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithBucket(const char* value) { SetBucket(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); }
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;}
/**
* <p>[Optional] The prefix used to create the keys of the data store data objects.
* Each object in an Amazon S3 bucket has a key that is its unique identifier
* within the bucket (each object in a bucket has exactly one key). The prefix must
* end with a '/'.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to interact
* with your Amazon S3 resources.</p>
*/
inline CustomerManagedDatastoreS3StorageSummary& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
private:
Aws::String m_bucket;
bool m_bucketHasBeenSet;
Aws::String m_keyPrefix;
bool m_keyPrefixHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/DatasetStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <aws/iotanalytics/model/VersioningConfiguration.h>
#include <aws/iotanalytics/model/DatasetAction.h>
#include <aws/iotanalytics/model/DatasetTrigger.h>
#include <aws/iotanalytics/model/DatasetContentDeliveryRule.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Information about a data set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/Dataset">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API Dataset
{
public:
Dataset();
Dataset(Aws::Utils::Json::JsonView jsonValue);
Dataset& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data set.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the data set.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the data set.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the data set.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the data set.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the data set.</p>
*/
inline Dataset& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline Dataset& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline Dataset& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The ARN of the data set.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN of the data set.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The ARN of the data set.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The ARN of the data set.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The ARN of the data set.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The ARN of the data set.</p>
*/
inline Dataset& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN of the data set.</p>
*/
inline Dataset& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the data set.</p>
*/
inline Dataset& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline const Aws::Vector<DatasetAction>& GetActions() const{ return m_actions; }
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline void SetActions(const Aws::Vector<DatasetAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline void SetActions(Aws::Vector<DatasetAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline Dataset& WithActions(const Aws::Vector<DatasetAction>& value) { SetActions(value); return *this;}
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline Dataset& WithActions(Aws::Vector<DatasetAction>&& value) { SetActions(std::move(value)); return *this;}
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline Dataset& AddActions(const DatasetAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
/**
* <p>The "DatasetAction" objects that automatically create the data set
* contents.</p>
*/
inline Dataset& AddActions(DatasetAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline const Aws::Vector<DatasetTrigger>& GetTriggers() const{ return m_triggers; }
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; }
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline void SetTriggers(const Aws::Vector<DatasetTrigger>& value) { m_triggersHasBeenSet = true; m_triggers = value; }
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline void SetTriggers(Aws::Vector<DatasetTrigger>&& value) { m_triggersHasBeenSet = true; m_triggers = std::move(value); }
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline Dataset& WithTriggers(const Aws::Vector<DatasetTrigger>& value) { SetTriggers(value); return *this;}
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline Dataset& WithTriggers(Aws::Vector<DatasetTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline Dataset& AddTriggers(const DatasetTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; }
/**
* <p>The "DatasetTrigger" objects that specify when the data set is automatically
* updated.</p>
*/
inline Dataset& AddTriggers(DatasetTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline const Aws::Vector<DatasetContentDeliveryRule>& GetContentDeliveryRules() const{ return m_contentDeliveryRules; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline bool ContentDeliveryRulesHasBeenSet() const { return m_contentDeliveryRulesHasBeenSet; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline void SetContentDeliveryRules(const Aws::Vector<DatasetContentDeliveryRule>& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules = value; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline void SetContentDeliveryRules(Aws::Vector<DatasetContentDeliveryRule>&& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules = std::move(value); }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline Dataset& WithContentDeliveryRules(const Aws::Vector<DatasetContentDeliveryRule>& value) { SetContentDeliveryRules(value); return *this;}
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline Dataset& WithContentDeliveryRules(Aws::Vector<DatasetContentDeliveryRule>&& value) { SetContentDeliveryRules(std::move(value)); return *this;}
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline Dataset& AddContentDeliveryRules(const DatasetContentDeliveryRule& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules.push_back(value); return *this; }
/**
* <p>When data set contents are created they are delivered to destinations
* specified here.</p>
*/
inline Dataset& AddContentDeliveryRules(DatasetContentDeliveryRule&& value) { m_contentDeliveryRulesHasBeenSet = true; m_contentDeliveryRules.push_back(std::move(value)); return *this; }
/**
* <p>The status of the data set.</p>
*/
inline const DatasetStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the data set.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the data set.</p>
*/
inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the data set.</p>
*/
inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the data set.</p>
*/
inline Dataset& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the data set.</p>
*/
inline Dataset& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>When the data set was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the data set was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>When the data set was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>When the data set was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>When the data set was created.</p>
*/
inline Dataset& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the data set was created.</p>
*/
inline Dataset& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The last time the data set was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>The last time the data set was updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>The last time the data set was updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>The last time the data set was updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>The last time the data set was updated.</p>
*/
inline Dataset& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>The last time the data set was updated.</p>
*/
inline Dataset& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
/**
* <p>[Optional] How long, in days, message data is kept for the data set.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>[Optional] How long, in days, message data is kept for the data set.</p>
*/
inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
/**
* <p>[Optional] How long, in days, message data is kept for the data set.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
/**
* <p>[Optional] How long, in days, message data is kept for the data set.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
/**
* <p>[Optional] How long, in days, message data is kept for the data set.</p>
*/
inline Dataset& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>[Optional] How long, in days, message data is kept for the data set.</p>
*/
inline Dataset& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline const VersioningConfiguration& GetVersioningConfiguration() const{ return m_versioningConfiguration; }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline bool VersioningConfigurationHasBeenSet() const { return m_versioningConfigurationHasBeenSet; }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline void SetVersioningConfiguration(const VersioningConfiguration& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = value; }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline void SetVersioningConfiguration(VersioningConfiguration&& value) { m_versioningConfigurationHasBeenSet = true; m_versioningConfiguration = std::move(value); }
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline Dataset& WithVersioningConfiguration(const VersioningConfiguration& value) { SetVersioningConfiguration(value); return *this;}
/**
* <p>[Optional] How many versions of data set contents are kept. If not specified
* or set to null, only the latest version plus the latest succeeded version (if
* they are different) are kept for the time period specified by the
* "retentionPeriod" parameter. (For more information, see
* https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)</p>
*/
inline Dataset& WithVersioningConfiguration(VersioningConfiguration&& value) { SetVersioningConfiguration(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::Vector<DatasetAction> m_actions;
bool m_actionsHasBeenSet;
Aws::Vector<DatasetTrigger> m_triggers;
bool m_triggersHasBeenSet;
Aws::Vector<DatasetContentDeliveryRule> m_contentDeliveryRules;
bool m_contentDeliveryRulesHasBeenSet;
DatasetStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
RetentionPeriod m_retentionPeriod;
bool m_retentionPeriodHasBeenSet;
VersioningConfiguration m_versioningConfiguration;
bool m_versioningConfigurationHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/SqlQueryDatasetAction.h>
#include <aws/iotanalytics/model/ContainerDatasetAction.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>A "DatasetAction" object that specifies how data set contents are
* automatically created.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetAction">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetAction
{
public:
DatasetAction();
DatasetAction(Aws::Utils::Json::JsonView jsonValue);
DatasetAction& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline const Aws::String& GetActionName() const{ return m_actionName; }
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline DatasetAction& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline DatasetAction& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
/**
* <p>The name of the data set action by which data set contents are automatically
* created.</p>
*/
inline DatasetAction& WithActionName(const char* value) { SetActionName(value); return *this;}
/**
* <p>An "SqlQueryDatasetAction" object that uses an SQL query to automatically
* create data set contents.</p>
*/
inline const SqlQueryDatasetAction& GetQueryAction() const{ return m_queryAction; }
/**
* <p>An "SqlQueryDatasetAction" object that uses an SQL query to automatically
* create data set contents.</p>
*/
inline bool QueryActionHasBeenSet() const { return m_queryActionHasBeenSet; }
/**
* <p>An "SqlQueryDatasetAction" object that uses an SQL query to automatically
* create data set contents.</p>
*/
inline void SetQueryAction(const SqlQueryDatasetAction& value) { m_queryActionHasBeenSet = true; m_queryAction = value; }
/**
* <p>An "SqlQueryDatasetAction" object that uses an SQL query to automatically
* create data set contents.</p>
*/
inline void SetQueryAction(SqlQueryDatasetAction&& value) { m_queryActionHasBeenSet = true; m_queryAction = std::move(value); }
/**
* <p>An "SqlQueryDatasetAction" object that uses an SQL query to automatically
* create data set contents.</p>
*/
inline DatasetAction& WithQueryAction(const SqlQueryDatasetAction& value) { SetQueryAction(value); return *this;}
/**
* <p>An "SqlQueryDatasetAction" object that uses an SQL query to automatically
* create data set contents.</p>
*/
inline DatasetAction& WithQueryAction(SqlQueryDatasetAction&& value) { SetQueryAction(std::move(value)); return *this;}
/**
* <p>Information which allows the system to run a containerized application in
* order to create the data set contents. The application must be in a Docker
* container along with any needed support libraries.</p>
*/
inline const ContainerDatasetAction& GetContainerAction() const{ return m_containerAction; }
/**
* <p>Information which allows the system to run a containerized application in
* order to create the data set contents. The application must be in a Docker
* container along with any needed support libraries.</p>
*/
inline bool ContainerActionHasBeenSet() const { return m_containerActionHasBeenSet; }
/**
* <p>Information which allows the system to run a containerized application in
* order to create the data set contents. The application must be in a Docker
* container along with any needed support libraries.</p>
*/
inline void SetContainerAction(const ContainerDatasetAction& value) { m_containerActionHasBeenSet = true; m_containerAction = value; }
/**
* <p>Information which allows the system to run a containerized application in
* order to create the data set contents. The application must be in a Docker
* container along with any needed support libraries.</p>
*/
inline void SetContainerAction(ContainerDatasetAction&& value) { m_containerActionHasBeenSet = true; m_containerAction = std::move(value); }
/**
* <p>Information which allows the system to run a containerized application in
* order to create the data set contents. The application must be in a Docker
* container along with any needed support libraries.</p>
*/
inline DatasetAction& WithContainerAction(const ContainerDatasetAction& value) { SetContainerAction(value); return *this;}
/**
* <p>Information which allows the system to run a containerized application in
* order to create the data set contents. The application must be in a Docker
* container along with any needed support libraries.</p>
*/
inline DatasetAction& WithContainerAction(ContainerDatasetAction&& value) { SetContainerAction(std::move(value)); return *this;}
private:
Aws::String m_actionName;
bool m_actionNameHasBeenSet;
SqlQueryDatasetAction m_queryAction;
bool m_queryActionHasBeenSet;
ContainerDatasetAction m_containerAction;
bool m_containerActionHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatasetActionType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Information about the action which automatically creates the data set's
* contents.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetActionSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetActionSummary
{
public:
DatasetActionSummary();
DatasetActionSummary(Aws::Utils::Json::JsonView jsonValue);
DatasetActionSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline const Aws::String& GetActionName() const{ return m_actionName; }
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline DatasetActionSummary& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline DatasetActionSummary& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
/**
* <p>The name of the action which automatically creates the data set's
* contents.</p>
*/
inline DatasetActionSummary& WithActionName(const char* value) { SetActionName(value); return *this;}
/**
* <p>The type of action by which the data set's contents are automatically
* created.</p>
*/
inline const DatasetActionType& GetActionType() const{ return m_actionType; }
/**
* <p>The type of action by which the data set's contents are automatically
* created.</p>
*/
inline bool ActionTypeHasBeenSet() const { return m_actionTypeHasBeenSet; }
/**
* <p>The type of action by which the data set's contents are automatically
* created.</p>
*/
inline void SetActionType(const DatasetActionType& value) { m_actionTypeHasBeenSet = true; m_actionType = value; }
/**
* <p>The type of action by which the data set's contents are automatically
* created.</p>
*/
inline void SetActionType(DatasetActionType&& value) { m_actionTypeHasBeenSet = true; m_actionType = std::move(value); }
/**
* <p>The type of action by which the data set's contents are automatically
* created.</p>
*/
inline DatasetActionSummary& WithActionType(const DatasetActionType& value) { SetActionType(value); return *this;}
/**
* <p>The type of action by which the data set's contents are automatically
* created.</p>
*/
inline DatasetActionSummary& WithActionType(DatasetActionType&& value) { SetActionType(std::move(value)); return *this;}
private:
Aws::String m_actionName;
bool m_actionNameHasBeenSet;
DatasetActionType m_actionType;
bool m_actionTypeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class DatasetActionType
{
NOT_SET,
QUERY,
CONTAINER
};
namespace DatasetActionTypeMapper
{
AWS_IOTANALYTICS_API DatasetActionType GetDatasetActionTypeForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForDatasetActionType(DatasetActionType value);
} // namespace DatasetActionTypeMapper
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/IotEventsDestinationConfiguration.h>
#include <aws/iotanalytics/model/S3DestinationConfiguration.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>The destination to which data set contents are delivered.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetContentDeliveryDestination">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetContentDeliveryDestination
{
public:
DatasetContentDeliveryDestination();
DatasetContentDeliveryDestination(Aws::Utils::Json::JsonView jsonValue);
DatasetContentDeliveryDestination& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p>
*/
inline const IotEventsDestinationConfiguration& GetIotEventsDestinationConfiguration() const{ return m_iotEventsDestinationConfiguration; }
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p>
*/
inline bool IotEventsDestinationConfigurationHasBeenSet() const { return m_iotEventsDestinationConfigurationHasBeenSet; }
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p>
*/
inline void SetIotEventsDestinationConfiguration(const IotEventsDestinationConfiguration& value) { m_iotEventsDestinationConfigurationHasBeenSet = true; m_iotEventsDestinationConfiguration = value; }
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p>
*/
inline void SetIotEventsDestinationConfiguration(IotEventsDestinationConfiguration&& value) { m_iotEventsDestinationConfigurationHasBeenSet = true; m_iotEventsDestinationConfiguration = std::move(value); }
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p>
*/
inline DatasetContentDeliveryDestination& WithIotEventsDestinationConfiguration(const IotEventsDestinationConfiguration& value) { SetIotEventsDestinationConfiguration(value); return *this;}
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p>
*/
inline DatasetContentDeliveryDestination& WithIotEventsDestinationConfiguration(IotEventsDestinationConfiguration&& value) { SetIotEventsDestinationConfiguration(std::move(value)); return *this;}
/**
* <p>Configuration information for delivery of data set contents to Amazon S3.</p>
*/
inline const S3DestinationConfiguration& GetS3DestinationConfiguration() const{ return m_s3DestinationConfiguration; }
/**
* <p>Configuration information for delivery of data set contents to Amazon S3.</p>
*/
inline bool S3DestinationConfigurationHasBeenSet() const { return m_s3DestinationConfigurationHasBeenSet; }
/**
* <p>Configuration information for delivery of data set contents to Amazon S3.</p>
*/
inline void SetS3DestinationConfiguration(const S3DestinationConfiguration& value) { m_s3DestinationConfigurationHasBeenSet = true; m_s3DestinationConfiguration = value; }
/**
* <p>Configuration information for delivery of data set contents to Amazon S3.</p>
*/
inline void SetS3DestinationConfiguration(S3DestinationConfiguration&& value) { m_s3DestinationConfigurationHasBeenSet = true; m_s3DestinationConfiguration = std::move(value); }
/**
* <p>Configuration information for delivery of data set contents to Amazon S3.</p>
*/
inline DatasetContentDeliveryDestination& WithS3DestinationConfiguration(const S3DestinationConfiguration& value) { SetS3DestinationConfiguration(value); return *this;}
/**
* <p>Configuration information for delivery of data set contents to Amazon S3.</p>
*/
inline DatasetContentDeliveryDestination& WithS3DestinationConfiguration(S3DestinationConfiguration&& value) { SetS3DestinationConfiguration(std::move(value)); return *this;}
private:
IotEventsDestinationConfiguration m_iotEventsDestinationConfiguration;
bool m_iotEventsDestinationConfigurationHasBeenSet;
S3DestinationConfiguration m_s3DestinationConfiguration;
bool m_s3DestinationConfigurationHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatasetContentDeliveryDestination.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>When data set contents are created they are delivered to destination
* specified here.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetContentDeliveryRule">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetContentDeliveryRule
{
public:
DatasetContentDeliveryRule();
DatasetContentDeliveryRule(Aws::Utils::Json::JsonView jsonValue);
DatasetContentDeliveryRule& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline const Aws::String& GetEntryName() const{ return m_entryName; }
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline bool EntryNameHasBeenSet() const { return m_entryNameHasBeenSet; }
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline void SetEntryName(const Aws::String& value) { m_entryNameHasBeenSet = true; m_entryName = value; }
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline void SetEntryName(Aws::String&& value) { m_entryNameHasBeenSet = true; m_entryName = std::move(value); }
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline void SetEntryName(const char* value) { m_entryNameHasBeenSet = true; m_entryName.assign(value); }
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline DatasetContentDeliveryRule& WithEntryName(const Aws::String& value) { SetEntryName(value); return *this;}
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline DatasetContentDeliveryRule& WithEntryName(Aws::String&& value) { SetEntryName(std::move(value)); return *this;}
/**
* <p>The name of the data set content delivery rules entry.</p>
*/
inline DatasetContentDeliveryRule& WithEntryName(const char* value) { SetEntryName(value); return *this;}
/**
* <p>The destination to which data set contents are delivered.</p>
*/
inline const DatasetContentDeliveryDestination& GetDestination() const{ return m_destination; }
/**
* <p>The destination to which data set contents are delivered.</p>
*/
inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
/**
* <p>The destination to which data set contents are delivered.</p>
*/
inline void SetDestination(const DatasetContentDeliveryDestination& value) { m_destinationHasBeenSet = true; m_destination = value; }
/**
* <p>The destination to which data set contents are delivered.</p>
*/
inline void SetDestination(DatasetContentDeliveryDestination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
/**
* <p>The destination to which data set contents are delivered.</p>
*/
inline DatasetContentDeliveryRule& WithDestination(const DatasetContentDeliveryDestination& value) { SetDestination(value); return *this;}
/**
* <p>The destination to which data set contents are delivered.</p>
*/
inline DatasetContentDeliveryRule& WithDestination(DatasetContentDeliveryDestination&& value) { SetDestination(std::move(value)); return *this;}
private:
Aws::String m_entryName;
bool m_entryNameHasBeenSet;
DatasetContentDeliveryDestination m_destination;
bool m_destinationHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class DatasetContentState
{
NOT_SET,
CREATING,
SUCCEEDED,
FAILED
};
namespace DatasetContentStateMapper
{
AWS_IOTANALYTICS_API DatasetContentState GetDatasetContentStateForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForDatasetContentState(DatasetContentState value);
} // namespace DatasetContentStateMapper
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/DatasetContentState.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 IoTAnalytics
{
namespace Model
{
/**
* <p>The state of the data set contents and the reason they are in this
* state.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetContentStatus">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetContentStatus
{
public:
DatasetContentStatus();
DatasetContentStatus(Aws::Utils::Json::JsonView jsonValue);
DatasetContentStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The state of the data set contents. Can be one of "READY", "CREATING",
* "SUCCEEDED" or "FAILED".</p>
*/
inline const DatasetContentState& GetState() const{ return m_state; }
/**
* <p>The state of the data set contents. Can be one of "READY", "CREATING",
* "SUCCEEDED" or "FAILED".</p>
*/
inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
/**
* <p>The state of the data set contents. Can be one of "READY", "CREATING",
* "SUCCEEDED" or "FAILED".</p>
*/
inline void SetState(const DatasetContentState& value) { m_stateHasBeenSet = true; m_state = value; }
/**
* <p>The state of the data set contents. Can be one of "READY", "CREATING",
* "SUCCEEDED" or "FAILED".</p>
*/
inline void SetState(DatasetContentState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
/**
* <p>The state of the data set contents. Can be one of "READY", "CREATING",
* "SUCCEEDED" or "FAILED".</p>
*/
inline DatasetContentStatus& WithState(const DatasetContentState& value) { SetState(value); return *this;}
/**
* <p>The state of the data set contents. Can be one of "READY", "CREATING",
* "SUCCEEDED" or "FAILED".</p>
*/
inline DatasetContentStatus& WithState(DatasetContentState&& value) { SetState(std::move(value)); return *this;}
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline const Aws::String& GetReason() const{ return m_reason; }
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline DatasetContentStatus& WithReason(const Aws::String& value) { SetReason(value); return *this;}
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline DatasetContentStatus& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
/**
* <p>The reason the data set contents are in this state.</p>
*/
inline DatasetContentStatus& WithReason(const char* value) { SetReason(value); return *this;}
private:
DatasetContentState m_state;
bool m_stateHasBeenSet;
Aws::String m_reason;
bool m_reasonHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,226 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatasetContentStatus.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Summary information about data set contents.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetContentSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetContentSummary
{
public:
DatasetContentSummary();
DatasetContentSummary(Aws::Utils::Json::JsonView jsonValue);
DatasetContentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The version of the data set contents.</p>
*/
inline const Aws::String& GetVersion() const{ return m_version; }
/**
* <p>The version of the data set contents.</p>
*/
inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
/**
* <p>The version of the data set contents.</p>
*/
inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
/**
* <p>The version of the data set contents.</p>
*/
inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
/**
* <p>The version of the data set contents.</p>
*/
inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
/**
* <p>The version of the data set contents.</p>
*/
inline DatasetContentSummary& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
/**
* <p>The version of the data set contents.</p>
*/
inline DatasetContentSummary& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
/**
* <p>The version of the data set contents.</p>
*/
inline DatasetContentSummary& WithVersion(const char* value) { SetVersion(value); return *this;}
/**
* <p>The status of the data set contents.</p>
*/
inline const DatasetContentStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the data set contents.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the data set contents.</p>
*/
inline void SetStatus(const DatasetContentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the data set contents.</p>
*/
inline void SetStatus(DatasetContentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the data set contents.</p>
*/
inline DatasetContentSummary& WithStatus(const DatasetContentStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the data set contents.</p>
*/
inline DatasetContentSummary& WithStatus(DatasetContentStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The actual time the creation of the data set contents was started.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>The actual time the creation of the data set contents was started.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>The actual time the creation of the data set contents was started.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>The actual time the creation of the data set contents was started.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>The actual time the creation of the data set contents was started.</p>
*/
inline DatasetContentSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>The actual time the creation of the data set contents was started.</p>
*/
inline DatasetContentSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The time the creation of the data set contents was scheduled to start.</p>
*/
inline const Aws::Utils::DateTime& GetScheduleTime() const{ return m_scheduleTime; }
/**
* <p>The time the creation of the data set contents was scheduled to start.</p>
*/
inline bool ScheduleTimeHasBeenSet() const { return m_scheduleTimeHasBeenSet; }
/**
* <p>The time the creation of the data set contents was scheduled to start.</p>
*/
inline void SetScheduleTime(const Aws::Utils::DateTime& value) { m_scheduleTimeHasBeenSet = true; m_scheduleTime = value; }
/**
* <p>The time the creation of the data set contents was scheduled to start.</p>
*/
inline void SetScheduleTime(Aws::Utils::DateTime&& value) { m_scheduleTimeHasBeenSet = true; m_scheduleTime = std::move(value); }
/**
* <p>The time the creation of the data set contents was scheduled to start.</p>
*/
inline DatasetContentSummary& WithScheduleTime(const Aws::Utils::DateTime& value) { SetScheduleTime(value); return *this;}
/**
* <p>The time the creation of the data set contents was scheduled to start.</p>
*/
inline DatasetContentSummary& WithScheduleTime(Aws::Utils::DateTime&& value) { SetScheduleTime(std::move(value)); return *this;}
/**
* <p>The time the dataset content status was updated to SUCCEEDED or FAILED.</p>
*/
inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
/**
* <p>The time the dataset content status was updated to SUCCEEDED or FAILED.</p>
*/
inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
/**
* <p>The time the dataset content status was updated to SUCCEEDED or FAILED.</p>
*/
inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
/**
* <p>The time the dataset content status was updated to SUCCEEDED or FAILED.</p>
*/
inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
/**
* <p>The time the dataset content status was updated to SUCCEEDED or FAILED.</p>
*/
inline DatasetContentSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;}
/**
* <p>The time the dataset content status was updated to SUCCEEDED or FAILED.</p>
*/
inline DatasetContentSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
private:
Aws::String m_version;
bool m_versionHasBeenSet;
DatasetContentStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_scheduleTime;
bool m_scheduleTimeHasBeenSet;
Aws::Utils::DateTime m_completionTime;
bool m_completionTimeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>The data set whose latest contents are used as input to the notebook or
* application.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetContentVersionValue">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetContentVersionValue
{
public:
DatasetContentVersionValue();
DatasetContentVersionValue(Aws::Utils::Json::JsonView jsonValue);
DatasetContentVersionValue& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline DatasetContentVersionValue& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline DatasetContentVersionValue& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set whose latest contents are used as input to the
* notebook or application.</p>
*/
inline DatasetContentVersionValue& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,132 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>The reference to a data set entry.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetEntry">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetEntry
{
public:
DatasetEntry();
DatasetEntry(Aws::Utils::Json::JsonView jsonValue);
DatasetEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data set item.</p>
*/
inline const Aws::String& GetEntryName() const{ return m_entryName; }
/**
* <p>The name of the data set item.</p>
*/
inline bool EntryNameHasBeenSet() const { return m_entryNameHasBeenSet; }
/**
* <p>The name of the data set item.</p>
*/
inline void SetEntryName(const Aws::String& value) { m_entryNameHasBeenSet = true; m_entryName = value; }
/**
* <p>The name of the data set item.</p>
*/
inline void SetEntryName(Aws::String&& value) { m_entryNameHasBeenSet = true; m_entryName = std::move(value); }
/**
* <p>The name of the data set item.</p>
*/
inline void SetEntryName(const char* value) { m_entryNameHasBeenSet = true; m_entryName.assign(value); }
/**
* <p>The name of the data set item.</p>
*/
inline DatasetEntry& WithEntryName(const Aws::String& value) { SetEntryName(value); return *this;}
/**
* <p>The name of the data set item.</p>
*/
inline DatasetEntry& WithEntryName(Aws::String&& value) { SetEntryName(std::move(value)); return *this;}
/**
* <p>The name of the data set item.</p>
*/
inline DatasetEntry& WithEntryName(const char* value) { SetEntryName(value); return *this;}
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline const Aws::String& GetDataURI() const{ return m_dataURI; }
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline bool DataURIHasBeenSet() const { return m_dataURIHasBeenSet; }
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline void SetDataURI(const Aws::String& value) { m_dataURIHasBeenSet = true; m_dataURI = value; }
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline void SetDataURI(Aws::String&& value) { m_dataURIHasBeenSet = true; m_dataURI = std::move(value); }
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline void SetDataURI(const char* value) { m_dataURIHasBeenSet = true; m_dataURI.assign(value); }
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline DatasetEntry& WithDataURI(const Aws::String& value) { SetDataURI(value); return *this;}
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline DatasetEntry& WithDataURI(Aws::String&& value) { SetDataURI(std::move(value)); return *this;}
/**
* <p>The pre-signed URI of the data set item.</p>
*/
inline DatasetEntry& WithDataURI(const char* value) { SetDataURI(value); return *this;}
private:
Aws::String m_entryName;
bool m_entryNameHasBeenSet;
Aws::String m_dataURI;
bool m_dataURIHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class DatasetStatus
{
NOT_SET,
CREATING,
ACTIVE,
DELETING
};
namespace DatasetStatusMapper
{
AWS_IOTANALYTICS_API DatasetStatus GetDatasetStatusForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForDatasetStatus(DatasetStatus value);
} // namespace DatasetStatusMapper
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,299 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatasetStatus.h>
#include <aws/core/utils/DateTime.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/iotanalytics/model/DatasetTrigger.h>
#include <aws/iotanalytics/model/DatasetActionSummary.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>A summary of information about a data set.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetSummary
{
public:
DatasetSummary();
DatasetSummary(Aws::Utils::Json::JsonView jsonValue);
DatasetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data set.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set.</p>
*/
inline DatasetSummary& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline DatasetSummary& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set.</p>
*/
inline DatasetSummary& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
/**
* <p>The status of the data set.</p>
*/
inline const DatasetStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the data set.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the data set.</p>
*/
inline void SetStatus(const DatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the data set.</p>
*/
inline void SetStatus(DatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the data set.</p>
*/
inline DatasetSummary& WithStatus(const DatasetStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the data set.</p>
*/
inline DatasetSummary& WithStatus(DatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>The time the data set was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>The time the data set was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>The time the data set was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>The time the data set was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>The time the data set was created.</p>
*/
inline DatasetSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>The time the data set was created.</p>
*/
inline DatasetSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The last time the data set was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>The last time the data set was updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>The last time the data set was updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>The last time the data set was updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>The last time the data set was updated.</p>
*/
inline DatasetSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>The last time the data set was updated.</p>
*/
inline DatasetSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline const Aws::Vector<DatasetTrigger>& GetTriggers() const{ return m_triggers; }
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline bool TriggersHasBeenSet() const { return m_triggersHasBeenSet; }
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline void SetTriggers(const Aws::Vector<DatasetTrigger>& value) { m_triggersHasBeenSet = true; m_triggers = value; }
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline void SetTriggers(Aws::Vector<DatasetTrigger>&& value) { m_triggersHasBeenSet = true; m_triggers = std::move(value); }
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline DatasetSummary& WithTriggers(const Aws::Vector<DatasetTrigger>& value) { SetTriggers(value); return *this;}
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline DatasetSummary& WithTriggers(Aws::Vector<DatasetTrigger>&& value) { SetTriggers(std::move(value)); return *this;}
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline DatasetSummary& AddTriggers(const DatasetTrigger& value) { m_triggersHasBeenSet = true; m_triggers.push_back(value); return *this; }
/**
* <p>A list of triggers. A trigger causes data set content to be populated at a
* specified time interval or when another data set is populated. The list of
* triggers can be empty or contain up to five DataSetTrigger objects</p>
*/
inline DatasetSummary& AddTriggers(DatasetTrigger&& value) { m_triggersHasBeenSet = true; m_triggers.push_back(std::move(value)); return *this; }
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline const Aws::Vector<DatasetActionSummary>& GetActions() const{ return m_actions; }
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline void SetActions(const Aws::Vector<DatasetActionSummary>& value) { m_actionsHasBeenSet = true; m_actions = value; }
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline void SetActions(Aws::Vector<DatasetActionSummary>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline DatasetSummary& WithActions(const Aws::Vector<DatasetActionSummary>& value) { SetActions(value); return *this;}
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline DatasetSummary& WithActions(Aws::Vector<DatasetActionSummary>&& value) { SetActions(std::move(value)); return *this;}
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline DatasetSummary& AddActions(const DatasetActionSummary& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
/**
* <p>A list of "DataActionSummary" objects.</p>
*/
inline DatasetSummary& AddActions(DatasetActionSummary&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
DatasetStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
Aws::Vector<DatasetTrigger> m_triggers;
bool m_triggersHasBeenSet;
Aws::Vector<DatasetActionSummary> m_actions;
bool m_actionsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/Schedule.h>
#include <aws/iotanalytics/model/TriggeringDataset.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>The "DatasetTrigger" that specifies when the data set is automatically
* updated.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatasetTrigger">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatasetTrigger
{
public:
DatasetTrigger();
DatasetTrigger(Aws::Utils::Json::JsonView jsonValue);
DatasetTrigger& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The "Schedule" when the trigger is initiated.</p>
*/
inline const Schedule& GetSchedule() const{ return m_schedule; }
/**
* <p>The "Schedule" when the trigger is initiated.</p>
*/
inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
/**
* <p>The "Schedule" when the trigger is initiated.</p>
*/
inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
/**
* <p>The "Schedule" when the trigger is initiated.</p>
*/
inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
/**
* <p>The "Schedule" when the trigger is initiated.</p>
*/
inline DatasetTrigger& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
/**
* <p>The "Schedule" when the trigger is initiated.</p>
*/
inline DatasetTrigger& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
/**
* <p>The data set whose content creation triggers the creation of this data set's
* contents.</p>
*/
inline const TriggeringDataset& GetDataset() const{ return m_dataset; }
/**
* <p>The data set whose content creation triggers the creation of this data set's
* contents.</p>
*/
inline bool DatasetHasBeenSet() const { return m_datasetHasBeenSet; }
/**
* <p>The data set whose content creation triggers the creation of this data set's
* contents.</p>
*/
inline void SetDataset(const TriggeringDataset& value) { m_datasetHasBeenSet = true; m_dataset = value; }
/**
* <p>The data set whose content creation triggers the creation of this data set's
* contents.</p>
*/
inline void SetDataset(TriggeringDataset&& value) { m_datasetHasBeenSet = true; m_dataset = std::move(value); }
/**
* <p>The data set whose content creation triggers the creation of this data set's
* contents.</p>
*/
inline DatasetTrigger& WithDataset(const TriggeringDataset& value) { SetDataset(value); return *this;}
/**
* <p>The data set whose content creation triggers the creation of this data set's
* contents.</p>
*/
inline DatasetTrigger& WithDataset(TriggeringDataset&& value) { SetDataset(std::move(value)); return *this;}
private:
Schedule m_schedule;
bool m_scheduleHasBeenSet;
TriggeringDataset m_dataset;
bool m_datasetHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,342 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatastoreStorage.h>
#include <aws/iotanalytics/model/DatastoreStatus.h>
#include <aws/iotanalytics/model/RetentionPeriod.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Information about a data store.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/Datastore">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API Datastore
{
public:
Datastore();
Datastore(Aws::Utils::Json::JsonView jsonValue);
Datastore& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data store.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the data store.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the data store.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the data store.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the data store.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the data store.</p>
*/
inline Datastore& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline Datastore& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline Datastore& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline const DatastoreStorage& GetStorage() const{ return m_storage; }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline void SetStorage(const DatastoreStorage& value) { m_storageHasBeenSet = true; m_storage = value; }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline void SetStorage(DatastoreStorage&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline Datastore& WithStorage(const DatastoreStorage& value) { SetStorage(value); return *this;}
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is created.</p>
*/
inline Datastore& WithStorage(DatastoreStorage&& value) { SetStorage(std::move(value)); return *this;}
/**
* <p>The ARN of the data store.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN of the data store.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The ARN of the data store.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The ARN of the data store.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The ARN of the data store.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The ARN of the data store.</p>
*/
inline Datastore& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN of the data store.</p>
*/
inline Datastore& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the data store.</p>
*/
inline Datastore& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The status of a data store:</p> <dl> <dt>CREATING</dt> <dd> <p>The data store
* is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The data store has been
* created and can be used.</p> </dd> <dt>DELETING</dt> <dd> <p>The data store is
* being deleted.</p> </dd> </dl>
*/
inline const DatastoreStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of a data store:</p> <dl> <dt>CREATING</dt> <dd> <p>The data store
* is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The data store has been
* created and can be used.</p> </dd> <dt>DELETING</dt> <dd> <p>The data store is
* being deleted.</p> </dd> </dl>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of a data store:</p> <dl> <dt>CREATING</dt> <dd> <p>The data store
* is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The data store has been
* created and can be used.</p> </dd> <dt>DELETING</dt> <dd> <p>The data store is
* being deleted.</p> </dd> </dl>
*/
inline void SetStatus(const DatastoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of a data store:</p> <dl> <dt>CREATING</dt> <dd> <p>The data store
* is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The data store has been
* created and can be used.</p> </dd> <dt>DELETING</dt> <dd> <p>The data store is
* being deleted.</p> </dd> </dl>
*/
inline void SetStatus(DatastoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of a data store:</p> <dl> <dt>CREATING</dt> <dd> <p>The data store
* is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The data store has been
* created and can be used.</p> </dd> <dt>DELETING</dt> <dd> <p>The data store is
* being deleted.</p> </dd> </dl>
*/
inline Datastore& WithStatus(const DatastoreStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of a data store:</p> <dl> <dt>CREATING</dt> <dd> <p>The data store
* is being created.</p> </dd> <dt>ACTIVE</dt> <dd> <p>The data store has been
* created and can be used.</p> </dd> <dt>DELETING</dt> <dd> <p>The data store is
* being deleted.</p> </dd> </dl>
*/
inline Datastore& WithStatus(DatastoreStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline const RetentionPeriod& GetRetentionPeriod() const{ return m_retentionPeriod; }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline bool RetentionPeriodHasBeenSet() const { return m_retentionPeriodHasBeenSet; }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline void SetRetentionPeriod(const RetentionPeriod& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = value; }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline void SetRetentionPeriod(RetentionPeriod&& value) { m_retentionPeriodHasBeenSet = true; m_retentionPeriod = std::move(value); }
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline Datastore& WithRetentionPeriod(const RetentionPeriod& value) { SetRetentionPeriod(value); return *this;}
/**
* <p>How long, in days, message data is kept for the data store. When
* "customerManagedS3" storage is selected, this parameter is ignored.</p>
*/
inline Datastore& WithRetentionPeriod(RetentionPeriod&& value) { SetRetentionPeriod(std::move(value)); return *this;}
/**
* <p>When the data store was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the data store was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>When the data store was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>When the data store was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>When the data store was created.</p>
*/
inline Datastore& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the data store was created.</p>
*/
inline Datastore& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The last time the data store was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>The last time the data store was updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>The last time the data store was updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>The last time the data store was updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>The last time the data store was updated.</p>
*/
inline Datastore& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>The last time the data store was updated.</p>
*/
inline Datastore& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
DatastoreStorage m_storage;
bool m_storageHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
DatastoreStatus m_status;
bool m_statusHasBeenSet;
RetentionPeriod m_retentionPeriod;
bool m_retentionPeriodHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,133 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>The 'datastore' activity that specifies where to store the processed
* data.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatastoreActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatastoreActivity
{
public:
DatastoreActivity();
DatastoreActivity(Aws::Utils::Json::JsonView jsonValue);
DatastoreActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline DatastoreActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline DatastoreActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'datastore' activity.</p>
*/
inline DatastoreActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline DatastoreActivity& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline DatastoreActivity& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
/**
* <p>The name of the data store where processed messages are stored.</p>
*/
inline DatastoreActivity& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_datastoreName;
bool m_datastoreNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,78 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/EstimatedResourceSize.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Statistical information about the data store.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatastoreStatistics">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatastoreStatistics
{
public:
DatastoreStatistics();
DatastoreStatistics(Aws::Utils::Json::JsonView jsonValue);
DatastoreStatistics& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The estimated size of the data store.</p>
*/
inline const EstimatedResourceSize& GetSize() const{ return m_size; }
/**
* <p>The estimated size of the data store.</p>
*/
inline bool SizeHasBeenSet() const { return m_sizeHasBeenSet; }
/**
* <p>The estimated size of the data store.</p>
*/
inline void SetSize(const EstimatedResourceSize& value) { m_sizeHasBeenSet = true; m_size = value; }
/**
* <p>The estimated size of the data store.</p>
*/
inline void SetSize(EstimatedResourceSize&& value) { m_sizeHasBeenSet = true; m_size = std::move(value); }
/**
* <p>The estimated size of the data store.</p>
*/
inline DatastoreStatistics& WithSize(const EstimatedResourceSize& value) { SetSize(value); return *this;}
/**
* <p>The estimated size of the data store.</p>
*/
inline DatastoreStatistics& WithSize(EstimatedResourceSize&& value) { SetSize(std::move(value)); return *this;}
private:
EstimatedResourceSize m_size;
bool m_sizeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class DatastoreStatus
{
NOT_SET,
CREATING,
ACTIVE,
DELETING
};
namespace DatastoreStatusMapper
{
AWS_IOTANALYTICS_API DatastoreStatus GetDatastoreStatusForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForDatastoreStatus(DatastoreStatus value);
} // namespace DatastoreStatusMapper
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,146 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/ServiceManagedDatastoreS3Storage.h>
#include <aws/iotanalytics/model/CustomerManagedDatastoreS3Storage.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Where data store data is stored. You may choose one of "serviceManagedS3" or
* "customerManagedS3" storage. If not specified, the default is
* "serviceManagedS3". This cannot be changed after the data store is
* created.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatastoreStorage">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatastoreStorage
{
public:
DatastoreStorage();
DatastoreStorage(Aws::Utils::Json::JsonView jsonValue);
DatastoreStorage& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Use this to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the data store.</p>
*/
inline const ServiceManagedDatastoreS3Storage& GetServiceManagedS3() const{ return m_serviceManagedS3; }
/**
* <p>Use this to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the data store.</p>
*/
inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
/**
* <p>Use this to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the data store.</p>
*/
inline void SetServiceManagedS3(const ServiceManagedDatastoreS3Storage& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = value; }
/**
* <p>Use this to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the data store.</p>
*/
inline void SetServiceManagedS3(ServiceManagedDatastoreS3Storage&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::move(value); }
/**
* <p>Use this to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the data store.</p>
*/
inline DatastoreStorage& WithServiceManagedS3(const ServiceManagedDatastoreS3Storage& value) { SetServiceManagedS3(value); return *this;}
/**
* <p>Use this to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service. The choice of service-managed or customer-managed S3 storage
* cannot be changed after creation of the data store.</p>
*/
inline DatastoreStorage& WithServiceManagedS3(ServiceManagedDatastoreS3Storage&& value) { SetServiceManagedS3(std::move(value)); return *this;}
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p>
*/
inline const CustomerManagedDatastoreS3Storage& GetCustomerManagedS3() const{ return m_customerManagedS3; }
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p>
*/
inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p>
*/
inline void SetCustomerManagedS3(const CustomerManagedDatastoreS3Storage& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = value; }
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p>
*/
inline void SetCustomerManagedS3(CustomerManagedDatastoreS3Storage&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::move(value); }
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p>
*/
inline DatastoreStorage& WithCustomerManagedS3(const CustomerManagedDatastoreS3Storage& value) { SetCustomerManagedS3(value); return *this;}
/**
* <p>Use this to store data store data in an S3 bucket that you manage. When
* customer managed storage is selected, the "retentionPeriod" parameter is
* ignored. The choice of service-managed or customer-managed S3 storage cannot be
* changed after creation of the data store.</p>
*/
inline DatastoreStorage& WithCustomerManagedS3(CustomerManagedDatastoreS3Storage&& value) { SetCustomerManagedS3(std::move(value)); return *this;}
private:
ServiceManagedDatastoreS3Storage m_serviceManagedS3;
bool m_serviceManagedS3HasBeenSet;
CustomerManagedDatastoreS3Storage m_customerManagedS3;
bool m_customerManagedS3HasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,119 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/ServiceManagedDatastoreS3StorageSummary.h>
#include <aws/iotanalytics/model/CustomerManagedDatastoreS3StorageSummary.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Where data store data is stored.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatastoreStorageSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatastoreStorageSummary
{
public:
DatastoreStorageSummary();
DatastoreStorageSummary(Aws::Utils::Json::JsonView jsonValue);
DatastoreStorageSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Used to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service.</p>
*/
inline const ServiceManagedDatastoreS3StorageSummary& GetServiceManagedS3() const{ return m_serviceManagedS3; }
/**
* <p>Used to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service.</p>
*/
inline bool ServiceManagedS3HasBeenSet() const { return m_serviceManagedS3HasBeenSet; }
/**
* <p>Used to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service.</p>
*/
inline void SetServiceManagedS3(const ServiceManagedDatastoreS3StorageSummary& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = value; }
/**
* <p>Used to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service.</p>
*/
inline void SetServiceManagedS3(ServiceManagedDatastoreS3StorageSummary&& value) { m_serviceManagedS3HasBeenSet = true; m_serviceManagedS3 = std::move(value); }
/**
* <p>Used to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service.</p>
*/
inline DatastoreStorageSummary& WithServiceManagedS3(const ServiceManagedDatastoreS3StorageSummary& value) { SetServiceManagedS3(value); return *this;}
/**
* <p>Used to store data store data in an S3 bucket managed by the AWS IoT
* Analytics service.</p>
*/
inline DatastoreStorageSummary& WithServiceManagedS3(ServiceManagedDatastoreS3StorageSummary&& value) { SetServiceManagedS3(std::move(value)); return *this;}
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p>
*/
inline const CustomerManagedDatastoreS3StorageSummary& GetCustomerManagedS3() const{ return m_customerManagedS3; }
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p>
*/
inline bool CustomerManagedS3HasBeenSet() const { return m_customerManagedS3HasBeenSet; }
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p>
*/
inline void SetCustomerManagedS3(const CustomerManagedDatastoreS3StorageSummary& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = value; }
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p>
*/
inline void SetCustomerManagedS3(CustomerManagedDatastoreS3StorageSummary&& value) { m_customerManagedS3HasBeenSet = true; m_customerManagedS3 = std::move(value); }
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p>
*/
inline DatastoreStorageSummary& WithCustomerManagedS3(const CustomerManagedDatastoreS3StorageSummary& value) { SetCustomerManagedS3(value); return *this;}
/**
* <p>Used to store data store data in an S3 bucket that you manage.</p>
*/
inline DatastoreStorageSummary& WithCustomerManagedS3(CustomerManagedDatastoreS3StorageSummary&& value) { SetCustomerManagedS3(std::move(value)); return *this;}
private:
ServiceManagedDatastoreS3StorageSummary m_serviceManagedS3;
bool m_serviceManagedS3HasBeenSet;
CustomerManagedDatastoreS3StorageSummary m_customerManagedS3;
bool m_customerManagedS3HasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,227 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatastoreStorageSummary.h>
#include <aws/iotanalytics/model/DatastoreStatus.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>A summary of information about a data store.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DatastoreSummary">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DatastoreSummary
{
public:
DatastoreSummary();
DatastoreSummary(Aws::Utils::Json::JsonView jsonValue);
DatastoreSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the data store.</p>
*/
inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
/**
* <p>The name of the data store.</p>
*/
inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
/**
* <p>The name of the data store.</p>
*/
inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
/**
* <p>The name of the data store.</p>
*/
inline DatastoreSummary& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline DatastoreSummary& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
/**
* <p>The name of the data store.</p>
*/
inline DatastoreSummary& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
/**
* <p>Where data store data is stored.</p>
*/
inline const DatastoreStorageSummary& GetDatastoreStorage() const{ return m_datastoreStorage; }
/**
* <p>Where data store data is stored.</p>
*/
inline bool DatastoreStorageHasBeenSet() const { return m_datastoreStorageHasBeenSet; }
/**
* <p>Where data store data is stored.</p>
*/
inline void SetDatastoreStorage(const DatastoreStorageSummary& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = value; }
/**
* <p>Where data store data is stored.</p>
*/
inline void SetDatastoreStorage(DatastoreStorageSummary&& value) { m_datastoreStorageHasBeenSet = true; m_datastoreStorage = std::move(value); }
/**
* <p>Where data store data is stored.</p>
*/
inline DatastoreSummary& WithDatastoreStorage(const DatastoreStorageSummary& value) { SetDatastoreStorage(value); return *this;}
/**
* <p>Where data store data is stored.</p>
*/
inline DatastoreSummary& WithDatastoreStorage(DatastoreStorageSummary&& value) { SetDatastoreStorage(std::move(value)); return *this;}
/**
* <p>The status of the data store.</p>
*/
inline const DatastoreStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the data store.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The status of the data store.</p>
*/
inline void SetStatus(const DatastoreStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The status of the data store.</p>
*/
inline void SetStatus(DatastoreStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The status of the data store.</p>
*/
inline DatastoreSummary& WithStatus(const DatastoreStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the data store.</p>
*/
inline DatastoreSummary& WithStatus(DatastoreStatus&& value) { SetStatus(std::move(value)); return *this;}
/**
* <p>When the data store was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the data store was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>When the data store was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>When the data store was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>When the data store was created.</p>
*/
inline DatastoreSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the data store was created.</p>
*/
inline DatastoreSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The last time the data store was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>The last time the data store was updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>The last time the data store was updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>The last time the data store was updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>The last time the data store was updated.</p>
*/
inline DatastoreSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>The last time the data store was updated.</p>
*/
inline DatastoreSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
private:
Aws::String m_datastoreName;
bool m_datastoreNameHasBeenSet;
DatastoreStorageSummary m_datastoreStorage;
bool m_datastoreStorageHasBeenSet;
DatastoreStatus m_status;
bool m_statusHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DeleteChannelRequest : public IoTAnalyticsRequest
{
public:
DeleteChannelRequest();
// 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 "DeleteChannel"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the channel to delete.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel to delete.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel to delete.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel to delete.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel to delete.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel to delete.</p>
*/
inline DeleteChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel to delete.</p>
*/
inline DeleteChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel to delete.</p>
*/
inline DeleteChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DeleteDatasetContentRequest : public IoTAnalyticsRequest
{
public:
DeleteDatasetContentRequest();
// 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 "DeleteDatasetContent"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline DeleteDatasetContentRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline DeleteDatasetContentRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set whose content is deleted.</p>
*/
inline DeleteDatasetContentRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline const Aws::String& GetVersionId() const{ return m_versionId; }
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline DeleteDatasetContentRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline DeleteDatasetContentRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
/**
* <p>The version of the data set whose content is deleted. You can also use the
* strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest
* successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the
* default.</p>
*/
inline DeleteDatasetContentRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
Aws::String m_versionId;
bool m_versionIdHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DeleteDatasetRequest : public IoTAnalyticsRequest
{
public:
DeleteDatasetRequest();
// 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 "DeleteDataset"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the data set to delete.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set to delete.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set to delete.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set to delete.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set to delete.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set to delete.</p>
*/
inline DeleteDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set to delete.</p>
*/
inline DeleteDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set to delete.</p>
*/
inline DeleteDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DeleteDatastoreRequest : public IoTAnalyticsRequest
{
public:
DeleteDatastoreRequest();
// 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 "DeleteDatastore"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the data store to delete.</p>
*/
inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
/**
* <p>The name of the data store to delete.</p>
*/
inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
/**
* <p>The name of the data store to delete.</p>
*/
inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
/**
* <p>The name of the data store to delete.</p>
*/
inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
/**
* <p>The name of the data store to delete.</p>
*/
inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
/**
* <p>The name of the data store to delete.</p>
*/
inline DeleteDatastoreRequest& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
/**
* <p>The name of the data store to delete.</p>
*/
inline DeleteDatastoreRequest& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
/**
* <p>The name of the data store to delete.</p>
*/
inline DeleteDatastoreRequest& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
private:
Aws::String m_datastoreName;
bool m_datastoreNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DeletePipelineRequest : public IoTAnalyticsRequest
{
public:
DeletePipelineRequest();
// 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 "DeletePipeline"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the pipeline to delete.</p>
*/
inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
/**
* <p>The name of the pipeline to delete.</p>
*/
inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
/**
* <p>The name of the pipeline to delete.</p>
*/
inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
/**
* <p>The name of the pipeline to delete.</p>
*/
inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
/**
* <p>The name of the pipeline to delete.</p>
*/
inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
/**
* <p>The name of the pipeline to delete.</p>
*/
inline DeletePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
/**
* <p>The name of the pipeline to delete.</p>
*/
inline DeletePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
/**
* <p>The name of the pipeline to delete.</p>
*/
inline DeletePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
private:
Aws::String m_pipelineName;
bool m_pipelineNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Used to limit data to that which has arrived since the last execution of the
* action.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeltaTime">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DeltaTime
{
public:
DeltaTime();
DeltaTime(Aws::Utils::Json::JsonView jsonValue);
DeltaTime& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The number of seconds of estimated "in flight" lag time of message data. When
* you create data set contents using message data from a specified time frame,
* some message data may still be "in flight" when processing begins, and so will
* not arrive in time to be processed. Use this field to make allowances for the
* "in flight" time of your message data, so that data not processed from a
* previous time frame will be included with the next time frame. Without this,
* missed message data would be excluded from processing during the next time frame
* as well, because its timestamp places it within the previous time frame.</p>
*/
inline int GetOffsetSeconds() const{ return m_offsetSeconds; }
/**
* <p>The number of seconds of estimated "in flight" lag time of message data. When
* you create data set contents using message data from a specified time frame,
* some message data may still be "in flight" when processing begins, and so will
* not arrive in time to be processed. Use this field to make allowances for the
* "in flight" time of your message data, so that data not processed from a
* previous time frame will be included with the next time frame. Without this,
* missed message data would be excluded from processing during the next time frame
* as well, because its timestamp places it within the previous time frame.</p>
*/
inline bool OffsetSecondsHasBeenSet() const { return m_offsetSecondsHasBeenSet; }
/**
* <p>The number of seconds of estimated "in flight" lag time of message data. When
* you create data set contents using message data from a specified time frame,
* some message data may still be "in flight" when processing begins, and so will
* not arrive in time to be processed. Use this field to make allowances for the
* "in flight" time of your message data, so that data not processed from a
* previous time frame will be included with the next time frame. Without this,
* missed message data would be excluded from processing during the next time frame
* as well, because its timestamp places it within the previous time frame.</p>
*/
inline void SetOffsetSeconds(int value) { m_offsetSecondsHasBeenSet = true; m_offsetSeconds = value; }
/**
* <p>The number of seconds of estimated "in flight" lag time of message data. When
* you create data set contents using message data from a specified time frame,
* some message data may still be "in flight" when processing begins, and so will
* not arrive in time to be processed. Use this field to make allowances for the
* "in flight" time of your message data, so that data not processed from a
* previous time frame will be included with the next time frame. Without this,
* missed message data would be excluded from processing during the next time frame
* as well, because its timestamp places it within the previous time frame.</p>
*/
inline DeltaTime& WithOffsetSeconds(int value) { SetOffsetSeconds(value); return *this;}
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline const Aws::String& GetTimeExpression() const{ return m_timeExpression; }
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline bool TimeExpressionHasBeenSet() const { return m_timeExpressionHasBeenSet; }
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline void SetTimeExpression(const Aws::String& value) { m_timeExpressionHasBeenSet = true; m_timeExpression = value; }
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline void SetTimeExpression(Aws::String&& value) { m_timeExpressionHasBeenSet = true; m_timeExpression = std::move(value); }
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline void SetTimeExpression(const char* value) { m_timeExpressionHasBeenSet = true; m_timeExpression.assign(value); }
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline DeltaTime& WithTimeExpression(const Aws::String& value) { SetTimeExpression(value); return *this;}
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline DeltaTime& WithTimeExpression(Aws::String&& value) { SetTimeExpression(std::move(value)); return *this;}
/**
* <p>An expression by which the time of the message data may be determined. This
* may be the name of a timestamp field, or a SQL expression which is used to
* derive the time the message data was generated.</p>
*/
inline DeltaTime& WithTimeExpression(const char* value) { SetTimeExpression(value); return *this;}
private:
int m_offsetSeconds;
bool m_offsetSecondsHasBeenSet;
Aws::String m_timeExpression;
bool m_timeExpressionHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DescribeChannelRequest : public IoTAnalyticsRequest
{
public:
DescribeChannelRequest();
// 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 "DescribeChannel"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline const Aws::String& GetChannelName() const{ return m_channelName; }
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline void SetChannelName(const Aws::String& value) { m_channelNameHasBeenSet = true; m_channelName = value; }
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline void SetChannelName(Aws::String&& value) { m_channelNameHasBeenSet = true; m_channelName = std::move(value); }
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline void SetChannelName(const char* value) { m_channelNameHasBeenSet = true; m_channelName.assign(value); }
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline DescribeChannelRequest& WithChannelName(const Aws::String& value) { SetChannelName(value); return *this;}
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline DescribeChannelRequest& WithChannelName(Aws::String&& value) { SetChannelName(std::move(value)); return *this;}
/**
* <p>The name of the channel whose information is retrieved.</p>
*/
inline DescribeChannelRequest& WithChannelName(const char* value) { SetChannelName(value); return *this;}
/**
* <p>If true, additional statistical information about the channel is included in
* the response. This feature cannot be used with a channel whose S3 storage is
* customer-managed.</p>
*/
inline bool GetIncludeStatistics() const{ return m_includeStatistics; }
/**
* <p>If true, additional statistical information about the channel is included in
* the response. This feature cannot be used with a channel whose S3 storage is
* customer-managed.</p>
*/
inline bool IncludeStatisticsHasBeenSet() const { return m_includeStatisticsHasBeenSet; }
/**
* <p>If true, additional statistical information about the channel is included in
* the response. This feature cannot be used with a channel whose S3 storage is
* customer-managed.</p>
*/
inline void SetIncludeStatistics(bool value) { m_includeStatisticsHasBeenSet = true; m_includeStatistics = value; }
/**
* <p>If true, additional statistical information about the channel is included in
* the response. This feature cannot be used with a channel whose S3 storage is
* customer-managed.</p>
*/
inline DescribeChannelRequest& WithIncludeStatistics(bool value) { SetIncludeStatistics(value); return *this;}
private:
Aws::String m_channelName;
bool m_channelNameHasBeenSet;
bool m_includeStatistics;
bool m_includeStatisticsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,101 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/Channel.h>
#include <aws/iotanalytics/model/ChannelStatistics.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API DescribeChannelResult
{
public:
DescribeChannelResult();
DescribeChannelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeChannelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that contains information about the channel.</p>
*/
inline const Channel& GetChannel() const{ return m_channel; }
/**
* <p>An object that contains information about the channel.</p>
*/
inline void SetChannel(const Channel& value) { m_channel = value; }
/**
* <p>An object that contains information about the channel.</p>
*/
inline void SetChannel(Channel&& value) { m_channel = std::move(value); }
/**
* <p>An object that contains information about the channel.</p>
*/
inline DescribeChannelResult& WithChannel(const Channel& value) { SetChannel(value); return *this;}
/**
* <p>An object that contains information about the channel.</p>
*/
inline DescribeChannelResult& WithChannel(Channel&& value) { SetChannel(std::move(value)); return *this;}
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline const ChannelStatistics& GetStatistics() const{ return m_statistics; }
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline void SetStatistics(const ChannelStatistics& value) { m_statistics = value; }
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline void SetStatistics(ChannelStatistics&& value) { m_statistics = std::move(value); }
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline DescribeChannelResult& WithStatistics(const ChannelStatistics& value) { SetStatistics(value); return *this;}
/**
* <p>Statistics about the channel. Included if the 'includeStatistics' parameter
* is set to true in the request.</p>
*/
inline DescribeChannelResult& WithStatistics(ChannelStatistics&& value) { SetStatistics(std::move(value)); return *this;}
private:
Channel m_channel;
ChannelStatistics m_statistics;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DescribeDatasetRequest : public IoTAnalyticsRequest
{
public:
DescribeDatasetRequest();
// 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 "DescribeDataset"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline DescribeDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline DescribeDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set whose information is retrieved.</p>
*/
inline DescribeDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/Dataset.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API DescribeDatasetResult
{
public:
DescribeDatasetResult();
DescribeDatasetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeDatasetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that contains information about the data set.</p>
*/
inline const Dataset& GetDataset() const{ return m_dataset; }
/**
* <p>An object that contains information about the data set.</p>
*/
inline void SetDataset(const Dataset& value) { m_dataset = value; }
/**
* <p>An object that contains information about the data set.</p>
*/
inline void SetDataset(Dataset&& value) { m_dataset = std::move(value); }
/**
* <p>An object that contains information about the data set.</p>
*/
inline DescribeDatasetResult& WithDataset(const Dataset& value) { SetDataset(value); return *this;}
/**
* <p>An object that contains information about the data set.</p>
*/
inline DescribeDatasetResult& WithDataset(Dataset&& value) { SetDataset(std::move(value)); return *this;}
private:
Dataset m_dataset;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DescribeDatastoreRequest : public IoTAnalyticsRequest
{
public:
DescribeDatastoreRequest();
// 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 "DescribeDatastore"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The name of the data store</p>
*/
inline const Aws::String& GetDatastoreName() const{ return m_datastoreName; }
/**
* <p>The name of the data store</p>
*/
inline bool DatastoreNameHasBeenSet() const { return m_datastoreNameHasBeenSet; }
/**
* <p>The name of the data store</p>
*/
inline void SetDatastoreName(const Aws::String& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = value; }
/**
* <p>The name of the data store</p>
*/
inline void SetDatastoreName(Aws::String&& value) { m_datastoreNameHasBeenSet = true; m_datastoreName = std::move(value); }
/**
* <p>The name of the data store</p>
*/
inline void SetDatastoreName(const char* value) { m_datastoreNameHasBeenSet = true; m_datastoreName.assign(value); }
/**
* <p>The name of the data store</p>
*/
inline DescribeDatastoreRequest& WithDatastoreName(const Aws::String& value) { SetDatastoreName(value); return *this;}
/**
* <p>The name of the data store</p>
*/
inline DescribeDatastoreRequest& WithDatastoreName(Aws::String&& value) { SetDatastoreName(std::move(value)); return *this;}
/**
* <p>The name of the data store</p>
*/
inline DescribeDatastoreRequest& WithDatastoreName(const char* value) { SetDatastoreName(value); return *this;}
/**
* <p>If true, additional statistical information about the data store is included
* in the response. This feature cannot be used with a data store whose S3 storage
* is customer-managed.</p>
*/
inline bool GetIncludeStatistics() const{ return m_includeStatistics; }
/**
* <p>If true, additional statistical information about the data store is included
* in the response. This feature cannot be used with a data store whose S3 storage
* is customer-managed.</p>
*/
inline bool IncludeStatisticsHasBeenSet() const { return m_includeStatisticsHasBeenSet; }
/**
* <p>If true, additional statistical information about the data store is included
* in the response. This feature cannot be used with a data store whose S3 storage
* is customer-managed.</p>
*/
inline void SetIncludeStatistics(bool value) { m_includeStatisticsHasBeenSet = true; m_includeStatistics = value; }
/**
* <p>If true, additional statistical information about the data store is included
* in the response. This feature cannot be used with a data store whose S3 storage
* is customer-managed.</p>
*/
inline DescribeDatastoreRequest& WithIncludeStatistics(bool value) { SetIncludeStatistics(value); return *this;}
private:
Aws::String m_datastoreName;
bool m_datastoreNameHasBeenSet;
bool m_includeStatistics;
bool m_includeStatisticsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,101 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/Datastore.h>
#include <aws/iotanalytics/model/DatastoreStatistics.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API DescribeDatastoreResult
{
public:
DescribeDatastoreResult();
DescribeDatastoreResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeDatastoreResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the data store.</p>
*/
inline const Datastore& GetDatastore() const{ return m_datastore; }
/**
* <p>Information about the data store.</p>
*/
inline void SetDatastore(const Datastore& value) { m_datastore = value; }
/**
* <p>Information about the data store.</p>
*/
inline void SetDatastore(Datastore&& value) { m_datastore = std::move(value); }
/**
* <p>Information about the data store.</p>
*/
inline DescribeDatastoreResult& WithDatastore(const Datastore& value) { SetDatastore(value); return *this;}
/**
* <p>Information about the data store.</p>
*/
inline DescribeDatastoreResult& WithDatastore(Datastore&& value) { SetDatastore(std::move(value)); return *this;}
/**
* <p>Additional statistical information about the data store. Included if the
* 'includeStatistics' parameter is set to true in the request.</p>
*/
inline const DatastoreStatistics& GetStatistics() const{ return m_statistics; }
/**
* <p>Additional statistical information about the data store. Included if the
* 'includeStatistics' parameter is set to true in the request.</p>
*/
inline void SetStatistics(const DatastoreStatistics& value) { m_statistics = value; }
/**
* <p>Additional statistical information about the data store. Included if the
* 'includeStatistics' parameter is set to true in the request.</p>
*/
inline void SetStatistics(DatastoreStatistics&& value) { m_statistics = std::move(value); }
/**
* <p>Additional statistical information about the data store. Included if the
* 'includeStatistics' parameter is set to true in the request.</p>
*/
inline DescribeDatastoreResult& WithStatistics(const DatastoreStatistics& value) { SetStatistics(value); return *this;}
/**
* <p>Additional statistical information about the data store. Included if the
* 'includeStatistics' parameter is set to true in the request.</p>
*/
inline DescribeDatastoreResult& WithStatistics(DatastoreStatistics&& value) { SetStatistics(std::move(value)); return *this;}
private:
Datastore m_datastore;
DatastoreStatistics m_statistics;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DescribeLoggingOptionsRequest : public IoTAnalyticsRequest
{
public:
DescribeLoggingOptionsRequest();
// 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 "DescribeLoggingOptions"; }
Aws::String SerializePayload() const override;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/LoggingOptions.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API DescribeLoggingOptionsResult
{
public:
DescribeLoggingOptionsResult();
DescribeLoggingOptionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeLoggingOptionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The current settings of the AWS IoT Analytics logging options.</p>
*/
inline const LoggingOptions& GetLoggingOptions() const{ return m_loggingOptions; }
/**
* <p>The current settings of the AWS IoT Analytics logging options.</p>
*/
inline void SetLoggingOptions(const LoggingOptions& value) { m_loggingOptions = value; }
/**
* <p>The current settings of the AWS IoT Analytics logging options.</p>
*/
inline void SetLoggingOptions(LoggingOptions&& value) { m_loggingOptions = std::move(value); }
/**
* <p>The current settings of the AWS IoT Analytics logging options.</p>
*/
inline DescribeLoggingOptionsResult& WithLoggingOptions(const LoggingOptions& value) { SetLoggingOptions(value); return *this;}
/**
* <p>The current settings of the AWS IoT Analytics logging options.</p>
*/
inline DescribeLoggingOptionsResult& WithLoggingOptions(LoggingOptions&& value) { SetLoggingOptions(std::move(value)); return *this;}
private:
LoggingOptions m_loggingOptions;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,83 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API DescribePipelineRequest : public IoTAnalyticsRequest
{
public:
DescribePipelineRequest();
// 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 "DescribePipeline"; }
Aws::String SerializePayload() const override;
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline DescribePipelineRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline DescribePipelineRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
/**
* <p>The name of the pipeline whose information is retrieved.</p>
*/
inline DescribePipelineRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
private:
Aws::String m_pipelineName;
bool m_pipelineNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/Pipeline.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API DescribePipelineResult
{
public:
DescribePipelineResult();
DescribePipelineResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribePipelineResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A "Pipeline" object that contains information about the pipeline.</p>
*/
inline const Pipeline& GetPipeline() const{ return m_pipeline; }
/**
* <p>A "Pipeline" object that contains information about the pipeline.</p>
*/
inline void SetPipeline(const Pipeline& value) { m_pipeline = value; }
/**
* <p>A "Pipeline" object that contains information about the pipeline.</p>
*/
inline void SetPipeline(Pipeline&& value) { m_pipeline = std::move(value); }
/**
* <p>A "Pipeline" object that contains information about the pipeline.</p>
*/
inline DescribePipelineResult& WithPipeline(const Pipeline& value) { SetPipeline(value); return *this;}
/**
* <p>A "Pipeline" object that contains information about the pipeline.</p>
*/
inline DescribePipelineResult& WithPipeline(Pipeline&& value) { SetPipeline(std::move(value)); return *this;}
private:
Pipeline m_pipeline;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,281 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that adds data from the AWS IoT device registry to your
* message.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeviceRegistryEnrichActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DeviceRegistryEnrichActivity
{
public:
DeviceRegistryEnrichActivity();
DeviceRegistryEnrichActivity(Aws::Utils::Json::JsonView jsonValue);
DeviceRegistryEnrichActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline DeviceRegistryEnrichActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline DeviceRegistryEnrichActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'deviceRegistryEnrich' activity.</p>
*/
inline DeviceRegistryEnrichActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline const Aws::String& GetAttribute() const{ return m_attribute; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceRegistryEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceRegistryEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceRegistryEnrichActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;}
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline const Aws::String& GetThingName() const{ return m_thingName; }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline DeviceRegistryEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline DeviceRegistryEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
/**
* <p>The name of the IoT device whose registry information is added to the
* message.</p>
*/
inline DeviceRegistryEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;}
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline DeviceRegistryEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline DeviceRegistryEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role that allows access to the device's registry
* information.</p>
*/
inline DeviceRegistryEnrichActivity& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceRegistryEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceRegistryEnrichActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceRegistryEnrichActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_attribute;
bool m_attributeHasBeenSet;
Aws::String m_thingName;
bool m_thingNameHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,273 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that adds information from the AWS IoT Device Shadows service to
* a message.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeviceShadowEnrichActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API DeviceShadowEnrichActivity
{
public:
DeviceShadowEnrichActivity();
DeviceShadowEnrichActivity(Aws::Utils::Json::JsonView jsonValue);
DeviceShadowEnrichActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline DeviceShadowEnrichActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline DeviceShadowEnrichActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'deviceShadowEnrich' activity.</p>
*/
inline DeviceShadowEnrichActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline const Aws::String& GetAttribute() const{ return m_attribute; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); }
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceShadowEnrichActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceShadowEnrichActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
/**
* <p>The name of the attribute that is added to the message.</p>
*/
inline DeviceShadowEnrichActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;}
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline const Aws::String& GetThingName() const{ return m_thingName; }
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline bool ThingNameHasBeenSet() const { return m_thingNameHasBeenSet; }
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline void SetThingName(const Aws::String& value) { m_thingNameHasBeenSet = true; m_thingName = value; }
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline void SetThingName(Aws::String&& value) { m_thingNameHasBeenSet = true; m_thingName = std::move(value); }
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline void SetThingName(const char* value) { m_thingNameHasBeenSet = true; m_thingName.assign(value); }
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline DeviceShadowEnrichActivity& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline DeviceShadowEnrichActivity& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
/**
* <p>The name of the IoT device whose shadow information is added to the
* message.</p>
*/
inline DeviceShadowEnrichActivity& WithThingName(const char* value) { SetThingName(value); return *this;}
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline DeviceShadowEnrichActivity& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline DeviceShadowEnrichActivity& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role that allows access to the device's shadow.</p>
*/
inline DeviceShadowEnrichActivity& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceShadowEnrichActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceShadowEnrichActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline DeviceShadowEnrichActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_attribute;
bool m_attributeHasBeenSet;
Aws::String m_thingName;
bool m_thingNameHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,102 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>The estimated size of the resource.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/EstimatedResourceSize">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API EstimatedResourceSize
{
public:
EstimatedResourceSize();
EstimatedResourceSize(Aws::Utils::Json::JsonView jsonValue);
EstimatedResourceSize& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The estimated size of the resource in bytes.</p>
*/
inline double GetEstimatedSizeInBytes() const{ return m_estimatedSizeInBytes; }
/**
* <p>The estimated size of the resource in bytes.</p>
*/
inline bool EstimatedSizeInBytesHasBeenSet() const { return m_estimatedSizeInBytesHasBeenSet; }
/**
* <p>The estimated size of the resource in bytes.</p>
*/
inline void SetEstimatedSizeInBytes(double value) { m_estimatedSizeInBytesHasBeenSet = true; m_estimatedSizeInBytes = value; }
/**
* <p>The estimated size of the resource in bytes.</p>
*/
inline EstimatedResourceSize& WithEstimatedSizeInBytes(double value) { SetEstimatedSizeInBytes(value); return *this;}
/**
* <p>The time when the estimate of the size of the resource was made.</p>
*/
inline const Aws::Utils::DateTime& GetEstimatedOn() const{ return m_estimatedOn; }
/**
* <p>The time when the estimate of the size of the resource was made.</p>
*/
inline bool EstimatedOnHasBeenSet() const { return m_estimatedOnHasBeenSet; }
/**
* <p>The time when the estimate of the size of the resource was made.</p>
*/
inline void SetEstimatedOn(const Aws::Utils::DateTime& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = value; }
/**
* <p>The time when the estimate of the size of the resource was made.</p>
*/
inline void SetEstimatedOn(Aws::Utils::DateTime&& value) { m_estimatedOnHasBeenSet = true; m_estimatedOn = std::move(value); }
/**
* <p>The time when the estimate of the size of the resource was made.</p>
*/
inline EstimatedResourceSize& WithEstimatedOn(const Aws::Utils::DateTime& value) { SetEstimatedOn(value); return *this;}
/**
* <p>The time when the estimate of the size of the resource was made.</p>
*/
inline EstimatedResourceSize& WithEstimatedOn(Aws::Utils::DateTime&& value) { SetEstimatedOn(std::move(value)); return *this;}
private:
double m_estimatedSizeInBytes;
bool m_estimatedSizeInBytesHasBeenSet;
Aws::Utils::DateTime m_estimatedOn;
bool m_estimatedOnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,185 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that filters a message based on its attributes.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/FilterActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API FilterActivity
{
public:
FilterActivity();
FilterActivity(Aws::Utils::Json::JsonView jsonValue);
FilterActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'filter' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'filter' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'filter' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'filter' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'filter' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'filter' activity.</p>
*/
inline FilterActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'filter' activity.</p>
*/
inline FilterActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'filter' activity.</p>
*/
inline FilterActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline const Aws::String& GetFilter() const{ return m_filter; }
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline void SetFilter(const Aws::String& value) { m_filterHasBeenSet = true; m_filter = value; }
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline void SetFilter(Aws::String&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline void SetFilter(const char* value) { m_filterHasBeenSet = true; m_filter.assign(value); }
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline FilterActivity& WithFilter(const Aws::String& value) { SetFilter(value); return *this;}
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline FilterActivity& WithFilter(Aws::String&& value) { SetFilter(std::move(value)); return *this;}
/**
* <p>An expression that looks like a SQL WHERE clause that must return a Boolean
* value.</p>
*/
inline FilterActivity& WithFilter(const char* value) { SetFilter(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline FilterActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline FilterActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline FilterActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_filter;
bool m_filterHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API GetDatasetContentRequest : public IoTAnalyticsRequest
{
public:
GetDatasetContentRequest();
// 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 "GetDatasetContent"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline GetDatasetContentRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline GetDatasetContentRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set whose contents are retrieved.</p>
*/
inline GetDatasetContentRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline const Aws::String& GetVersionId() const{ return m_versionId; }
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline GetDatasetContentRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline GetDatasetContentRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
/**
* <p>The version of the data set whose contents are retrieved. You can also use
* the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the
* latest or latest successfully completed data set. If not specified,
* "$LATEST_SUCCEEDED" is the default.</p>
*/
inline GetDatasetContentRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
Aws::String m_versionId;
bool m_versionIdHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,136 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/DateTime.h>
#include <aws/iotanalytics/model/DatasetContentStatus.h>
#include <aws/iotanalytics/model/DatasetEntry.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API GetDatasetContentResult
{
public:
GetDatasetContentResult();
GetDatasetContentResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
GetDatasetContentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline const Aws::Vector<DatasetEntry>& GetEntries() const{ return m_entries; }
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline void SetEntries(const Aws::Vector<DatasetEntry>& value) { m_entries = value; }
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline void SetEntries(Aws::Vector<DatasetEntry>&& value) { m_entries = std::move(value); }
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline GetDatasetContentResult& WithEntries(const Aws::Vector<DatasetEntry>& value) { SetEntries(value); return *this;}
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline GetDatasetContentResult& WithEntries(Aws::Vector<DatasetEntry>&& value) { SetEntries(std::move(value)); return *this;}
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline GetDatasetContentResult& AddEntries(const DatasetEntry& value) { m_entries.push_back(value); return *this; }
/**
* <p>A list of "DatasetEntry" objects.</p>
*/
inline GetDatasetContentResult& AddEntries(DatasetEntry&& value) { m_entries.push_back(std::move(value)); return *this; }
/**
* <p>The time when the request was made.</p>
*/
inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
/**
* <p>The time when the request was made.</p>
*/
inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestamp = value; }
/**
* <p>The time when the request was made.</p>
*/
inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestamp = std::move(value); }
/**
* <p>The time when the request was made.</p>
*/
inline GetDatasetContentResult& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
/**
* <p>The time when the request was made.</p>
*/
inline GetDatasetContentResult& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
/**
* <p>The status of the data set content.</p>
*/
inline const DatasetContentStatus& GetStatus() const{ return m_status; }
/**
* <p>The status of the data set content.</p>
*/
inline void SetStatus(const DatasetContentStatus& value) { m_status = value; }
/**
* <p>The status of the data set content.</p>
*/
inline void SetStatus(DatasetContentStatus&& value) { m_status = std::move(value); }
/**
* <p>The status of the data set content.</p>
*/
inline GetDatasetContentResult& WithStatus(const DatasetContentStatus& value) { SetStatus(value); return *this;}
/**
* <p>The status of the data set content.</p>
*/
inline GetDatasetContentResult& WithStatus(DatasetContentStatus&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::Vector<DatasetEntry> m_entries;
Aws::Utils::DateTime m_timestamp;
DatasetContentStatus m_status;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,165 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Configuration information for coordination with the AWS Glue ETL (extract,
* transform and load) service.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/GlueConfiguration">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API GlueConfiguration
{
public:
GlueConfiguration();
GlueConfiguration(Aws::Utils::Json::JsonView jsonValue);
GlueConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline const Aws::String& GetTableName() const{ return m_tableName; }
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline GlueConfiguration& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline GlueConfiguration& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
/**
* <p>The name of the table in your AWS Glue Data Catalog which is used to perform
* the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog
* table contains partitioned data and descriptions of data sources and
* targets.)</p>
*/
inline GlueConfiguration& WithTableName(const char* value) { SetTableName(value); return *this;}
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline GlueConfiguration& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline GlueConfiguration& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
/**
* <p>The name of the database in your AWS Glue Data Catalog in which the table is
* located. (An AWS Glue Data Catalog database contains Glue Data tables.)</p>
*/
inline GlueConfiguration& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
private:
Aws::String m_tableName;
bool m_tableNameHasBeenSet;
Aws::String m_databaseName;
bool m_databaseNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,149 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>Configuration information for delivery of data set contents to AWS IoT
* Events.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/IotEventsDestinationConfiguration">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API IotEventsDestinationConfiguration
{
public:
IotEventsDestinationConfiguration();
IotEventsDestinationConfiguration(Aws::Utils::Json::JsonView jsonValue);
IotEventsDestinationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline const Aws::String& GetInputName() const{ return m_inputName; }
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; }
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; }
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); }
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); }
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline IotEventsDestinationConfiguration& WithInputName(const Aws::String& value) { SetInputName(value); return *this;}
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline IotEventsDestinationConfiguration& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;}
/**
* <p>The name of the AWS IoT Events input to which data set contents are
* delivered.</p>
*/
inline IotEventsDestinationConfiguration& WithInputName(const char* value) { SetInputName(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline IotEventsDestinationConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline IotEventsDestinationConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role which grants AWS IoT Analytics permission to deliver data
* set contents to an AWS IoT Events input.</p>
*/
inline IotEventsDestinationConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
private:
Aws::String m_inputName;
bool m_inputNameHasBeenSet;
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,209 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that runs a Lambda function to modify the message.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/LambdaActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API LambdaActivity
{
public:
LambdaActivity();
LambdaActivity(Aws::Utils::Json::JsonView jsonValue);
LambdaActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline LambdaActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline LambdaActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'lambda' activity.</p>
*/
inline LambdaActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline const Aws::String& GetLambdaName() const{ return m_lambdaName; }
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline bool LambdaNameHasBeenSet() const { return m_lambdaNameHasBeenSet; }
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline void SetLambdaName(const Aws::String& value) { m_lambdaNameHasBeenSet = true; m_lambdaName = value; }
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline void SetLambdaName(Aws::String&& value) { m_lambdaNameHasBeenSet = true; m_lambdaName = std::move(value); }
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline void SetLambdaName(const char* value) { m_lambdaNameHasBeenSet = true; m_lambdaName.assign(value); }
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline LambdaActivity& WithLambdaName(const Aws::String& value) { SetLambdaName(value); return *this;}
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline LambdaActivity& WithLambdaName(Aws::String&& value) { SetLambdaName(std::move(value)); return *this;}
/**
* <p>The name of the Lambda function that is run on the message.</p>
*/
inline LambdaActivity& WithLambdaName(const char* value) { SetLambdaName(value); return *this;}
/**
* <p>The number of messages passed to the Lambda function for processing.</p>
* <p>The AWS Lambda function must be able to process all of these messages within
* five minutes, which is the maximum timeout duration for Lambda functions.</p>
*/
inline int GetBatchSize() const{ return m_batchSize; }
/**
* <p>The number of messages passed to the Lambda function for processing.</p>
* <p>The AWS Lambda function must be able to process all of these messages within
* five minutes, which is the maximum timeout duration for Lambda functions.</p>
*/
inline bool BatchSizeHasBeenSet() const { return m_batchSizeHasBeenSet; }
/**
* <p>The number of messages passed to the Lambda function for processing.</p>
* <p>The AWS Lambda function must be able to process all of these messages within
* five minutes, which is the maximum timeout duration for Lambda functions.</p>
*/
inline void SetBatchSize(int value) { m_batchSizeHasBeenSet = true; m_batchSize = value; }
/**
* <p>The number of messages passed to the Lambda function for processing.</p>
* <p>The AWS Lambda function must be able to process all of these messages within
* five minutes, which is the maximum timeout duration for Lambda functions.</p>
*/
inline LambdaActivity& WithBatchSize(int value) { SetBatchSize(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline LambdaActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline LambdaActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline LambdaActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_lambdaName;
bool m_lambdaNameHasBeenSet;
int m_batchSize;
bool m_batchSizeHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API ListChannelsRequest : public IoTAnalyticsRequest
{
public:
ListChannelsRequest();
// 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 "ListChannels"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The token for the next set of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token for the next set of results.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline ListChannelsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListChannelsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListChannelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline ListChannelsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/ChannelSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API ListChannelsResult
{
public:
ListChannelsResult();
ListChannelsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListChannelsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline const Aws::Vector<ChannelSummary>& GetChannelSummaries() const{ return m_channelSummaries; }
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline void SetChannelSummaries(const Aws::Vector<ChannelSummary>& value) { m_channelSummaries = value; }
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline void SetChannelSummaries(Aws::Vector<ChannelSummary>&& value) { m_channelSummaries = std::move(value); }
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline ListChannelsResult& WithChannelSummaries(const Aws::Vector<ChannelSummary>& value) { SetChannelSummaries(value); return *this;}
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline ListChannelsResult& WithChannelSummaries(Aws::Vector<ChannelSummary>&& value) { SetChannelSummaries(std::move(value)); return *this;}
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline ListChannelsResult& AddChannelSummaries(const ChannelSummary& value) { m_channelSummaries.push_back(value); return *this; }
/**
* <p>A list of "ChannelSummary" objects.</p>
*/
inline ListChannelsResult& AddChannelSummaries(ChannelSummary&& value) { m_channelSummaries.push_back(std::move(value)); return *this; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListChannelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListChannelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListChannelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<ChannelSummary> m_channelSummaries;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,250 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API ListDatasetContentsRequest : public IoTAnalyticsRequest
{
public:
ListDatasetContentsRequest();
// 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 "ListDatasetContents"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline ListDatasetContentsRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline ListDatasetContentsRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
/**
* <p>The name of the data set whose contents information you want to list.</p>
*/
inline ListDatasetContentsRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token for the next set of results.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatasetContentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatasetContentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatasetContentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return in this request.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return in this request.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return in this request.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return in this request.</p>
*/
inline ListDatasetContentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled on or after the given time. See the field
* <code>triggers.schedule</code> in the CreateDataset request. (timestamp)</p>
*/
inline const Aws::Utils::DateTime& GetScheduledOnOrAfter() const{ return m_scheduledOnOrAfter; }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled on or after the given time. See the field
* <code>triggers.schedule</code> in the CreateDataset request. (timestamp)</p>
*/
inline bool ScheduledOnOrAfterHasBeenSet() const { return m_scheduledOnOrAfterHasBeenSet; }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled on or after the given time. See the field
* <code>triggers.schedule</code> in the CreateDataset request. (timestamp)</p>
*/
inline void SetScheduledOnOrAfter(const Aws::Utils::DateTime& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = value; }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled on or after the given time. See the field
* <code>triggers.schedule</code> in the CreateDataset request. (timestamp)</p>
*/
inline void SetScheduledOnOrAfter(Aws::Utils::DateTime&& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = std::move(value); }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled on or after the given time. See the field
* <code>triggers.schedule</code> in the CreateDataset request. (timestamp)</p>
*/
inline ListDatasetContentsRequest& WithScheduledOnOrAfter(const Aws::Utils::DateTime& value) { SetScheduledOnOrAfter(value); return *this;}
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled on or after the given time. See the field
* <code>triggers.schedule</code> in the CreateDataset request. (timestamp)</p>
*/
inline ListDatasetContentsRequest& WithScheduledOnOrAfter(Aws::Utils::DateTime&& value) { SetScheduledOnOrAfter(std::move(value)); return *this;}
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled before the given time. See the field <code>triggers.schedule</code> in
* the CreateDataset request. (timestamp)</p>
*/
inline const Aws::Utils::DateTime& GetScheduledBefore() const{ return m_scheduledBefore; }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled before the given time. See the field <code>triggers.schedule</code> in
* the CreateDataset request. (timestamp)</p>
*/
inline bool ScheduledBeforeHasBeenSet() const { return m_scheduledBeforeHasBeenSet; }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled before the given time. See the field <code>triggers.schedule</code> in
* the CreateDataset request. (timestamp)</p>
*/
inline void SetScheduledBefore(const Aws::Utils::DateTime& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = value; }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled before the given time. See the field <code>triggers.schedule</code> in
* the CreateDataset request. (timestamp)</p>
*/
inline void SetScheduledBefore(Aws::Utils::DateTime&& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = std::move(value); }
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled before the given time. See the field <code>triggers.schedule</code> in
* the CreateDataset request. (timestamp)</p>
*/
inline ListDatasetContentsRequest& WithScheduledBefore(const Aws::Utils::DateTime& value) { SetScheduledBefore(value); return *this;}
/**
* <p>A filter to limit results to those data set contents whose creation is
* scheduled before the given time. See the field <code>triggers.schedule</code> in
* the CreateDataset request. (timestamp)</p>
*/
inline ListDatasetContentsRequest& WithScheduledBefore(Aws::Utils::DateTime&& value) { SetScheduledBefore(std::move(value)); return *this;}
private:
Aws::String m_datasetName;
bool m_datasetNameHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::Utils::DateTime m_scheduledOnOrAfter;
bool m_scheduledOnOrAfterHasBeenSet;
Aws::Utils::DateTime m_scheduledBefore;
bool m_scheduledBeforeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatasetContentSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API ListDatasetContentsResult
{
public:
ListDatasetContentsResult();
ListDatasetContentsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListDatasetContentsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline const Aws::Vector<DatasetContentSummary>& GetDatasetContentSummaries() const{ return m_datasetContentSummaries; }
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline void SetDatasetContentSummaries(const Aws::Vector<DatasetContentSummary>& value) { m_datasetContentSummaries = value; }
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline void SetDatasetContentSummaries(Aws::Vector<DatasetContentSummary>&& value) { m_datasetContentSummaries = std::move(value); }
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline ListDatasetContentsResult& WithDatasetContentSummaries(const Aws::Vector<DatasetContentSummary>& value) { SetDatasetContentSummaries(value); return *this;}
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline ListDatasetContentsResult& WithDatasetContentSummaries(Aws::Vector<DatasetContentSummary>&& value) { SetDatasetContentSummaries(std::move(value)); return *this;}
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline ListDatasetContentsResult& AddDatasetContentSummaries(const DatasetContentSummary& value) { m_datasetContentSummaries.push_back(value); return *this; }
/**
* <p>Summary information about data set contents that have been created.</p>
*/
inline ListDatasetContentsResult& AddDatasetContentSummaries(DatasetContentSummary&& value) { m_datasetContentSummaries.push_back(std::move(value)); return *this; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatasetContentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatasetContentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatasetContentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<DatasetContentSummary> m_datasetContentSummaries;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API ListDatasetsRequest : public IoTAnalyticsRequest
{
public:
ListDatasetsRequest();
// 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 "ListDatasets"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The token for the next set of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token for the next set of results.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatasetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatasetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatasetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline ListDatasetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatasetSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API ListDatasetsResult
{
public:
ListDatasetsResult();
ListDatasetsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListDatasetsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline const Aws::Vector<DatasetSummary>& GetDatasetSummaries() const{ return m_datasetSummaries; }
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline void SetDatasetSummaries(const Aws::Vector<DatasetSummary>& value) { m_datasetSummaries = value; }
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline void SetDatasetSummaries(Aws::Vector<DatasetSummary>&& value) { m_datasetSummaries = std::move(value); }
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline ListDatasetsResult& WithDatasetSummaries(const Aws::Vector<DatasetSummary>& value) { SetDatasetSummaries(value); return *this;}
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline ListDatasetsResult& WithDatasetSummaries(Aws::Vector<DatasetSummary>&& value) { SetDatasetSummaries(std::move(value)); return *this;}
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline ListDatasetsResult& AddDatasetSummaries(const DatasetSummary& value) { m_datasetSummaries.push_back(value); return *this; }
/**
* <p>A list of "DatasetSummary" objects.</p>
*/
inline ListDatasetsResult& AddDatasetSummaries(DatasetSummary&& value) { m_datasetSummaries.push_back(std::move(value)); return *this; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatasetsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatasetsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatasetsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<DatasetSummary> m_datasetSummaries;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API ListDatastoresRequest : public IoTAnalyticsRequest
{
public:
ListDatastoresRequest();
// 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 "ListDatastores"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The token for the next set of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token for the next set of results.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatastoresRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatastoresRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListDatastoresRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline ListDatastoresRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/DatastoreSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API ListDatastoresResult
{
public:
ListDatastoresResult();
ListDatastoresResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListDatastoresResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline const Aws::Vector<DatastoreSummary>& GetDatastoreSummaries() const{ return m_datastoreSummaries; }
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline void SetDatastoreSummaries(const Aws::Vector<DatastoreSummary>& value) { m_datastoreSummaries = value; }
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline void SetDatastoreSummaries(Aws::Vector<DatastoreSummary>&& value) { m_datastoreSummaries = std::move(value); }
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline ListDatastoresResult& WithDatastoreSummaries(const Aws::Vector<DatastoreSummary>& value) { SetDatastoreSummaries(value); return *this;}
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline ListDatastoresResult& WithDatastoreSummaries(Aws::Vector<DatastoreSummary>&& value) { SetDatastoreSummaries(std::move(value)); return *this;}
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline ListDatastoresResult& AddDatastoreSummaries(const DatastoreSummary& value) { m_datastoreSummaries.push_back(value); return *this; }
/**
* <p>A list of "DatastoreSummary" objects.</p>
*/
inline ListDatastoresResult& AddDatastoreSummaries(DatastoreSummary&& value) { m_datastoreSummaries.push_back(std::move(value)); return *this; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatastoresResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatastoresResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListDatastoresResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<DatastoreSummary> m_datastoreSummaries;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,117 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API ListPipelinesRequest : public IoTAnalyticsRequest
{
public:
ListPipelinesRequest();
// 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 "ListPipelines"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The token for the next set of results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token for the next set of results.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The token for the next set of results.</p>
*/
inline ListPipelinesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListPipelinesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token for the next set of results.</p>
*/
inline ListPipelinesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline int GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of results to return in this request.</p> <p>The default
* value is 100.</p>
*/
inline ListPipelinesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
private:
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
int m_maxResults;
bool m_maxResultsHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,124 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/PipelineSummary.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
class AWS_IOTANALYTICS_API ListPipelinesResult
{
public:
ListPipelinesResult();
ListPipelinesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
ListPipelinesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline const Aws::Vector<PipelineSummary>& GetPipelineSummaries() const{ return m_pipelineSummaries; }
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline void SetPipelineSummaries(const Aws::Vector<PipelineSummary>& value) { m_pipelineSummaries = value; }
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline void SetPipelineSummaries(Aws::Vector<PipelineSummary>&& value) { m_pipelineSummaries = std::move(value); }
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline ListPipelinesResult& WithPipelineSummaries(const Aws::Vector<PipelineSummary>& value) { SetPipelineSummaries(value); return *this;}
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline ListPipelinesResult& WithPipelineSummaries(Aws::Vector<PipelineSummary>&& value) { SetPipelineSummaries(std::move(value)); return *this;}
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline ListPipelinesResult& AddPipelineSummaries(const PipelineSummary& value) { m_pipelineSummaries.push_back(value); return *this; }
/**
* <p>A list of "PipelineSummary" objects.</p>
*/
inline ListPipelinesResult& AddPipelineSummaries(PipelineSummary&& value) { m_pipelineSummaries.push_back(std::move(value)); return *this; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListPipelinesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListPipelinesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The token to retrieve the next set of results, or <code>null</code> if there
* are no more results.</p>
*/
inline ListPipelinesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<PipelineSummary> m_pipelineSummaries;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace IoTAnalytics
} // 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/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/IoTAnalyticsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace IoTAnalytics
{
namespace Model
{
/**
*/
class AWS_IOTANALYTICS_API ListTagsForResourceRequest : public IoTAnalyticsRequest
{
public:
ListTagsForResourceRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
/**
* <p>The ARN of the resource whose tags you want to list.</p>
*/
inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
private:
Aws::String m_resourceArn;
bool m_resourceArnHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

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

View File

@@ -0,0 +1,30 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace IoTAnalytics
{
namespace Model
{
enum class LoggingLevel
{
NOT_SET,
ERROR_
};
namespace LoggingLevelMapper
{
AWS_IOTANALYTICS_API LoggingLevel GetLoggingLevelForName(const Aws::String& name);
AWS_IOTANALYTICS_API Aws::String GetNameForLoggingLevel(LoggingLevel value);
} // namespace LoggingLevelMapper
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,155 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/iotanalytics/model/LoggingLevel.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Information about logging options.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/LoggingOptions">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API LoggingOptions
{
public:
LoggingOptions();
LoggingOptions(Aws::Utils::Json::JsonView jsonValue);
LoggingOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline LoggingOptions& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline LoggingOptions& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
/**
* <p>The ARN of the role that grants permission to AWS IoT Analytics to perform
* logging.</p>
*/
inline LoggingOptions& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
/**
* <p>The logging level. Currently, only "ERROR" is supported.</p>
*/
inline const LoggingLevel& GetLevel() const{ return m_level; }
/**
* <p>The logging level. Currently, only "ERROR" is supported.</p>
*/
inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
/**
* <p>The logging level. Currently, only "ERROR" is supported.</p>
*/
inline void SetLevel(const LoggingLevel& value) { m_levelHasBeenSet = true; m_level = value; }
/**
* <p>The logging level. Currently, only "ERROR" is supported.</p>
*/
inline void SetLevel(LoggingLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
/**
* <p>The logging level. Currently, only "ERROR" is supported.</p>
*/
inline LoggingOptions& WithLevel(const LoggingLevel& value) { SetLevel(value); return *this;}
/**
* <p>The logging level. Currently, only "ERROR" is supported.</p>
*/
inline LoggingOptions& WithLevel(LoggingLevel&& value) { SetLevel(std::move(value)); return *this;}
/**
* <p>If true, logging is enabled for AWS IoT Analytics.</p>
*/
inline bool GetEnabled() const{ return m_enabled; }
/**
* <p>If true, logging is enabled for AWS IoT Analytics.</p>
*/
inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
/**
* <p>If true, logging is enabled for AWS IoT Analytics.</p>
*/
inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
/**
* <p>If true, logging is enabled for AWS IoT Analytics.</p>
*/
inline LoggingOptions& WithEnabled(bool value) { SetEnabled(value); return *this;}
private:
Aws::String m_roleArn;
bool m_roleArnHasBeenSet;
LoggingLevel m_level;
bool m_levelHasBeenSet;
bool m_enabled;
bool m_enabledHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,229 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that computes an arithmetic expression using the message's
* attributes.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/MathActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API MathActivity
{
public:
MathActivity();
MathActivity(Aws::Utils::Json::JsonView jsonValue);
MathActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the 'math' activity.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the 'math' activity.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the 'math' activity.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the 'math' activity.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the 'math' activity.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the 'math' activity.</p>
*/
inline MathActivity& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the 'math' activity.</p>
*/
inline MathActivity& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the 'math' activity.</p>
*/
inline MathActivity& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline const Aws::String& GetAttribute() const{ return m_attribute; }
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline bool AttributeHasBeenSet() const { return m_attributeHasBeenSet; }
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline void SetAttribute(const Aws::String& value) { m_attributeHasBeenSet = true; m_attribute = value; }
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline void SetAttribute(Aws::String&& value) { m_attributeHasBeenSet = true; m_attribute = std::move(value); }
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline void SetAttribute(const char* value) { m_attributeHasBeenSet = true; m_attribute.assign(value); }
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline MathActivity& WithAttribute(const Aws::String& value) { SetAttribute(value); return *this;}
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline MathActivity& WithAttribute(Aws::String&& value) { SetAttribute(std::move(value)); return *this;}
/**
* <p>The name of the attribute that contains the result of the math operation.</p>
*/
inline MathActivity& WithAttribute(const char* value) { SetAttribute(value); return *this;}
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline const Aws::String& GetMath() const{ return m_math; }
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline bool MathHasBeenSet() const { return m_mathHasBeenSet; }
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline void SetMath(const Aws::String& value) { m_mathHasBeenSet = true; m_math = value; }
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline void SetMath(Aws::String&& value) { m_mathHasBeenSet = true; m_math = std::move(value); }
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline void SetMath(const char* value) { m_mathHasBeenSet = true; m_math.assign(value); }
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline MathActivity& WithMath(const Aws::String& value) { SetMath(value); return *this;}
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline MathActivity& WithMath(Aws::String&& value) { SetMath(std::move(value)); return *this;}
/**
* <p>An expression that uses one or more existing attributes and must return an
* integer value.</p>
*/
inline MathActivity& WithMath(const char* value) { SetMath(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline const Aws::String& GetNext() const{ return m_next; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline bool NextHasBeenSet() const { return m_nextHasBeenSet; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const Aws::String& value) { m_nextHasBeenSet = true; m_next = value; }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(Aws::String&& value) { m_nextHasBeenSet = true; m_next = std::move(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline void SetNext(const char* value) { m_nextHasBeenSet = true; m_next.assign(value); }
/**
* <p>The next activity in the pipeline.</p>
*/
inline MathActivity& WithNext(const Aws::String& value) { SetNext(value); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline MathActivity& WithNext(Aws::String&& value) { SetNext(std::move(value)); return *this;}
/**
* <p>The next activity in the pipeline.</p>
*/
inline MathActivity& WithNext(const char* value) { SetNext(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_attribute;
bool m_attributeHasBeenSet;
Aws::String m_math;
bool m_mathHasBeenSet;
Aws::String m_next;
bool m_nextHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,143 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/Array.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Information about a message.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/Message">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API Message
{
public:
Message();
Message(Aws::Utils::Json::JsonView jsonValue);
Message& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline const Aws::String& GetMessageId() const{ return m_messageId; }
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline Message& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline Message& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
/**
* <p>The ID you wish to assign to the message. Each "messageId" must be unique
* within each batch sent.</p>
*/
inline Message& WithMessageId(const char* value) { SetMessageId(value); return *this;}
/**
* <p>The payload of the message. This may be a JSON string or a Base64-encoded
* string representing binary data (in which case you must decode it by means of a
* pipeline activity).</p>
*/
inline const Aws::Utils::ByteBuffer& GetPayload() const{ return m_payload; }
/**
* <p>The payload of the message. This may be a JSON string or a Base64-encoded
* string representing binary data (in which case you must decode it by means of a
* pipeline activity).</p>
*/
inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
/**
* <p>The payload of the message. This may be a JSON string or a Base64-encoded
* string representing binary data (in which case you must decode it by means of a
* pipeline activity).</p>
*/
inline void SetPayload(const Aws::Utils::ByteBuffer& value) { m_payloadHasBeenSet = true; m_payload = value; }
/**
* <p>The payload of the message. This may be a JSON string or a Base64-encoded
* string representing binary data (in which case you must decode it by means of a
* pipeline activity).</p>
*/
inline void SetPayload(Aws::Utils::ByteBuffer&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
/**
* <p>The payload of the message. This may be a JSON string or a Base64-encoded
* string representing binary data (in which case you must decode it by means of a
* pipeline activity).</p>
*/
inline Message& WithPayload(const Aws::Utils::ByteBuffer& value) { SetPayload(value); return *this;}
/**
* <p>The payload of the message. This may be a JSON string or a Base64-encoded
* string representing binary data (in which case you must decode it by means of a
* pipeline activity).</p>
*/
inline Message& WithPayload(Aws::Utils::ByteBuffer&& value) { SetPayload(std::move(value)); return *this;}
private:
Aws::String m_messageId;
bool m_messageIdHasBeenSet;
Aws::Utils::ByteBuffer m_payload;
bool m_payloadHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,97 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_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 IoTAnalytics
{
namespace Model
{
/**
* <p>The value of the variable as a structure that specifies an output file
* URI.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/OutputFileUriValue">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API OutputFileUriValue
{
public:
OutputFileUriValue();
OutputFileUriValue(Aws::Utils::Json::JsonView jsonValue);
OutputFileUriValue& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline const Aws::String& GetFileName() const{ return m_fileName; }
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline void SetFileName(const Aws::String& value) { m_fileNameHasBeenSet = true; m_fileName = value; }
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline void SetFileName(Aws::String&& value) { m_fileNameHasBeenSet = true; m_fileName = std::move(value); }
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline void SetFileName(const char* value) { m_fileNameHasBeenSet = true; m_fileName.assign(value); }
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline OutputFileUriValue& WithFileName(const Aws::String& value) { SetFileName(value); return *this;}
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline OutputFileUriValue& WithFileName(Aws::String&& value) { SetFileName(std::move(value)); return *this;}
/**
* <p>The URI of the location where data set contents are stored, usually the URI
* of a file in an S3 bucket.</p>
*/
inline OutputFileUriValue& WithFileName(const char* value) { SetFileName(value); return *this;}
private:
Aws::String m_fileName;
bool m_fileNameHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,292 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/DateTime.h>
#include <aws/iotanalytics/model/PipelineActivity.h>
#include <aws/iotanalytics/model/ReprocessingSummary.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>Contains information about a pipeline.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/Pipeline">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API Pipeline
{
public:
Pipeline();
Pipeline(Aws::Utils::Json::JsonView jsonValue);
Pipeline& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the pipeline.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the pipeline.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the pipeline.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the pipeline.</p>
*/
inline Pipeline& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the pipeline.</p>
*/
inline Pipeline& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the pipeline.</p>
*/
inline Pipeline& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The ARN of the pipeline.</p>
*/
inline const Aws::String& GetArn() const{ return m_arn; }
/**
* <p>The ARN of the pipeline.</p>
*/
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
/**
* <p>The ARN of the pipeline.</p>
*/
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
/**
* <p>The ARN of the pipeline.</p>
*/
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
/**
* <p>The ARN of the pipeline.</p>
*/
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
/**
* <p>The ARN of the pipeline.</p>
*/
inline Pipeline& WithArn(const Aws::String& value) { SetArn(value); return *this;}
/**
* <p>The ARN of the pipeline.</p>
*/
inline Pipeline& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
/**
* <p>The ARN of the pipeline.</p>
*/
inline Pipeline& WithArn(const char* value) { SetArn(value); return *this;}
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline const Aws::Vector<PipelineActivity>& GetActivities() const{ return m_activities; }
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline bool ActivitiesHasBeenSet() const { return m_activitiesHasBeenSet; }
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline void SetActivities(const Aws::Vector<PipelineActivity>& value) { m_activitiesHasBeenSet = true; m_activities = value; }
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline void SetActivities(Aws::Vector<PipelineActivity>&& value) { m_activitiesHasBeenSet = true; m_activities = std::move(value); }
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline Pipeline& WithActivities(const Aws::Vector<PipelineActivity>& value) { SetActivities(value); return *this;}
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline Pipeline& WithActivities(Aws::Vector<PipelineActivity>&& value) { SetActivities(std::move(value)); return *this;}
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline Pipeline& AddActivities(const PipelineActivity& value) { m_activitiesHasBeenSet = true; m_activities.push_back(value); return *this; }
/**
* <p>The activities that perform transformations on the messages.</p>
*/
inline Pipeline& AddActivities(PipelineActivity&& value) { m_activitiesHasBeenSet = true; m_activities.push_back(std::move(value)); return *this; }
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline const Aws::Vector<ReprocessingSummary>& GetReprocessingSummaries() const{ return m_reprocessingSummaries; }
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline bool ReprocessingSummariesHasBeenSet() const { return m_reprocessingSummariesHasBeenSet; }
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline void SetReprocessingSummaries(const Aws::Vector<ReprocessingSummary>& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = value; }
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline void SetReprocessingSummaries(Aws::Vector<ReprocessingSummary>&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = std::move(value); }
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline Pipeline& WithReprocessingSummaries(const Aws::Vector<ReprocessingSummary>& value) { SetReprocessingSummaries(value); return *this;}
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline Pipeline& WithReprocessingSummaries(Aws::Vector<ReprocessingSummary>&& value) { SetReprocessingSummaries(std::move(value)); return *this;}
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline Pipeline& AddReprocessingSummaries(const ReprocessingSummary& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.push_back(value); return *this; }
/**
* <p>A summary of information about the pipeline reprocessing.</p>
*/
inline Pipeline& AddReprocessingSummaries(ReprocessingSummary&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.push_back(std::move(value)); return *this; }
/**
* <p>When the pipeline was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
/**
* <p>When the pipeline was created.</p>
*/
inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
/**
* <p>When the pipeline was created.</p>
*/
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
/**
* <p>When the pipeline was created.</p>
*/
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
/**
* <p>When the pipeline was created.</p>
*/
inline Pipeline& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
/**
* <p>When the pipeline was created.</p>
*/
inline Pipeline& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
/**
* <p>The last time the pipeline was updated.</p>
*/
inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
/**
* <p>The last time the pipeline was updated.</p>
*/
inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
/**
* <p>The last time the pipeline was updated.</p>
*/
inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
/**
* <p>The last time the pipeline was updated.</p>
*/
inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
/**
* <p>The last time the pipeline was updated.</p>
*/
inline Pipeline& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
/**
* <p>The last time the pipeline was updated.</p>
*/
inline Pipeline& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
Aws::String m_arn;
bool m_arnHasBeenSet;
Aws::Vector<PipelineActivity> m_activities;
bool m_activitiesHasBeenSet;
Aws::Vector<ReprocessingSummary> m_reprocessingSummaries;
bool m_reprocessingSummariesHasBeenSet;
Aws::Utils::DateTime m_creationTime;
bool m_creationTimeHasBeenSet;
Aws::Utils::DateTime m_lastUpdateTime;
bool m_lastUpdateTimeHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

View File

@@ -0,0 +1,406 @@
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
#include <aws/iotanalytics/model/ChannelActivity.h>
#include <aws/iotanalytics/model/LambdaActivity.h>
#include <aws/iotanalytics/model/DatastoreActivity.h>
#include <aws/iotanalytics/model/AddAttributesActivity.h>
#include <aws/iotanalytics/model/RemoveAttributesActivity.h>
#include <aws/iotanalytics/model/SelectAttributesActivity.h>
#include <aws/iotanalytics/model/FilterActivity.h>
#include <aws/iotanalytics/model/MathActivity.h>
#include <aws/iotanalytics/model/DeviceRegistryEnrichActivity.h>
#include <aws/iotanalytics/model/DeviceShadowEnrichActivity.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTAnalytics
{
namespace Model
{
/**
* <p>An activity that performs a transformation on a message.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/PipelineActivity">AWS
* API Reference</a></p>
*/
class AWS_IOTANALYTICS_API PipelineActivity
{
public:
PipelineActivity();
PipelineActivity(Aws::Utils::Json::JsonView jsonValue);
PipelineActivity& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Determines the source of the messages to be processed.</p>
*/
inline const ChannelActivity& GetChannel() const{ return m_channel; }
/**
* <p>Determines the source of the messages to be processed.</p>
*/
inline bool ChannelHasBeenSet() const { return m_channelHasBeenSet; }
/**
* <p>Determines the source of the messages to be processed.</p>
*/
inline void SetChannel(const ChannelActivity& value) { m_channelHasBeenSet = true; m_channel = value; }
/**
* <p>Determines the source of the messages to be processed.</p>
*/
inline void SetChannel(ChannelActivity&& value) { m_channelHasBeenSet = true; m_channel = std::move(value); }
/**
* <p>Determines the source of the messages to be processed.</p>
*/
inline PipelineActivity& WithChannel(const ChannelActivity& value) { SetChannel(value); return *this;}
/**
* <p>Determines the source of the messages to be processed.</p>
*/
inline PipelineActivity& WithChannel(ChannelActivity&& value) { SetChannel(std::move(value)); return *this;}
/**
* <p>Runs a Lambda function to modify the message.</p>
*/
inline const LambdaActivity& GetLambda() const{ return m_lambda; }
/**
* <p>Runs a Lambda function to modify the message.</p>
*/
inline bool LambdaHasBeenSet() const { return m_lambdaHasBeenSet; }
/**
* <p>Runs a Lambda function to modify the message.</p>
*/
inline void SetLambda(const LambdaActivity& value) { m_lambdaHasBeenSet = true; m_lambda = value; }
/**
* <p>Runs a Lambda function to modify the message.</p>
*/
inline void SetLambda(LambdaActivity&& value) { m_lambdaHasBeenSet = true; m_lambda = std::move(value); }
/**
* <p>Runs a Lambda function to modify the message.</p>
*/
inline PipelineActivity& WithLambda(const LambdaActivity& value) { SetLambda(value); return *this;}
/**
* <p>Runs a Lambda function to modify the message.</p>
*/
inline PipelineActivity& WithLambda(LambdaActivity&& value) { SetLambda(std::move(value)); return *this;}
/**
* <p>Specifies where to store the processed message data.</p>
*/
inline const DatastoreActivity& GetDatastore() const{ return m_datastore; }
/**
* <p>Specifies where to store the processed message data.</p>
*/
inline bool DatastoreHasBeenSet() const { return m_datastoreHasBeenSet; }
/**
* <p>Specifies where to store the processed message data.</p>
*/
inline void SetDatastore(const DatastoreActivity& value) { m_datastoreHasBeenSet = true; m_datastore = value; }
/**
* <p>Specifies where to store the processed message data.</p>
*/
inline void SetDatastore(DatastoreActivity&& value) { m_datastoreHasBeenSet = true; m_datastore = std::move(value); }
/**
* <p>Specifies where to store the processed message data.</p>
*/
inline PipelineActivity& WithDatastore(const DatastoreActivity& value) { SetDatastore(value); return *this;}
/**
* <p>Specifies where to store the processed message data.</p>
*/
inline PipelineActivity& WithDatastore(DatastoreActivity&& value) { SetDatastore(std::move(value)); return *this;}
/**
* <p>Adds other attributes based on existing attributes in the message.</p>
*/
inline const AddAttributesActivity& GetAddAttributes() const{ return m_addAttributes; }
/**
* <p>Adds other attributes based on existing attributes in the message.</p>
*/
inline bool AddAttributesHasBeenSet() const { return m_addAttributesHasBeenSet; }
/**
* <p>Adds other attributes based on existing attributes in the message.</p>
*/
inline void SetAddAttributes(const AddAttributesActivity& value) { m_addAttributesHasBeenSet = true; m_addAttributes = value; }
/**
* <p>Adds other attributes based on existing attributes in the message.</p>
*/
inline void SetAddAttributes(AddAttributesActivity&& value) { m_addAttributesHasBeenSet = true; m_addAttributes = std::move(value); }
/**
* <p>Adds other attributes based on existing attributes in the message.</p>
*/
inline PipelineActivity& WithAddAttributes(const AddAttributesActivity& value) { SetAddAttributes(value); return *this;}
/**
* <p>Adds other attributes based on existing attributes in the message.</p>
*/
inline PipelineActivity& WithAddAttributes(AddAttributesActivity&& value) { SetAddAttributes(std::move(value)); return *this;}
/**
* <p>Removes attributes from a message.</p>
*/
inline const RemoveAttributesActivity& GetRemoveAttributes() const{ return m_removeAttributes; }
/**
* <p>Removes attributes from a message.</p>
*/
inline bool RemoveAttributesHasBeenSet() const { return m_removeAttributesHasBeenSet; }
/**
* <p>Removes attributes from a message.</p>
*/
inline void SetRemoveAttributes(const RemoveAttributesActivity& value) { m_removeAttributesHasBeenSet = true; m_removeAttributes = value; }
/**
* <p>Removes attributes from a message.</p>
*/
inline void SetRemoveAttributes(RemoveAttributesActivity&& value) { m_removeAttributesHasBeenSet = true; m_removeAttributes = std::move(value); }
/**
* <p>Removes attributes from a message.</p>
*/
inline PipelineActivity& WithRemoveAttributes(const RemoveAttributesActivity& value) { SetRemoveAttributes(value); return *this;}
/**
* <p>Removes attributes from a message.</p>
*/
inline PipelineActivity& WithRemoveAttributes(RemoveAttributesActivity&& value) { SetRemoveAttributes(std::move(value)); return *this;}
/**
* <p>Creates a new message using only the specified attributes from the original
* message. </p>
*/
inline const SelectAttributesActivity& GetSelectAttributes() const{ return m_selectAttributes; }
/**
* <p>Creates a new message using only the specified attributes from the original
* message. </p>
*/
inline bool SelectAttributesHasBeenSet() const { return m_selectAttributesHasBeenSet; }
/**
* <p>Creates a new message using only the specified attributes from the original
* message. </p>
*/
inline void SetSelectAttributes(const SelectAttributesActivity& value) { m_selectAttributesHasBeenSet = true; m_selectAttributes = value; }
/**
* <p>Creates a new message using only the specified attributes from the original
* message. </p>
*/
inline void SetSelectAttributes(SelectAttributesActivity&& value) { m_selectAttributesHasBeenSet = true; m_selectAttributes = std::move(value); }
/**
* <p>Creates a new message using only the specified attributes from the original
* message. </p>
*/
inline PipelineActivity& WithSelectAttributes(const SelectAttributesActivity& value) { SetSelectAttributes(value); return *this;}
/**
* <p>Creates a new message using only the specified attributes from the original
* message. </p>
*/
inline PipelineActivity& WithSelectAttributes(SelectAttributesActivity&& value) { SetSelectAttributes(std::move(value)); return *this;}
/**
* <p>Filters a message based on its attributes.</p>
*/
inline const FilterActivity& GetFilter() const{ return m_filter; }
/**
* <p>Filters a message based on its attributes.</p>
*/
inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
/**
* <p>Filters a message based on its attributes.</p>
*/
inline void SetFilter(const FilterActivity& value) { m_filterHasBeenSet = true; m_filter = value; }
/**
* <p>Filters a message based on its attributes.</p>
*/
inline void SetFilter(FilterActivity&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
/**
* <p>Filters a message based on its attributes.</p>
*/
inline PipelineActivity& WithFilter(const FilterActivity& value) { SetFilter(value); return *this;}
/**
* <p>Filters a message based on its attributes.</p>
*/
inline PipelineActivity& WithFilter(FilterActivity&& value) { SetFilter(std::move(value)); return *this;}
/**
* <p>Computes an arithmetic expression using the message's attributes and adds it
* to the message.</p>
*/
inline const MathActivity& GetMath() const{ return m_math; }
/**
* <p>Computes an arithmetic expression using the message's attributes and adds it
* to the message.</p>
*/
inline bool MathHasBeenSet() const { return m_mathHasBeenSet; }
/**
* <p>Computes an arithmetic expression using the message's attributes and adds it
* to the message.</p>
*/
inline void SetMath(const MathActivity& value) { m_mathHasBeenSet = true; m_math = value; }
/**
* <p>Computes an arithmetic expression using the message's attributes and adds it
* to the message.</p>
*/
inline void SetMath(MathActivity&& value) { m_mathHasBeenSet = true; m_math = std::move(value); }
/**
* <p>Computes an arithmetic expression using the message's attributes and adds it
* to the message.</p>
*/
inline PipelineActivity& WithMath(const MathActivity& value) { SetMath(value); return *this;}
/**
* <p>Computes an arithmetic expression using the message's attributes and adds it
* to the message.</p>
*/
inline PipelineActivity& WithMath(MathActivity&& value) { SetMath(std::move(value)); return *this;}
/**
* <p>Adds data from the AWS IoT device registry to your message.</p>
*/
inline const DeviceRegistryEnrichActivity& GetDeviceRegistryEnrich() const{ return m_deviceRegistryEnrich; }
/**
* <p>Adds data from the AWS IoT device registry to your message.</p>
*/
inline bool DeviceRegistryEnrichHasBeenSet() const { return m_deviceRegistryEnrichHasBeenSet; }
/**
* <p>Adds data from the AWS IoT device registry to your message.</p>
*/
inline void SetDeviceRegistryEnrich(const DeviceRegistryEnrichActivity& value) { m_deviceRegistryEnrichHasBeenSet = true; m_deviceRegistryEnrich = value; }
/**
* <p>Adds data from the AWS IoT device registry to your message.</p>
*/
inline void SetDeviceRegistryEnrich(DeviceRegistryEnrichActivity&& value) { m_deviceRegistryEnrichHasBeenSet = true; m_deviceRegistryEnrich = std::move(value); }
/**
* <p>Adds data from the AWS IoT device registry to your message.</p>
*/
inline PipelineActivity& WithDeviceRegistryEnrich(const DeviceRegistryEnrichActivity& value) { SetDeviceRegistryEnrich(value); return *this;}
/**
* <p>Adds data from the AWS IoT device registry to your message.</p>
*/
inline PipelineActivity& WithDeviceRegistryEnrich(DeviceRegistryEnrichActivity&& value) { SetDeviceRegistryEnrich(std::move(value)); return *this;}
/**
* <p>Adds information from the AWS IoT Device Shadows service to a message.</p>
*/
inline const DeviceShadowEnrichActivity& GetDeviceShadowEnrich() const{ return m_deviceShadowEnrich; }
/**
* <p>Adds information from the AWS IoT Device Shadows service to a message.</p>
*/
inline bool DeviceShadowEnrichHasBeenSet() const { return m_deviceShadowEnrichHasBeenSet; }
/**
* <p>Adds information from the AWS IoT Device Shadows service to a message.</p>
*/
inline void SetDeviceShadowEnrich(const DeviceShadowEnrichActivity& value) { m_deviceShadowEnrichHasBeenSet = true; m_deviceShadowEnrich = value; }
/**
* <p>Adds information from the AWS IoT Device Shadows service to a message.</p>
*/
inline void SetDeviceShadowEnrich(DeviceShadowEnrichActivity&& value) { m_deviceShadowEnrichHasBeenSet = true; m_deviceShadowEnrich = std::move(value); }
/**
* <p>Adds information from the AWS IoT Device Shadows service to a message.</p>
*/
inline PipelineActivity& WithDeviceShadowEnrich(const DeviceShadowEnrichActivity& value) { SetDeviceShadowEnrich(value); return *this;}
/**
* <p>Adds information from the AWS IoT Device Shadows service to a message.</p>
*/
inline PipelineActivity& WithDeviceShadowEnrich(DeviceShadowEnrichActivity&& value) { SetDeviceShadowEnrich(std::move(value)); return *this;}
private:
ChannelActivity m_channel;
bool m_channelHasBeenSet;
LambdaActivity m_lambda;
bool m_lambdaHasBeenSet;
DatastoreActivity m_datastore;
bool m_datastoreHasBeenSet;
AddAttributesActivity m_addAttributes;
bool m_addAttributesHasBeenSet;
RemoveAttributesActivity m_removeAttributes;
bool m_removeAttributesHasBeenSet;
SelectAttributesActivity m_selectAttributes;
bool m_selectAttributesHasBeenSet;
FilterActivity m_filter;
bool m_filterHasBeenSet;
MathActivity m_math;
bool m_mathHasBeenSet;
DeviceRegistryEnrichActivity m_deviceRegistryEnrich;
bool m_deviceRegistryEnrichHasBeenSet;
DeviceShadowEnrichActivity m_deviceShadowEnrich;
bool m_deviceShadowEnrichHasBeenSet;
};
} // namespace Model
} // namespace IoTAnalytics
} // namespace Aws

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