/**
* 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 GetRole request. See
* Also:
AWS
* API Reference
A structure containing details about the IAM role.
*/ inline const Role& GetRole() const{ return m_role; } /** *A structure containing details about the IAM role.
*/ inline void SetRole(const Role& value) { m_role = value; } /** *A structure containing details about the IAM role.
*/ inline void SetRole(Role&& value) { m_role = std::move(value); } /** *A structure containing details about the IAM role.
*/ inline GetRoleResult& WithRole(const Role& value) { SetRole(value); return *this;} /** *A structure containing details about the IAM role.
*/ inline GetRoleResult& WithRole(Role&& value) { SetRole(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 GetRoleResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetRoleResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Role m_role; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace IAM } // namespace Aws