AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace CognitoIdentity {
22namespace Model {
29 public:
30 AWS_COGNITOIDENTITY_API GetIdResult() = default;
33
35
38 inline const Aws::String& GetIdentityId() const { return m_identityId; }
39 template <typename IdentityIdT = Aws::String>
40 void SetIdentityId(IdentityIdT&& value) {
41 m_identityIdHasBeenSet = true;
42 m_identityId = std::forward<IdentityIdT>(value);
43 }
44 template <typename IdentityIdT = Aws::String>
45 GetIdResult& WithIdentityId(IdentityIdT&& value) {
46 SetIdentityId(std::forward<IdentityIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
60 GetIdResult& WithRequestId(RequestIdT&& value) {
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_identityId;
67
68 Aws::String m_requestId;
69 bool m_identityIdHasBeenSet = false;
70 bool m_requestIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace CognitoIdentity
75} // 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:40
GetIdResult & WithRequestId(RequestIdT &&value)
Definition GetIdResult.h:60
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:38
AWS_COGNITOIDENTITY_API GetIdResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIdResult & WithIdentityId(IdentityIdT &&value)
Definition GetIdResult.h:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue