/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Pricing
{
namespace Model
{
/**
* The values of a given attribute, such as Throughput Optimized
* HDD
or Provisioned IOPS
for the Amazon EC2
* volumeType
attribute.
See Also:
AWS
* API Reference
*/
class AttributeValue
{
public:
AWS_PRICING_API AttributeValue();
AWS_PRICING_API AttributeValue(Aws::Utils::Json::JsonView jsonValue);
AWS_PRICING_API AttributeValue& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_PRICING_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The specific value of an attributeName
.
*/
inline const Aws::String& GetValue() const{ return m_value; }
/**
* The specific value of an attributeName
.
*/
inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
/**
* The specific value of an attributeName
.
*/
inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
/**
* The specific value of an attributeName
.
*/
inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
/**
* The specific value of an attributeName
.
*/
inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
/**
* The specific value of an attributeName
.
*/
inline AttributeValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
/**
* The specific value of an attributeName
.
*/
inline AttributeValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
/**
* The specific value of an attributeName
.
*/
inline AttributeValue& WithValue(const char* value) { SetValue(value); return *this;}
private:
Aws::String m_value;
bool m_valueHasBeenSet = false;
};
} // namespace Model
} // namespace Pricing
} // namespace Aws