7#include <aws/dynamodbstreams/DynamoDBStreams_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace DynamoDBStreams
50 inline void SetPrincipalId(
const char* value) { m_principalIdHasBeenSet =
true; m_principalId.assign(value); }
64 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
72 bool m_principalIdHasBeenSet =
false;
75 bool m_typeHasBeenSet =
false;
Identity & WithPrincipalId(const Aws::String &value)
Identity & WithType(const Aws::String &value)
Identity & WithType(Aws::String &&value)
void SetPrincipalId(const Aws::String &value)
void SetType(const Aws::String &value)
AWS_DYNAMODBSTREAMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetType() const
AWS_DYNAMODBSTREAMS_API Identity()
void SetPrincipalId(const char *value)
Identity & WithType(const char *value)
Identity & WithPrincipalId(const char *value)
bool TypeHasBeenSet() const
void SetPrincipalId(Aws::String &&value)
AWS_DYNAMODBSTREAMS_API Identity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(Aws::String &&value)
Identity & WithPrincipalId(Aws::String &&value)
bool PrincipalIdHasBeenSet() const
void SetType(const char *value)
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