AWS SDK for C++  1.8.95
AWS SDK for C++
Public Member Functions | List of all members
Aws::ECS::Model::TaskDefinitionPlacementConstraint Class Reference

#include <TaskDefinitionPlacementConstraint.h>

Public Member Functions

 TaskDefinitionPlacementConstraint ()
 
 TaskDefinitionPlacementConstraint (Aws::Utils::Json::JsonView jsonValue)
 
TaskDefinitionPlacementConstraintoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const TaskDefinitionPlacementConstraintTypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const TaskDefinitionPlacementConstraintType &value)
 
void SetType (TaskDefinitionPlacementConstraintType &&value)
 
TaskDefinitionPlacementConstraintWithType (const TaskDefinitionPlacementConstraintType &value)
 
TaskDefinitionPlacementConstraintWithType (TaskDefinitionPlacementConstraintType &&value)
 
const Aws::StringGetExpression () const
 
bool ExpressionHasBeenSet () const
 
void SetExpression (const Aws::String &value)
 
void SetExpression (Aws::String &&value)
 
void SetExpression (const char *value)
 
TaskDefinitionPlacementConstraintWithExpression (const Aws::String &value)
 
TaskDefinitionPlacementConstraintWithExpression (Aws::String &&value)
 
TaskDefinitionPlacementConstraintWithExpression (const char *value)
 

Detailed Description

An object representing a constraint on task placement in the task definition. For more information, see Task Placement Constraints in the Amazon Elastic Container Service Developer Guide.

If you are using the Fargate launch type, task placement constraints are not supported.

See Also:

AWS API Reference

Definition at line 37 of file TaskDefinitionPlacementConstraint.h.

Constructor & Destructor Documentation

◆ TaskDefinitionPlacementConstraint() [1/2]

Aws::ECS::Model::TaskDefinitionPlacementConstraint::TaskDefinitionPlacementConstraint ( )

◆ TaskDefinitionPlacementConstraint() [2/2]

Aws::ECS::Model::TaskDefinitionPlacementConstraint::TaskDefinitionPlacementConstraint ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ExpressionHasBeenSet()

bool Aws::ECS::Model::TaskDefinitionPlacementConstraint::ExpressionHasBeenSet ( ) const
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 99 of file TaskDefinitionPlacementConstraint.h.

◆ GetExpression()

const Aws::String& Aws::ECS::Model::TaskDefinitionPlacementConstraint::GetExpression ( ) const
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 90 of file TaskDefinitionPlacementConstraint.h.

◆ GetType()

const TaskDefinitionPlacementConstraintType& Aws::ECS::Model::TaskDefinitionPlacementConstraint::GetType ( ) const
inline

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

Definition at line 50 of file TaskDefinitionPlacementConstraint.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ECS::Model::TaskDefinitionPlacementConstraint::Jsonize ( ) const

◆ operator=()

TaskDefinitionPlacementConstraint& Aws::ECS::Model::TaskDefinitionPlacementConstraint::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetExpression() [1/3]

void Aws::ECS::Model::TaskDefinitionPlacementConstraint::SetExpression ( const Aws::String value)
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 108 of file TaskDefinitionPlacementConstraint.h.

◆ SetExpression() [2/3]

void Aws::ECS::Model::TaskDefinitionPlacementConstraint::SetExpression ( Aws::String &&  value)
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 117 of file TaskDefinitionPlacementConstraint.h.

◆ SetExpression() [3/3]

void Aws::ECS::Model::TaskDefinitionPlacementConstraint::SetExpression ( const char *  value)
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 126 of file TaskDefinitionPlacementConstraint.h.

◆ SetType() [1/2]

void Aws::ECS::Model::TaskDefinitionPlacementConstraint::SetType ( const TaskDefinitionPlacementConstraintType value)
inline

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

Definition at line 62 of file TaskDefinitionPlacementConstraint.h.

◆ SetType() [2/2]

void Aws::ECS::Model::TaskDefinitionPlacementConstraint::SetType ( TaskDefinitionPlacementConstraintType &&  value)
inline

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

Definition at line 68 of file TaskDefinitionPlacementConstraint.h.

◆ TypeHasBeenSet()

bool Aws::ECS::Model::TaskDefinitionPlacementConstraint::TypeHasBeenSet ( ) const
inline

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

Definition at line 56 of file TaskDefinitionPlacementConstraint.h.

◆ WithExpression() [1/3]

TaskDefinitionPlacementConstraint& Aws::ECS::Model::TaskDefinitionPlacementConstraint::WithExpression ( const Aws::String value)
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 135 of file TaskDefinitionPlacementConstraint.h.

◆ WithExpression() [2/3]

TaskDefinitionPlacementConstraint& Aws::ECS::Model::TaskDefinitionPlacementConstraint::WithExpression ( Aws::String &&  value)
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 144 of file TaskDefinitionPlacementConstraint.h.

◆ WithExpression() [3/3]

TaskDefinitionPlacementConstraint& Aws::ECS::Model::TaskDefinitionPlacementConstraint::WithExpression ( const char *  value)
inline

A cluster query language expression to apply to the constraint. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Definition at line 153 of file TaskDefinitionPlacementConstraint.h.

◆ WithType() [1/2]

TaskDefinitionPlacementConstraint& Aws::ECS::Model::TaskDefinitionPlacementConstraint::WithType ( const TaskDefinitionPlacementConstraintType value)
inline

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

Definition at line 74 of file TaskDefinitionPlacementConstraint.h.

◆ WithType() [2/2]

TaskDefinitionPlacementConstraint& Aws::ECS::Model::TaskDefinitionPlacementConstraint::WithType ( TaskDefinitionPlacementConstraintType &&  value)
inline

The type of constraint. The MemberOf constraint restricts selection to be from a group of valid candidates.

Definition at line 80 of file TaskDefinitionPlacementConstraint.h.


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