86 lines
2.5 KiB
C
86 lines
2.5 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/rekognition/Rekognition_EXPORTS.h>
|
|||
|
|
#include <aws/rekognition/RekognitionRequest.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Rekognition
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_REKOGNITION_API CreateProjectRequest : public RekognitionRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CreateProjectRequest();
|
|||
|
|
|
|||
|
|
// 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 "CreateProject"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetProjectName() const{ return m_projectName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateProjectRequest& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateProjectRequest& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the project to create.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateProjectRequest& WithProjectName(const char* value) { SetProjectName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_projectName;
|
|||
|
|
bool m_projectNameHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Rekognition
|
|||
|
|
} // namespace Aws
|