AWS SDK for C++  1.8.75
AWS SDK for C++
Public Member Functions | List of all members
Aws::CostExplorer::Model::Expression Class Reference

#include <Expression.h>

Public Member Functions

 Expression ()
 
 Expression (Aws::Utils::Json::JsonView jsonValue)
 
Expressionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< Expression > & GetOr () const
 
bool OrHasBeenSet () const
 
void SetOr (const Aws::Vector< Expression > &value)
 
void SetOr (Aws::Vector< Expression > &&value)
 
ExpressionWithOr (const Aws::Vector< Expression > &value)
 
ExpressionWithOr (Aws::Vector< Expression > &&value)
 
ExpressionAddOr (const Expression &value)
 
ExpressionAddOr (Expression &&value)
 
const Aws::Vector< Expression > & GetAnd () const
 
bool AndHasBeenSet () const
 
void SetAnd (const Aws::Vector< Expression > &value)
 
void SetAnd (Aws::Vector< Expression > &&value)
 
ExpressionWithAnd (const Aws::Vector< Expression > &value)
 
ExpressionWithAnd (Aws::Vector< Expression > &&value)
 
ExpressionAddAnd (const Expression &value)
 
ExpressionAddAnd (Expression &&value)
 
const ExpressionGetNot () const
 
bool NotHasBeenSet () const
 
void SetNot (const Expression &value)
 
void SetNot (Expression &&value)
 
ExpressionWithNot (const Expression &value)
 
ExpressionWithNot (Expression &&value)
 
const DimensionValuesGetDimensions () const
 
bool DimensionsHasBeenSet () const
 
void SetDimensions (const DimensionValues &value)
 
void SetDimensions (DimensionValues &&value)
 
ExpressionWithDimensions (const DimensionValues &value)
 
ExpressionWithDimensions (DimensionValues &&value)
 
const TagValuesGetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const TagValues &value)
 
void SetTags (TagValues &&value)
 
ExpressionWithTags (const TagValues &value)
 
ExpressionWithTags (TagValues &&value)
 
const CostCategoryValuesGetCostCategories () const
 
bool CostCategoriesHasBeenSet () const
 
void SetCostCategories (const CostCategoryValues &value)
 
void SetCostCategories (CostCategoryValues &&value)
 
ExpressionWithCostCategories (const CostCategoryValues &value)
 
ExpressionWithCostCategories (CostCategoryValues &&value)
 

Detailed Description

Use Expression to filter by cost or by usage. There are two patterns:

For GetRightsizingRecommendation action, a combination of OR and NOT is not supported. OR is not supported between different dimensions, or dimensions and tags. NOT operators aren't supported. Dimensions are also limited to LINKED_ACCOUNT, REGION, or RIGHTSIZING_TYPE.

See Also:

AWS API Reference

Definition at line 65 of file Expression.h.

Constructor & Destructor Documentation

◆ Expression() [1/2]

Aws::CostExplorer::Model::Expression::Expression ( )

◆ Expression() [2/2]

Aws::CostExplorer::Model::Expression::Expression ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddAnd() [1/2]

Expression& Aws::CostExplorer::Model::Expression::AddAnd ( const Expression value)
inline

Return results that match both Dimension objects.

Definition at line 148 of file Expression.h.

◆ AddAnd() [2/2]

Expression& Aws::CostExplorer::Model::Expression::AddAnd ( Expression &&  value)
inline

Return results that match both Dimension objects.

Definition at line 153 of file Expression.h.

◆ AddOr() [1/2]

Expression& Aws::CostExplorer::Model::Expression::AddOr ( const Expression value)
inline

Return results that match either Dimension object.

Definition at line 107 of file Expression.h.

◆ AddOr() [2/2]

Expression& Aws::CostExplorer::Model::Expression::AddOr ( Expression &&  value)
inline

Return results that match either Dimension object.

Definition at line 112 of file Expression.h.

◆ AndHasBeenSet()

bool Aws::CostExplorer::Model::Expression::AndHasBeenSet ( ) const
inline

Return results that match both Dimension objects.

Definition at line 123 of file Expression.h.

◆ CostCategoriesHasBeenSet()

bool Aws::CostExplorer::Model::Expression::CostCategoriesHasBeenSet ( ) const
inline

The filter based on CostCategory values.

Definition at line 257 of file Expression.h.

◆ DimensionsHasBeenSet()

bool Aws::CostExplorer::Model::Expression::DimensionsHasBeenSet ( ) const
inline

The specific Dimension to use for Expression.

Definition at line 195 of file Expression.h.

◆ GetAnd()

const Aws::Vector<Expression>& Aws::CostExplorer::Model::Expression::GetAnd ( ) const
inline

Return results that match both Dimension objects.

Definition at line 118 of file Expression.h.

◆ GetCostCategories()

const CostCategoryValues& Aws::CostExplorer::Model::Expression::GetCostCategories ( ) const
inline

The filter based on CostCategory values.

Definition at line 252 of file Expression.h.

◆ GetDimensions()

const DimensionValues& Aws::CostExplorer::Model::Expression::GetDimensions ( ) const
inline

The specific Dimension to use for Expression.

Definition at line 190 of file Expression.h.

◆ GetNot()

const Expression& Aws::CostExplorer::Model::Expression::GetNot ( ) const
inline

Return results that don't match a Dimension object.

Definition at line 159 of file Expression.h.

◆ GetOr()

const Aws::Vector<Expression>& Aws::CostExplorer::Model::Expression::GetOr ( ) const
inline

Return results that match either Dimension object.

Definition at line 77 of file Expression.h.

◆ GetTags()

const TagValues& Aws::CostExplorer::Model::Expression::GetTags ( ) const
inline

The specific Tag to use for Expression.

Definition at line 221 of file Expression.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::CostExplorer::Model::Expression::Jsonize ( ) const

◆ NotHasBeenSet()

bool Aws::CostExplorer::Model::Expression::NotHasBeenSet ( ) const
inline

Return results that don't match a Dimension object.

Definition at line 164 of file Expression.h.

◆ operator=()

Expression& Aws::CostExplorer::Model::Expression::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OrHasBeenSet()

bool Aws::CostExplorer::Model::Expression::OrHasBeenSet ( ) const
inline

Return results that match either Dimension object.

Definition at line 82 of file Expression.h.

◆ SetAnd() [1/2]

void Aws::CostExplorer::Model::Expression::SetAnd ( const Aws::Vector< Expression > &  value)
inline

Return results that match both Dimension objects.

Definition at line 128 of file Expression.h.

◆ SetAnd() [2/2]

void Aws::CostExplorer::Model::Expression::SetAnd ( Aws::Vector< Expression > &&  value)
inline

Return results that match both Dimension objects.

Definition at line 133 of file Expression.h.

◆ SetCostCategories() [1/2]

void Aws::CostExplorer::Model::Expression::SetCostCategories ( const CostCategoryValues value)
inline

The filter based on CostCategory values.

Definition at line 262 of file Expression.h.

◆ SetCostCategories() [2/2]

void Aws::CostExplorer::Model::Expression::SetCostCategories ( CostCategoryValues &&  value)
inline

The filter based on CostCategory values.

Definition at line 267 of file Expression.h.

◆ SetDimensions() [1/2]

void Aws::CostExplorer::Model::Expression::SetDimensions ( const DimensionValues value)
inline

The specific Dimension to use for Expression.

Definition at line 200 of file Expression.h.

◆ SetDimensions() [2/2]

void Aws::CostExplorer::Model::Expression::SetDimensions ( DimensionValues &&  value)
inline

The specific Dimension to use for Expression.

Definition at line 205 of file Expression.h.

◆ SetNot() [1/2]

void Aws::CostExplorer::Model::Expression::SetNot ( const Expression value)
inline

Return results that don't match a Dimension object.

Definition at line 169 of file Expression.h.

◆ SetNot() [2/2]

void Aws::CostExplorer::Model::Expression::SetNot ( Expression &&  value)
inline

Return results that don't match a Dimension object.

Definition at line 174 of file Expression.h.

◆ SetOr() [1/2]

void Aws::CostExplorer::Model::Expression::SetOr ( const Aws::Vector< Expression > &  value)
inline

Return results that match either Dimension object.

Definition at line 87 of file Expression.h.

◆ SetOr() [2/2]

void Aws::CostExplorer::Model::Expression::SetOr ( Aws::Vector< Expression > &&  value)
inline

Return results that match either Dimension object.

Definition at line 92 of file Expression.h.

◆ SetTags() [1/2]

void Aws::CostExplorer::Model::Expression::SetTags ( const TagValues value)
inline

The specific Tag to use for Expression.

Definition at line 231 of file Expression.h.

◆ SetTags() [2/2]

void Aws::CostExplorer::Model::Expression::SetTags ( TagValues &&  value)
inline

The specific Tag to use for Expression.

Definition at line 236 of file Expression.h.

◆ TagsHasBeenSet()

bool Aws::CostExplorer::Model::Expression::TagsHasBeenSet ( ) const
inline

The specific Tag to use for Expression.

Definition at line 226 of file Expression.h.

◆ WithAnd() [1/2]

Expression& Aws::CostExplorer::Model::Expression::WithAnd ( const Aws::Vector< Expression > &  value)
inline

Return results that match both Dimension objects.

Definition at line 138 of file Expression.h.

◆ WithAnd() [2/2]

Expression& Aws::CostExplorer::Model::Expression::WithAnd ( Aws::Vector< Expression > &&  value)
inline

Return results that match both Dimension objects.

Definition at line 143 of file Expression.h.

◆ WithCostCategories() [1/2]

Expression& Aws::CostExplorer::Model::Expression::WithCostCategories ( const CostCategoryValues value)
inline

The filter based on CostCategory values.

Definition at line 272 of file Expression.h.

◆ WithCostCategories() [2/2]

Expression& Aws::CostExplorer::Model::Expression::WithCostCategories ( CostCategoryValues &&  value)
inline

The filter based on CostCategory values.

Definition at line 277 of file Expression.h.

◆ WithDimensions() [1/2]

Expression& Aws::CostExplorer::Model::Expression::WithDimensions ( const DimensionValues value)
inline

The specific Dimension to use for Expression.

Definition at line 210 of file Expression.h.

◆ WithDimensions() [2/2]

Expression& Aws::CostExplorer::Model::Expression::WithDimensions ( DimensionValues &&  value)
inline

The specific Dimension to use for Expression.

Definition at line 215 of file Expression.h.

◆ WithNot() [1/2]

Expression& Aws::CostExplorer::Model::Expression::WithNot ( const Expression value)
inline

Return results that don't match a Dimension object.

Definition at line 179 of file Expression.h.

◆ WithNot() [2/2]

Expression& Aws::CostExplorer::Model::Expression::WithNot ( Expression &&  value)
inline

Return results that don't match a Dimension object.

Definition at line 184 of file Expression.h.

◆ WithOr() [1/2]

Expression& Aws::CostExplorer::Model::Expression::WithOr ( const Aws::Vector< Expression > &  value)
inline

Return results that match either Dimension object.

Definition at line 97 of file Expression.h.

◆ WithOr() [2/2]

Expression& Aws::CostExplorer::Model::Expression::WithOr ( Aws::Vector< Expression > &&  value)
inline

Return results that match either Dimension object.

Definition at line 102 of file Expression.h.

◆ WithTags() [1/2]

Expression& Aws::CostExplorer::Model::Expression::WithTags ( const TagValues value)
inline

The specific Tag to use for Expression.

Definition at line 241 of file Expression.h.

◆ WithTags() [2/2]

Expression& Aws::CostExplorer::Model::Expression::WithTags ( TagValues &&  value)
inline

The specific Tag to use for Expression.

Definition at line 246 of file Expression.h.


The documentation for this class was generated from the following file: