AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetIdentityId() const { return m_identityId; }
45 template<typename IdentityIdT = Aws::String>
46 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
47 template<typename IdentityIdT = Aws::String>
48 GetIdResult& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 GetIdResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
61 Aws::String m_identityId;
62 bool m_identityIdHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace CognitoIdentity
70} // namespace Aws
const Aws::String & GetRequestId() const
Definition GetIdResult.h:53
void SetRequestId(RequestIdT &&value)
Definition GetIdResult.h:55
void SetIdentityId(IdentityIdT &&value)
Definition GetIdResult.h:46
GetIdResult & WithRequestId(RequestIdT &&value)
Definition GetIdResult.h:57
AWS_COGNITOIDENTITY_API GetIdResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COGNITOIDENTITY_API GetIdResult()=default
const Aws::String & GetIdentityId() const
Definition GetIdResult.h:44
AWS_COGNITOIDENTITY_API GetIdResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIdResult & WithIdentityId(IdentityIdT &&value)
Definition GetIdResult.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue