AWS SDK for C++  1.9.160
AWS SDK for C++
GetRoleCredentialsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sso/SSO_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SSO
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const RoleCredentials& GetRoleCredentials() const{ return m_roleCredentials; }
39 
43  inline void SetRoleCredentials(const RoleCredentials& value) { m_roleCredentials = value; }
44 
48  inline void SetRoleCredentials(RoleCredentials&& value) { m_roleCredentials = std::move(value); }
49 
53  inline GetRoleCredentialsResult& WithRoleCredentials(const RoleCredentials& value) { SetRoleCredentials(value); return *this;}
54 
58  inline GetRoleCredentialsResult& WithRoleCredentials(RoleCredentials&& value) { SetRoleCredentials(std::move(value)); return *this;}
59 
60  private:
61 
62  RoleCredentials m_roleCredentials;
63  };
64 
65 } // namespace Model
66 } // namespace SSO
67 } // namespace Aws
Aws::SSO::Model::GetRoleCredentialsResult::GetRoleCredentials
const RoleCredentials & GetRoleCredentials() const
Definition: GetRoleCredentialsResult.h:38
Aws::IoTSiteWise::Model::AuthMode::NOT_SET
@ NOT_SET
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
SSO_EXPORTS.h
AWS_SSO_API
#define AWS_SSO_API
Definition: SSO_EXPORTS.h:28
Aws::SSO::Model::GetRoleCredentialsResult::operator=
GetRoleCredentialsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SSO::Model::GetRoleCredentialsResult::WithRoleCredentials
GetRoleCredentialsResult & WithRoleCredentials(RoleCredentials &&value)
Definition: GetRoleCredentialsResult.h:58
Aws::SSO::Model::GetRoleCredentialsResult::SetRoleCredentials
void SetRoleCredentials(RoleCredentials &&value)
Definition: GetRoleCredentialsResult.h:48
Aws::SSO::Model::GetRoleCredentialsResult
Definition: GetRoleCredentialsResult.h:28
RoleCredentials.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SSO::Model::GetRoleCredentialsResult::WithRoleCredentials
GetRoleCredentialsResult & WithRoleCredentials(const RoleCredentials &value)
Definition: GetRoleCredentialsResult.h:53
Aws::SSO::Model::RoleCredentials
Definition: RoleCredentials.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::SSO::Model::GetRoleCredentialsResult::SetRoleCredentials
void SetRoleCredentials(const RoleCredentials &value)
Definition: GetRoleCredentialsResult.h:43
Aws::SSO::Model::GetRoleCredentialsResult::GetRoleCredentialsResult
GetRoleCredentialsResult()
Aws::SSO::Model::GetRoleCredentialsResult::GetRoleCredentialsResult
GetRoleCredentialsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)