101 lines
3.4 KiB
C
101 lines
3.4 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/machinelearning/MachineLearning_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 MachineLearning
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p> Represents the output of a <code>CreateMLModel</code> operation, and is an
|
|||
|
|
* acknowledgement that Amazon ML received the request.</p> <p>The
|
|||
|
|
* <code>CreateMLModel</code> operation is asynchronous. You can poll for status
|
|||
|
|
* updates by using the <code>GetMLModel</code> operation and checking the
|
|||
|
|
* <code>Status</code> parameter. </p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/machinelearning-2014-12-12/CreateMLModelOutput">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_MACHINELEARNING_API CreateMLModelResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateMLModelResult();
|
|||
|
|
CreateMLModelResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreateMLModelResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetMLModelId() const{ return m_mLModelId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMLModelId(const Aws::String& value) { m_mLModelId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMLModelId(Aws::String&& value) { m_mLModelId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetMLModelId(const char* value) { m_mLModelId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMLModelResult& WithMLModelId(const Aws::String& value) { SetMLModelId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMLModelResult& WithMLModelId(Aws::String&& value) { SetMLModelId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A user-supplied ID that uniquely identifies the <code>MLModel</code>. This
|
|||
|
|
* value should be identical to the value of the <code>MLModelId</code> in the
|
|||
|
|
* request. </p>
|
|||
|
|
*/
|
|||
|
|
inline CreateMLModelResult& WithMLModelId(const char* value) { SetMLModelId(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_mLModelId;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace MachineLearning
|
|||
|
|
} // namespace Aws
|