AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFederationTokenResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Credentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CONNECT_API GetFederationTokenResult();
34
35
37
40 inline const Credentials& GetCredentials() const{ return m_credentials; }
41 inline void SetCredentials(const Credentials& value) { m_credentials = value; }
42 inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
43 inline GetFederationTokenResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
44 inline GetFederationTokenResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
46
48
51 inline const Aws::String& GetSignInUrl() const{ return m_signInUrl; }
52 inline void SetSignInUrl(const Aws::String& value) { m_signInUrl = value; }
53 inline void SetSignInUrl(Aws::String&& value) { m_signInUrl = std::move(value); }
54 inline void SetSignInUrl(const char* value) { m_signInUrl.assign(value); }
55 inline GetFederationTokenResult& WithSignInUrl(const Aws::String& value) { SetSignInUrl(value); return *this;}
56 inline GetFederationTokenResult& WithSignInUrl(Aws::String&& value) { SetSignInUrl(std::move(value)); return *this;}
57 inline GetFederationTokenResult& WithSignInUrl(const char* value) { SetSignInUrl(value); return *this;}
59
61
64 inline const Aws::String& GetUserArn() const{ return m_userArn; }
65 inline void SetUserArn(const Aws::String& value) { m_userArn = value; }
66 inline void SetUserArn(Aws::String&& value) { m_userArn = std::move(value); }
67 inline void SetUserArn(const char* value) { m_userArn.assign(value); }
68 inline GetFederationTokenResult& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;}
69 inline GetFederationTokenResult& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;}
70 inline GetFederationTokenResult& WithUserArn(const char* value) { SetUserArn(value); return *this;}
72
74
77 inline const Aws::String& GetUserId() const{ return m_userId; }
78 inline void SetUserId(const Aws::String& value) { m_userId = value; }
79 inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
80 inline void SetUserId(const char* value) { m_userId.assign(value); }
81 inline GetFederationTokenResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
82 inline GetFederationTokenResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
83 inline GetFederationTokenResult& WithUserId(const char* value) { SetUserId(value); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline GetFederationTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline GetFederationTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline GetFederationTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Credentials m_credentials;
99
100 Aws::String m_signInUrl;
101
102 Aws::String m_userArn;
103
104 Aws::String m_userId;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace Connect
111} // namespace Aws
GetFederationTokenResult & WithSignInUrl(const char *value)
AWS_CONNECT_API GetFederationTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFederationTokenResult & WithRequestId(const char *value)
GetFederationTokenResult & WithCredentials(const Credentials &value)
GetFederationTokenResult & WithUserArn(const Aws::String &value)
GetFederationTokenResult & WithRequestId(const Aws::String &value)
GetFederationTokenResult & WithUserArn(Aws::String &&value)
GetFederationTokenResult & WithSignInUrl(const Aws::String &value)
GetFederationTokenResult & WithUserId(const Aws::String &value)
GetFederationTokenResult & WithSignInUrl(Aws::String &&value)
GetFederationTokenResult & WithUserId(Aws::String &&value)
GetFederationTokenResult & WithUserId(const char *value)
GetFederationTokenResult & WithRequestId(Aws::String &&value)
GetFederationTokenResult & WithCredentials(Credentials &&value)
AWS_CONNECT_API GetFederationTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFederationTokenResult & WithUserArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue