AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UnprocessedIdentityId.h
1
6#pragma once
7#include <aws/cognito-identity/CognitoIdentity_EXPORTS.h>
8#include <aws/cognito-identity/model/ErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CognitoIdentity {
21namespace Model {
22
30 public:
31 AWS_COGNITOIDENTITY_API UnprocessedIdentityId() = default;
32 AWS_COGNITOIDENTITY_API UnprocessedIdentityId(Aws::Utils::Json::JsonView jsonValue);
33 AWS_COGNITOIDENTITY_API UnprocessedIdentityId& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_COGNITOIDENTITY_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetIdentityId() const { return m_identityId; }
41 inline bool IdentityIdHasBeenSet() const { return m_identityIdHasBeenSet; }
42 template <typename IdentityIdT = Aws::String>
43 void SetIdentityId(IdentityIdT&& value) {
44 m_identityIdHasBeenSet = true;
45 m_identityId = std::forward<IdentityIdT>(value);
46 }
47 template <typename IdentityIdT = Aws::String>
48 UnprocessedIdentityId& WithIdentityId(IdentityIdT&& value) {
49 SetIdentityId(std::forward<IdentityIdT>(value));
50 return *this;
51 }
53
55
58 inline ErrorCode GetErrorCode() const { return m_errorCode; }
59 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
60 inline void SetErrorCode(ErrorCode value) {
61 m_errorCodeHasBeenSet = true;
62 m_errorCode = value;
63 }
65 SetErrorCode(value);
66 return *this;
67 }
69 private:
70 Aws::String m_identityId;
71
72 ErrorCode m_errorCode{ErrorCode::NOT_SET};
73 bool m_identityIdHasBeenSet = false;
74 bool m_errorCodeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace CognitoIdentity
79} // 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