/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A snapshot of the documentation of an API.See Also:
AWS
* API Reference
The version identifier of the API documentation snapshot.
*/ inline const Aws::String& GetVersion() const{ return m_version; } inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } inline DocumentationVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} inline DocumentationVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} inline DocumentationVersion& WithVersion(const char* value) { SetVersion(value); return *this;} ///@} ///@{ /** *The date when the API documentation snapshot is created.
*/ inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; } inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; } inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; } inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); } inline DocumentationVersion& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;} inline DocumentationVersion& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;} ///@} ///@{ /** *The description of the API documentation snapshot.
*/ inline const Aws::String& GetDescription() const{ return m_description; } inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } inline DocumentationVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} inline DocumentationVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} inline DocumentationVersion& WithDescription(const char* value) { SetDescription(value); return *this;} ///@} ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } inline DocumentationVersion& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DocumentationVersion& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DocumentationVersion& WithRequestId(const char* value) { SetRequestId(value); return *this;} ///@} private: Aws::String m_version; bool m_versionHasBeenSet = false; Aws::Utils::DateTime m_createdDate; bool m_createdDateHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_requestId; bool m_requestIdHasBeenSet = false; }; } // namespace Model } // namespace APIGateway } // namespace Aws