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-schemas/include/aws/schemas/model/DescribeSchemaRequest.h

178 lines
5.5 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/schemas/Schemas_EXPORTS.h>
#include <aws/schemas/SchemasRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace Schemas
{
namespace Model
{
/**
*/
class AWS_SCHEMAS_API DescribeSchemaRequest : public SchemasRequest
{
public:
DescribeSchemaRequest();
// 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 "DescribeSchema"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The name of the registry.</p>
*/
inline const Aws::String& GetRegistryName() const{ return m_registryName; }
/**
* <p>The name of the registry.</p>
*/
inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
/**
* <p>The name of the registry.</p>
*/
inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
/**
* <p>The name of the registry.</p>
*/
inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
/**
* <p>The name of the registry.</p>
*/
inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
/**
* <p>The name of the registry.</p>
*/
inline DescribeSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
/**
* <p>The name of the registry.</p>
*/
inline DescribeSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
/**
* <p>The name of the registry.</p>
*/
inline DescribeSchemaRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
/**
* <p>The name of the schema.</p>
*/
inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
/**
* <p>The name of the schema.</p>
*/
inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
/**
* <p>The name of the schema.</p>
*/
inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
/**
* <p>The name of the schema.</p>
*/
inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
/**
* <p>The name of the schema.</p>
*/
inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
/**
* <p>The name of the schema.</p>
*/
inline DescribeSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
/**
* <p>The name of the schema.</p>
*/
inline DescribeSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
/**
* <p>The name of the schema.</p>
*/
inline DescribeSchemaRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline DescribeSchemaRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline DescribeSchemaRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
/**
* <p>Specifying this limits the results to only this schema version.</p>
*/
inline DescribeSchemaRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
private:
Aws::String m_registryName;
bool m_registryNameHasBeenSet;
Aws::String m_schemaName;
bool m_schemaNameHasBeenSet;
Aws::String m_schemaVersion;
bool m_schemaVersionHasBeenSet;
};
} // namespace Model
} // namespace Schemas
} // namespace Aws