AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOpenIdTokenResult.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CognitoIdentity
24{
25namespace Model
26{
34 {
35 public:
36 AWS_COGNITOIDENTITY_API GetOpenIdTokenResult();
39
40
42
46 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
47 inline void SetIdentityId(const Aws::String& value) { m_identityId = value; }
48 inline void SetIdentityId(Aws::String&& value) { m_identityId = std::move(value); }
49 inline void SetIdentityId(const char* value) { m_identityId.assign(value); }
50 inline GetOpenIdTokenResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
51 inline GetOpenIdTokenResult& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
52 inline GetOpenIdTokenResult& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
54
56
59 inline const Aws::String& GetToken() const{ return m_token; }
60 inline void SetToken(const Aws::String& value) { m_token = value; }
61 inline void SetToken(Aws::String&& value) { m_token = std::move(value); }
62 inline void SetToken(const char* value) { m_token.assign(value); }
63 inline GetOpenIdTokenResult& WithToken(const Aws::String& value) { SetToken(value); return *this;}
64 inline GetOpenIdTokenResult& WithToken(Aws::String&& value) { SetToken(std::move(value)); return *this;}
65 inline GetOpenIdTokenResult& WithToken(const char* value) { SetToken(value); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline GetOpenIdTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline GetOpenIdTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline GetOpenIdTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_identityId;
81
82 Aws::String m_token;
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace CognitoIdentity
89} // namespace Aws
GetOpenIdTokenResult & WithToken(const Aws::String &value)
AWS_COGNITOIDENTITY_API GetOpenIdTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COGNITOIDENTITY_API GetOpenIdTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOpenIdTokenResult & WithIdentityId(const Aws::String &value)
GetOpenIdTokenResult & WithToken(Aws::String &&value)
GetOpenIdTokenResult & WithToken(const char *value)
GetOpenIdTokenResult & WithIdentityId(Aws::String &&value)
GetOpenIdTokenResult & WithRequestId(Aws::String &&value)
GetOpenIdTokenResult & WithIdentityId(const char *value)
GetOpenIdTokenResult & WithRequestId(const Aws::String &value)
GetOpenIdTokenResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue