7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CostExplorer {
43 template <
typename ValueT = Aws::String>
45 m_valueHasBeenSet =
true;
46 m_value = std::forward<ValueT>(value);
48 template <
typename ValueT = Aws::String>
50 SetValue(std::forward<ValueT>(value));
61 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
63 m_attributesHasBeenSet =
true;
64 m_attributes = std::forward<AttributesT>(value);
66 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
71 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
73 m_attributesHasBeenSet =
true;
74 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
82 bool m_valueHasBeenSet =
false;
83 bool m_attributesHasBeenSet =
false;
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
bool AttributesHasBeenSet() const
DimensionValuesWithAttributes & WithValue(ValueT &&value)
DimensionValuesWithAttributes & WithAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_COSTEXPLORER_API DimensionValuesWithAttributes()=default
const Aws::String & GetValue() const
void SetAttributes(AttributesT &&value)
AWS_COSTEXPLORER_API DimensionValuesWithAttributes(Aws::Utils::Json::JsonView jsonValue)
bool ValueHasBeenSet() const
AWS_COSTEXPLORER_API DimensionValuesWithAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(ValueT &&value)
DimensionValuesWithAttributes & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue