/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Schemas { namespace Model { class PutCodeBindingResult { public: AWS_SCHEMAS_API PutCodeBindingResult(); AWS_SCHEMAS_API PutCodeBindingResult(const Aws::AmazonWebServiceResult& result); AWS_SCHEMAS_API PutCodeBindingResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The time and date that the code binding was created.

*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *

The time and date that the code binding was created.

*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; } /** *

The time and date that the code binding was created.

*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); } /** *

The time and date that the code binding was created.

*/ inline PutCodeBindingResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *

The time and date that the code binding was created.

*/ inline PutCodeBindingResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *

The date and time that code bindings were modified.

*/ inline const Aws::Utils::DateTime& GetLastModified() const{ return m_lastModified; } /** *

The date and time that code bindings were modified.

*/ inline void SetLastModified(const Aws::Utils::DateTime& value) { m_lastModified = value; } /** *

The date and time that code bindings were modified.

*/ inline void SetLastModified(Aws::Utils::DateTime&& value) { m_lastModified = std::move(value); } /** *

The date and time that code bindings were modified.

*/ inline PutCodeBindingResult& WithLastModified(const Aws::Utils::DateTime& value) { SetLastModified(value); return *this;} /** *

The date and time that code bindings were modified.

*/ inline PutCodeBindingResult& WithLastModified(Aws::Utils::DateTime&& value) { SetLastModified(std::move(value)); return *this;} /** *

The version number of the schema.

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

The version number of the schema.

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

The version number of the schema.

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

The version number of the schema.

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

The version number of the schema.

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

The version number of the schema.

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

The version number of the schema.

*/ inline PutCodeBindingResult& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} /** *

The current status of code binding generation.

*/ inline const CodeGenerationStatus& GetStatus() const{ return m_status; } /** *

The current status of code binding generation.

*/ inline void SetStatus(const CodeGenerationStatus& value) { m_status = value; } /** *

The current status of code binding generation.

*/ inline void SetStatus(CodeGenerationStatus&& value) { m_status = std::move(value); } /** *

The current status of code binding generation.

*/ inline PutCodeBindingResult& WithStatus(const CodeGenerationStatus& value) { SetStatus(value); return *this;} /** *

The current status of code binding generation.

*/ inline PutCodeBindingResult& WithStatus(CodeGenerationStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline PutCodeBindingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutCodeBindingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutCodeBindingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Utils::DateTime m_creationDate; Aws::Utils::DateTime m_lastModified; Aws::String m_schemaVersion; CodeGenerationStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Schemas } // namespace Aws