145 lines
4.1 KiB
C
145 lines
4.1 KiB
C
|
|
/**
|
|||
|
|
* 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
|