/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Schemas { namespace Model { /** */ class DescribeCodeBindingRequest : public SchemasRequest { public: AWS_SCHEMAS_API DescribeCodeBindingRequest(); // 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 "DescribeCodeBinding"; } AWS_SCHEMAS_API Aws::String SerializePayload() const override; AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The language of the code binding.

*/ inline const Aws::String& GetLanguage() const{ return m_language; } /** *

The language of the code binding.

*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *

The language of the code binding.

*/ inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; } /** *

The language of the code binding.

*/ inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *

The language of the code binding.

*/ inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); } /** *

The language of the code binding.

*/ inline DescribeCodeBindingRequest& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;} /** *

The language of the code binding.

*/ inline DescribeCodeBindingRequest& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;} /** *

The language of the code binding.

*/ inline DescribeCodeBindingRequest& WithLanguage(const char* value) { SetLanguage(value); return *this;} /** *

The name of the registry.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

The name of the registry.

*/ inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; } /** *

The name of the registry.

*/ inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; } /** *

The name of the registry.

*/ inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); } /** *

The name of the registry.

*/ inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); } /** *

The name of the registry.

*/ inline DescribeCodeBindingRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name of the registry.

*/ inline DescribeCodeBindingRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

The name of the registry.

*/ inline DescribeCodeBindingRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} /** *

The name of the schema.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The name of the schema.

*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The name of the schema.

*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *

The name of the schema.

*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *

The name of the schema.

*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *

The name of the schema.

*/ inline DescribeCodeBindingRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema.

*/ inline DescribeCodeBindingRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The name of the schema.

*/ inline DescribeCodeBindingRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

Specifying this limits the results to only this schema version.

*/ inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } /** *

Specifying this limits the results to only this schema version.

*/ inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } /** *

Specifying this limits the results to only this schema version.

*/ inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } /** *

Specifying this limits the results to only this schema version.

*/ inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } /** *

Specifying this limits the results to only this schema version.

*/ inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } /** *

Specifying this limits the results to only this schema version.

*/ inline DescribeCodeBindingRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} /** *

Specifying this limits the results to only this schema version.

*/ inline DescribeCodeBindingRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} /** *

Specifying this limits the results to only this schema version.

*/ inline DescribeCodeBindingRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} private: Aws::String m_language; bool m_languageHasBeenSet = false; Aws::String m_registryName; bool m_registryNameHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_schemaVersion; bool m_schemaVersionHasBeenSet = false; }; } // namespace Model } // namespace Schemas } // namespace Aws