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

An object that contains information about your instance profile.

*/ inline const InstanceProfile& GetInstanceProfile() const{ return m_instanceProfile; } /** *

An object that contains information about your instance profile.

*/ inline void SetInstanceProfile(const InstanceProfile& value) { m_instanceProfile = value; } /** *

An object that contains information about your instance profile.

*/ inline void SetInstanceProfile(InstanceProfile&& value) { m_instanceProfile = std::move(value); } /** *

An object that contains information about your instance profile.

*/ inline CreateInstanceProfileResult& WithInstanceProfile(const InstanceProfile& value) { SetInstanceProfile(value); return *this;} /** *

An object that contains information about your instance profile.

*/ inline CreateInstanceProfileResult& WithInstanceProfile(InstanceProfile&& value) { SetInstanceProfile(std::move(value)); return *this;} private: InstanceProfile m_instanceProfile; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws