AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnprocessedIdentityId.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/ErrorCode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CognitoIdentity
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_COGNITOIDENTITY_API UnprocessedIdentityId() = default;
37 AWS_COGNITOIDENTITY_API UnprocessedIdentityId(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COGNITOIDENTITY_API UnprocessedIdentityId& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetIdentityId() const { return m_identityId; }
47 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
48 template<typename IdentityIdT = Aws::String>
49 void SetIdentityId(IdentityIdT&& value) { m_identityIdHasBeenSet = true; m_identityId = std::forward<IdentityIdT>(value); }
50 template<typename IdentityIdT = Aws::String>
51 UnprocessedIdentityId& WithIdentityId(IdentityIdT&& value) { SetIdentityId(std::forward<IdentityIdT>(value)); return *this;}
53
55
58 inline ErrorCode GetErrorCode() const { return m_errorCode; }
59 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
60 inline void SetErrorCode(ErrorCode value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
61 inline UnprocessedIdentityId& WithErrorCode(ErrorCode value) { SetErrorCode(value); return *this;}
63 private:
64
65 Aws::String m_identityId;
66 bool m_identityIdHasBeenSet = false;
67
68 ErrorCode m_errorCode{ErrorCode::NOT_SET};
69 bool m_errorCodeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CognitoIdentity
74} // namespace Aws
AWS_COGNITOIDENTITY_API UnprocessedIdentityId(Aws::Utils::Json::JsonView jsonValue)
UnprocessedIdentityId & WithErrorCode(ErrorCode value)
UnprocessedIdentityId & WithIdentityId(IdentityIdT &&value)
AWS_COGNITOIDENTITY_API UnprocessedIdentityId()=default
AWS_COGNITOIDENTITY_API UnprocessedIdentityId & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue