AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetIdResult.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{
33 {
34 public:
35 AWS_COGNITOIDENTITY_API GetIdResult();
38
39
41
44 inline const Aws::String& GetIdentityId() const{ return m_identityId; }
45 inline void SetIdentityId(const Aws::String& value) { m_identityId = value; }
46 inline void SetIdentityId(Aws::String&& value) { m_identityId = std::move(value); }
47 inline void SetIdentityId(const char* value) { m_identityId.assign(value); }
48 inline GetIdResult& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
49 inline GetIdResult& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
50 inline GetIdResult& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
52
54
55 inline const Aws::String& GetRequestId() const{ return m_requestId; }
56 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
57 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
58 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
59 inline GetIdResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
60 inline GetIdResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
61 inline GetIdResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
63 private:
64
65 Aws::String m_identityId;
66
67 Aws::String m_requestId;
68 };
69
70} // namespace Model
71} // namespace CognitoIdentity
72} // namespace Aws
const Aws::String & GetRequestId() const
Definition GetIdResult.h:55
void SetIdentityId(const char *value)
Definition GetIdResult.h:47
GetIdResult & WithRequestId(Aws::String &&value)
Definition GetIdResult.h:60
void SetRequestId(const Aws::String &value)
Definition GetIdResult.h:56
void SetIdentityId(Aws::String &&value)
Definition GetIdResult.h:46
void SetIdentityId(const Aws::String &value)
Definition GetIdResult.h:45
GetIdResult & WithIdentityId(const Aws::String &value)
Definition GetIdResult.h:48
AWS_COGNITOIDENTITY_API GetIdResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
Definition GetIdResult.h:57
GetIdResult & WithIdentityId(const char *value)
Definition GetIdResult.h:50
void SetRequestId(const char *value)
Definition GetIdResult.h:58
GetIdResult & WithRequestId(const char *value)
Definition GetIdResult.h:61
GetIdResult & WithRequestId(const Aws::String &value)
Definition GetIdResult.h:59
const Aws::String & GetIdentityId() const
Definition GetIdResult.h:44
AWS_COGNITOIDENTITY_API GetIdResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIdResult & WithIdentityId(Aws::String &&value)
Definition GetIdResult.h:49
AWS_COGNITOIDENTITY_API GetIdResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue