AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCredentialsForIdentityResult.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cognito-identity/model/Credentials.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 CognitoIdentity
25{
26namespace Model
27{
35 {
36 public:
37 AWS_COGNITOIDENTITY_API GetCredentialsForIdentityResult();
40
41
43
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 GetCredentialsForIdentityResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
51 inline GetCredentialsForIdentityResult& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
52 inline GetCredentialsForIdentityResult& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
54
56
59 inline const Credentials& GetCredentials() const{ return m_credentials; }
60 inline void SetCredentials(const Credentials& value) { m_credentials = value; }
61 inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); }
62 inline GetCredentialsForIdentityResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;}
63 inline GetCredentialsForIdentityResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline GetCredentialsForIdentityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline GetCredentialsForIdentityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline GetCredentialsForIdentityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_identityId;
79
80 Credentials m_credentials;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace CognitoIdentity
87} // namespace Aws
GetCredentialsForIdentityResult & WithCredentials(Credentials &&value)
GetCredentialsForIdentityResult & WithRequestId(const Aws::String &value)
GetCredentialsForIdentityResult & WithRequestId(const char *value)
AWS_COGNITOIDENTITY_API GetCredentialsForIdentityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCredentialsForIdentityResult & WithIdentityId(Aws::String &&value)
GetCredentialsForIdentityResult & WithIdentityId(const char *value)
GetCredentialsForIdentityResult & WithRequestId(Aws::String &&value)
GetCredentialsForIdentityResult & WithIdentityId(const Aws::String &value)
AWS_COGNITOIDENTITY_API GetCredentialsForIdentityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCredentialsForIdentityResult & WithCredentials(const Credentials &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue