AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIdentityId(const Aws::String& value) { m_identityIdHasBeenSet = true; m_identityId = value; }
49 inline void SetIdentityId(Aws::String&& value) { m_identityIdHasBeenSet = true; m_identityId = std::move(value); }
50 inline void SetIdentityId(const char* value) { m_identityIdHasBeenSet = true; m_identityId.assign(value); }
51 inline UnprocessedIdentityId& WithIdentityId(const Aws::String& value) { SetIdentityId(value); return *this;}
52 inline UnprocessedIdentityId& WithIdentityId(Aws::String&& value) { SetIdentityId(std::move(value)); return *this;}
53 inline UnprocessedIdentityId& WithIdentityId(const char* value) { SetIdentityId(value); return *this;}
55
57
60 inline const ErrorCode& GetErrorCode() const{ return m_errorCode; }
61 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
62 inline void SetErrorCode(const ErrorCode& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
63 inline void SetErrorCode(ErrorCode&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
64 inline UnprocessedIdentityId& WithErrorCode(const ErrorCode& value) { SetErrorCode(value); return *this;}
65 inline UnprocessedIdentityId& WithErrorCode(ErrorCode&& value) { SetErrorCode(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_identityId;
70 bool m_identityIdHasBeenSet = false;
71
72 ErrorCode m_errorCode;
73 bool m_errorCodeHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CognitoIdentity
78} // namespace Aws
UnprocessedIdentityId & WithIdentityId(const Aws::String &value)
UnprocessedIdentityId & WithErrorCode(const ErrorCode &value)
AWS_COGNITOIDENTITY_API UnprocessedIdentityId(Aws::Utils::Json::JsonView jsonValue)
UnprocessedIdentityId & WithErrorCode(ErrorCode &&value)
UnprocessedIdentityId & WithIdentityId(Aws::String &&value)
AWS_COGNITOIDENTITY_API UnprocessedIdentityId & operator=(Aws::Utils::Json::JsonView jsonValue)
UnprocessedIdentityId & WithIdentityId(const char *value)
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