7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
43 template <
typename TypeT = Aws::String>
45 m_typeHasBeenSet =
true;
46 m_type = std::forward<TypeT>(value);
48 template <
typename TypeT = Aws::String>
50 SetType(std::forward<TypeT>(value));
61 template <
typename IdT = Aws::String>
63 m_idHasBeenSet =
true;
64 m_id = std::forward<IdT>(value);
66 template <
typename IdT = Aws::String>
68 SetId(std::forward<IdT>(value));
76 bool m_typeHasBeenSet =
false;
77 bool m_idHasBeenSet =
false;
AWS_OPENSEARCHSERVICE_API SavedObjectIdentifier(Aws::Utils::Json::JsonView jsonValue)
SavedObjectIdentifier & WithId(IdT &&value)
AWS_OPENSEARCHSERVICE_API SavedObjectIdentifier()=default
AWS_OPENSEARCHSERVICE_API SavedObjectIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SavedObjectIdentifier & WithType(TypeT &&value)
const Aws::String & GetType() const
const Aws::String & GetId() const
void SetType(TypeT &&value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue