222 lines
6.9 KiB
C++
222 lines
6.9 KiB
C++
/**
|
|
* 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 PutCodeBindingRequest : public SchemasRequest
|
|
{
|
|
public:
|
|
PutCodeBindingRequest();
|
|
|
|
// 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 "PutCodeBinding"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
|
|
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline const Aws::String& GetLanguage() const{ return m_language; }
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The language of the code binding.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <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 PutCodeBindingRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& 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 PutCodeBindingRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the schema.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the schema.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& 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 PutCodeBindingRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
|
|
|
|
/**
|
|
* <p>Specifying this limits the results to only this schema version.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Specifying this limits the results to only this schema version.</p>
|
|
*/
|
|
inline PutCodeBindingRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_language;
|
|
bool m_languageHasBeenSet;
|
|
|
|
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
|