This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-rekognition/include/aws/rekognition/model/ProjectDescription.h

160 lines
5.0 KiB
C
Raw Normal View History

/**
* 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/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/DateTime.h>
#include <aws/rekognition/model/ProjectStatus.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Rekognition
{
namespace Model
{
/**
* <p>A description of a Amazon Rekognition Custom Labels project.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/rekognition-2016-06-27/ProjectDescription">AWS
* API Reference</a></p>
*/
class AWS_REKOGNITION_API ProjectDescription
{
public:
ProjectDescription();
ProjectDescription(Aws::Utils::Json::JsonView jsonValue);
ProjectDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline ProjectDescription& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline ProjectDescription& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
/**
* <p>The Amazon Resource Name (ARN) of the project.</p>
*/
inline ProjectDescription& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
/**
* <p>The Unix timestamp for the date and time that the project was created.</p>
*/
inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
/**
* <p>The Unix timestamp for the date and time that the project was created.</p>
*/
inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
/**
* <p>The Unix timestamp for the date and time that the project was created.</p>
*/
inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
/**
* <p>The Unix timestamp for the date and time that the project was created.</p>
*/
inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
/**
* <p>The Unix timestamp for the date and time that the project was created.</p>
*/
inline ProjectDescription& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;}
/**
* <p>The Unix timestamp for the date and time that the project was created.</p>
*/
inline ProjectDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
/**
* <p>The current status of the project.</p>
*/
inline const ProjectStatus& GetStatus() const{ return m_status; }
/**
* <p>The current status of the project.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The current status of the project.</p>
*/
inline void SetStatus(const ProjectStatus& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The current status of the project.</p>
*/
inline void SetStatus(ProjectStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The current status of the project.</p>
*/
inline ProjectDescription& WithStatus(const ProjectStatus& value) { SetStatus(value); return *this;}
/**
* <p>The current status of the project.</p>
*/
inline ProjectDescription& WithStatus(ProjectStatus&& value) { SetStatus(std::move(value)); return *this;}
private:
Aws::String m_projectArn;
bool m_projectArnHasBeenSet;
Aws::Utils::DateTime m_creationTimestamp;
bool m_creationTimestampHasBeenSet;
ProjectStatus m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace Rekognition
} // namespace Aws