/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the response to a successful CreateInstanceProfile request.
* See Also:
AWS
* API Reference
A structure containing details about the new instance profile.
*/ inline const InstanceProfile& GetInstanceProfile() const{ return m_instanceProfile; } /** *A structure containing details about the new instance profile.
*/ inline void SetInstanceProfile(const InstanceProfile& value) { m_instanceProfile = value; } /** *A structure containing details about the new instance profile.
*/ inline void SetInstanceProfile(InstanceProfile&& value) { m_instanceProfile = std::move(value); } /** *A structure containing details about the new instance profile.
*/ inline CreateInstanceProfileResult& WithInstanceProfile(const InstanceProfile& value) { SetInstanceProfile(value); return *this;} /** *A structure containing details about the new instance profile.
*/ inline CreateInstanceProfileResult& WithInstanceProfile(InstanceProfile&& value) { SetInstanceProfile(std::move(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 CreateInstanceProfileResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateInstanceProfileResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: InstanceProfile m_instanceProfile; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws