AWS SDK for C++  1.8.78
AWS SDK for C++
Public Member Functions | List of all members
Aws::SSM::Model::Target Class Reference

#include <Target.h>

Public Member Functions

 Target ()
 
 Target (Aws::Utils::Json::JsonView jsonValue)
 
Targetoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetKey () const
 
bool KeyHasBeenSet () const
 
void SetKey (const Aws::String &value)
 
void SetKey (Aws::String &&value)
 
void SetKey (const char *value)
 
TargetWithKey (const Aws::String &value)
 
TargetWithKey (Aws::String &&value)
 
TargetWithKey (const char *value)
 
const Aws::Vector< Aws::String > & GetValues () const
 
bool ValuesHasBeenSet () const
 
void SetValues (const Aws::Vector< Aws::String > &value)
 
void SetValues (Aws::Vector< Aws::String > &&value)
 
TargetWithValues (const Aws::Vector< Aws::String > &value)
 
TargetWithValues (Aws::Vector< Aws::String > &&value)
 
TargetAddValues (const Aws::String &value)
 
TargetAddValues (Aws::String &&value)
 
TargetAddValues (const char *value)
 

Detailed Description

An array of search criteria that targets instances using a Key,Value combination that you specify.

Supported formats include the following.

For example:

For more information about how to send commands that target instances using Key,Value parameters, see Targeting multiple instances in the AWS Systems Manager User Guide.

See Also:

AWS API Reference

Definition at line 67 of file Target.h.

Constructor & Destructor Documentation

◆ Target() [1/2]

Aws::SSM::Model::Target::Target ( )

◆ Target() [2/2]

Aws::SSM::Model::Target::Target ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddValues() [1/3]

Target& Aws::SSM::Model::Target::AddValues ( const Aws::String value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 179 of file Target.h.

◆ AddValues() [2/3]

Target& Aws::SSM::Model::Target::AddValues ( Aws::String &&  value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 187 of file Target.h.

◆ AddValues() [3/3]

Target& Aws::SSM::Model::Target::AddValues ( const char *  value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 195 of file Target.h.

◆ GetKey()

const Aws::String& Aws::SSM::Model::Target::GetKey ( ) const
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 80 of file Target.h.

◆ GetValues()

const Aws::Vector<Aws::String>& Aws::SSM::Model::Target::GetValues ( ) const
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 131 of file Target.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SSM::Model::Target::Jsonize ( ) const

◆ KeyHasBeenSet()

bool Aws::SSM::Model::Target::KeyHasBeenSet ( ) const
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 86 of file Target.h.

◆ operator=()

Target& Aws::SSM::Model::Target::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetKey() [1/3]

void Aws::SSM::Model::Target::SetKey ( const Aws::String value)
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 92 of file Target.h.

◆ SetKey() [2/3]

void Aws::SSM::Model::Target::SetKey ( Aws::String &&  value)
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 98 of file Target.h.

◆ SetKey() [3/3]

void Aws::SSM::Model::Target::SetKey ( const char *  value)
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 104 of file Target.h.

◆ SetValues() [1/2]

void Aws::SSM::Model::Target::SetValues ( const Aws::Vector< Aws::String > &  value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 147 of file Target.h.

◆ SetValues() [2/2]

void Aws::SSM::Model::Target::SetValues ( Aws::Vector< Aws::String > &&  value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 155 of file Target.h.

◆ ValuesHasBeenSet()

bool Aws::SSM::Model::Target::ValuesHasBeenSet ( ) const
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 139 of file Target.h.

◆ WithKey() [1/3]

Target& Aws::SSM::Model::Target::WithKey ( const Aws::String value)
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 110 of file Target.h.

◆ WithKey() [2/3]

Target& Aws::SSM::Model::Target::WithKey ( Aws::String &&  value)
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 116 of file Target.h.

◆ WithKey() [3/3]

Target& Aws::SSM::Model::Target::WithKey ( const char *  value)
inline

User-defined criteria for sending commands that target instances that meet the criteria.

Definition at line 122 of file Target.h.

◆ WithValues() [1/2]

Target& Aws::SSM::Model::Target::WithValues ( const Aws::Vector< Aws::String > &  value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 163 of file Target.h.

◆ WithValues() [2/2]

Target& Aws::SSM::Model::Target::WithValues ( Aws::Vector< Aws::String > &&  value)
inline

User-defined criteria that maps to Key. For example, if you specified tag:ServerRole, you could specify value:WebServer to run a command on instances that include EC2 tags of ServerRole,WebServer.

Definition at line 171 of file Target.h.


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