7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
19namespace DynamoDBStreams {
42 template <
typename PrincipalIdT = Aws::String>
44 m_principalIdHasBeenSet =
true;
45 m_principalId = std::forward<PrincipalIdT>(value);
47 template <
typename PrincipalIdT = Aws::String>
60 template <
typename TypeT = Aws::String>
62 m_typeHasBeenSet =
true;
63 m_type = std::forward<TypeT>(value);
65 template <
typename TypeT = Aws::String>
67 SetType(std::forward<TypeT>(value));
75 bool m_principalIdHasBeenSet =
false;
76 bool m_typeHasBeenSet =
false;
Identity & WithPrincipalId(PrincipalIdT &&value)
AWS_DYNAMODBSTREAMS_API Identity()=default
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetType() const
void SetType(TypeT &&value)
Identity & WithType(TypeT &&value)
bool TypeHasBeenSet() const
void SetPrincipalId(PrincipalIdT &&value)
AWS_DYNAMODBSTREAMS_API Identity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PrincipalIdHasBeenSet() const
const Aws::String & GetPrincipalId() const
AWS_DYNAMODBSTREAMS_API Identity(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue