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

The Amazon Resource Name (ARN) of the hypervisor.

*/ inline const Aws::String& GetHypervisorArn() const{ return m_hypervisorArn; } /** *

The Amazon Resource Name (ARN) of the hypervisor.

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

The Amazon Resource Name (ARN) of the hypervisor.

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

The Amazon Resource Name (ARN) of the hypervisor.

*/ inline void SetHypervisorArn(const char* value) { m_hypervisorArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the hypervisor.

*/ inline GetHypervisorPropertyMappingsResult& WithHypervisorArn(const Aws::String& value) { SetHypervisorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the hypervisor.

*/ inline GetHypervisorPropertyMappingsResult& WithHypervisorArn(Aws::String&& value) { SetHypervisorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the hypervisor.

*/ inline GetHypervisorPropertyMappingsResult& WithHypervisorArn(const char* value) { SetHypervisorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role.

*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role.

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

The Amazon Resource Name (ARN) of the IAM role.

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

The Amazon Resource Name (ARN) of the IAM role.

*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role.

*/ inline GetHypervisorPropertyMappingsResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role.

*/ inline GetHypervisorPropertyMappingsResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role.

*/ inline GetHypervisorPropertyMappingsResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline const Aws::Vector& GetVmwareToAwsTagMappings() const{ return m_vmwareToAwsTagMappings; } /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline void SetVmwareToAwsTagMappings(const Aws::Vector& value) { m_vmwareToAwsTagMappings = value; } /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline void SetVmwareToAwsTagMappings(Aws::Vector&& value) { m_vmwareToAwsTagMappings = std::move(value); } /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline GetHypervisorPropertyMappingsResult& WithVmwareToAwsTagMappings(const Aws::Vector& value) { SetVmwareToAwsTagMappings(value); return *this;} /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline GetHypervisorPropertyMappingsResult& WithVmwareToAwsTagMappings(Aws::Vector&& value) { SetVmwareToAwsTagMappings(std::move(value)); return *this;} /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline GetHypervisorPropertyMappingsResult& AddVmwareToAwsTagMappings(const VmwareToAwsTagMapping& value) { m_vmwareToAwsTagMappings.push_back(value); return *this; } /** *

This is a display of the mappings of on-premises VMware tags to the Amazon * Web Services tags.

*/ inline GetHypervisorPropertyMappingsResult& AddVmwareToAwsTagMappings(VmwareToAwsTagMapping&& value) { m_vmwareToAwsTagMappings.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 GetHypervisorPropertyMappingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetHypervisorPropertyMappingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetHypervisorPropertyMappingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_hypervisorArn; Aws::String m_iamRoleArn; Aws::Vector m_vmwareToAwsTagMappings; Aws::String m_requestId; }; } // namespace Model } // namespace BackupGateway } // namespace Aws