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

The credentials for the role that is assigned to the user.

*/ inline const RoleCredentials& GetRoleCredentials() const{ return m_roleCredentials; } /** *

The credentials for the role that is assigned to the user.

*/ inline void SetRoleCredentials(const RoleCredentials& value) { m_roleCredentials = value; } /** *

The credentials for the role that is assigned to the user.

*/ inline void SetRoleCredentials(RoleCredentials&& value) { m_roleCredentials = std::move(value); } /** *

The credentials for the role that is assigned to the user.

*/ inline GetRoleCredentialsResult& WithRoleCredentials(const RoleCredentials& value) { SetRoleCredentials(value); return *this;} /** *

The credentials for the role that is assigned to the user.

*/ inline GetRoleCredentialsResult& WithRoleCredentials(RoleCredentials&& value) { SetRoleCredentials(std::move(value)); return *this;} private: RoleCredentials m_roleCredentials; }; } // namespace Model } // namespace SSO } // namespace Aws