7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AgreementService
50 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
51 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
74 bool m_idHasBeenSet =
false;
77 bool m_typeHasBeenSet =
false;
Resource & WithId(const Aws::String &value)
const Aws::String & GetId() const
const Aws::String & GetType() const
Resource & WithId(const char *value)
AWS_AGREEMENTSERVICE_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetType(const char *value)
void SetType(Aws::String &&value)
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const char *value)
bool IdHasBeenSet() const
void SetType(const Aws::String &value)
void SetId(const Aws::String &value)
void SetId(Aws::String &&value)
AWS_AGREEMENTSERVICE_API Resource()
Resource & WithType(const Aws::String &value)
Resource & WithId(Aws::String &&value)
AWS_AGREEMENTSERVICE_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & WithType(const char *value)
Resource & WithType(Aws::String &&value)
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue