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

The ID of the instance from which to retrieve the UEFI data.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *

The ID of the instance from which to retrieve the UEFI data.

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

The ID of the instance from which to retrieve the UEFI data.

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

The ID of the instance from which to retrieve the UEFI data.

*/ inline void SetInstanceId(const char* value) { m_instanceId.assign(value); } /** *

The ID of the instance from which to retrieve the UEFI data.

*/ inline GetInstanceUefiDataResponse& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *

The ID of the instance from which to retrieve the UEFI data.

*/ inline GetInstanceUefiDataResponse& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *

The ID of the instance from which to retrieve the UEFI data.

*/ inline GetInstanceUefiDataResponse& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *

Base64 representation of the non-volatile UEFI variable store.

*/ inline const Aws::String& GetUefiData() const{ return m_uefiData; } /** *

Base64 representation of the non-volatile UEFI variable store.

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

Base64 representation of the non-volatile UEFI variable store.

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

Base64 representation of the non-volatile UEFI variable store.

*/ inline void SetUefiData(const char* value) { m_uefiData.assign(value); } /** *

Base64 representation of the non-volatile UEFI variable store.

*/ inline GetInstanceUefiDataResponse& WithUefiData(const Aws::String& value) { SetUefiData(value); return *this;} /** *

Base64 representation of the non-volatile UEFI variable store.

*/ inline GetInstanceUefiDataResponse& WithUefiData(Aws::String&& value) { SetUefiData(std::move(value)); return *this;} /** *

Base64 representation of the non-volatile UEFI variable store.

*/ inline GetInstanceUefiDataResponse& WithUefiData(const char* value) { SetUefiData(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetInstanceUefiDataResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetInstanceUefiDataResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_instanceId; Aws::String m_uefiData; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws