84 lines
2.4 KiB
C++
84 lines
2.4 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/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
|