AWS SDK for C++  1.9.154
AWS SDK for C++
GetFederationTokenResult.h
Go to the documentation of this file.
1 
6 #pragma once
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 Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Credentials& GetCredentials() const{ return m_credentials; }
39 
43  inline void SetCredentials(const Credentials& value) { m_credentials = value; }
44 
48  inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
49 
53  inline GetFederationTokenResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
54 
58  inline GetFederationTokenResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
59 
60  private:
61 
62  Credentials m_credentials;
63  };
64 
65 } // namespace Model
66 } // namespace Connect
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::GetFederationTokenResult::WithCredentials
GetFederationTokenResult & WithCredentials(const Credentials &value)
Definition: GetFederationTokenResult.h:53
Aws::Connect::Model::GetFederationTokenResult::GetFederationTokenResult
GetFederationTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::Credentials
Definition: Credentials.h:33
Aws::Connect::Model::GetFederationTokenResult::operator=
GetFederationTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Connect::Model::GetFederationTokenResult::GetFederationTokenResult
GetFederationTokenResult()
Aws::Connect::Model::GetFederationTokenResult::SetCredentials
void SetCredentials(Credentials &&value)
Definition: GetFederationTokenResult.h:48
Aws::Connect::Model::GetFederationTokenResult::GetCredentials
const Credentials & GetCredentials() const
Definition: GetFederationTokenResult.h:38
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Credentials.h
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::GetFederationTokenResult::SetCredentials
void SetCredentials(const Credentials &value)
Definition: GetFederationTokenResult.h:43
Aws::Connect::Model::GetFederationTokenResult::WithCredentials
GetFederationTokenResult & WithCredentials(Credentials &&value)
Definition: GetFederationTokenResult.h:58
Aws::Connect::Model::GetFederationTokenResult
Definition: GetFederationTokenResult.h:28
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h