This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-sso/include/aws/sso/model/GetRoleCredentialsResult.h

68 lines
1.8 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sso/SSO_EXPORTS.h>
#include <aws/sso/model/RoleCredentials.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
GetRoleCredentialsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The credentials for the role that is assigned to the user.</p>
*/
inline const RoleCredentials& GetRoleCredentials() const{ return m_roleCredentials; }
/**
* <p>The credentials for the role that is assigned to the user.</p>
*/
inline void SetRoleCredentials(const RoleCredentials& value) { m_roleCredentials = value; }
/**
* <p>The credentials for the role that is assigned to the user.</p>
*/
inline void SetRoleCredentials(RoleCredentials&& value) { m_roleCredentials = std::move(value); }
/**
* <p>The credentials for the role that is assigned to the user.</p>
*/
inline GetRoleCredentialsResult& WithRoleCredentials(const RoleCredentials& value) { SetRoleCredentials(value); return *this;}
/**
* <p>The credentials for the role that is assigned to the user.</p>
*/
inline GetRoleCredentialsResult& WithRoleCredentials(RoleCredentials&& value) { SetRoleCredentials(std::move(value)); return *this;}
private:
RoleCredentials m_roleCredentials;
};
} // namespace Model
} // namespace SSO
} // namespace Aws