7#include <aws/marketplace-agreement/AgreementService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace AgreementService
51 inline void SetDimensionKey(
const char* value) { m_dimensionKeyHasBeenSet =
true; m_dimensionKey.assign(value); }
65 inline void SetMaxQuantity(
int value) { m_maxQuantityHasBeenSet =
true; m_maxQuantity = value; }
71 bool m_dimensionKeyHasBeenSet =
false;
74 bool m_maxQuantityHasBeenSet =
false;
bool MaxQuantityHasBeenSet() const
AWS_AGREEMENTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDimensionKey(const char *value)
bool DimensionKeyHasBeenSet() const
int GetMaxQuantity() const
void SetDimensionKey(Aws::String &&value)
void SetMaxQuantity(int value)
GrantItem & WithDimensionKey(const char *value)
GrantItem & WithDimensionKey(Aws::String &&value)
const Aws::String & GetDimensionKey() const
GrantItem & WithMaxQuantity(int value)
void SetDimensionKey(const Aws::String &value)
AWS_AGREEMENTSERVICE_API GrantItem()
GrantItem & WithDimensionKey(const Aws::String &value)
AWS_AGREEMENTSERVICE_API GrantItem(Aws::Utils::Json::JsonView jsonValue)
AWS_AGREEMENTSERVICE_API GrantItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue