/** * 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 Lightsail { namespace Model { class GetContainerAPIMetadataResult { public: AWS_LIGHTSAIL_API GetContainerAPIMetadataResult(); AWS_LIGHTSAIL_API GetContainerAPIMetadataResult(const Aws::AmazonWebServiceResult& result); AWS_LIGHTSAIL_API GetContainerAPIMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline const Aws::Vector>& GetMetadata() const{ return m_metadata; } /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline void SetMetadata(const Aws::Vector>& value) { m_metadata = value; } /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline void SetMetadata(Aws::Vector>&& value) { m_metadata = std::move(value); } /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline GetContainerAPIMetadataResult& WithMetadata(const Aws::Vector>& value) { SetMetadata(value); return *this;} /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline GetContainerAPIMetadataResult& WithMetadata(Aws::Vector>&& value) { SetMetadata(std::move(value)); return *this;} /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline GetContainerAPIMetadataResult& AddMetadata(const Aws::Map& value) { m_metadata.push_back(value); return *this; } /** *

Metadata about Lightsail containers, such as the current version of the * Lightsail Control (lightsailctl) plugin.

*/ inline GetContainerAPIMetadataResult& AddMetadata(Aws::Map&& value) { m_metadata.push_back(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 GetContainerAPIMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetContainerAPIMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetContainerAPIMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector> m_metadata; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws