/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies an array of up to 5 conditions to be met, and an action to take
* (RETRY
or EXIT
) if all conditions are met. If none of
* the EvaluateOnExit
conditions in a RetryStrategy
* match, then the job is retried.See Also:
AWS
* API Reference
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the StatusReason
* returned for a job. The pattern can contain up to 512 characters. It can contain
* letters, numbers, periods (.), colons (:), and white spaces (including spaces or
* tabs). It can optionally end with an asterisk (*) so that only the start of the
* string needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the Reason
returned for
* a job. The pattern can contain up to 512 characters. It can contain letters,
* numbers, periods (.), colons (:), and white space (including spaces and tabs).
* It can optionally end with an asterisk (*) so that only the start of the string
* needs to be an exact match.
Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline const Aws::String& GetOnExitCode() const{ return m_onExitCode; } /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline bool OnExitCodeHasBeenSet() const { return m_onExitCodeHasBeenSet; } /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline void SetOnExitCode(const Aws::String& value) { m_onExitCodeHasBeenSet = true; m_onExitCode = value; } /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline void SetOnExitCode(Aws::String&& value) { m_onExitCodeHasBeenSet = true; m_onExitCode = std::move(value); } /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline void SetOnExitCode(const char* value) { m_onExitCodeHasBeenSet = true; m_onExitCode.assign(value); } /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline EvaluateOnExit& WithOnExitCode(const Aws::String& value) { SetOnExitCode(value); return *this;} /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline EvaluateOnExit& WithOnExitCode(Aws::String&& value) { SetOnExitCode(std::move(value)); return *this;} /** *Contains a glob pattern to match against the decimal representation of the
* ExitCode
returned for a job. The pattern can be up to 512
* characters long. It can contain only numbers, and can end with an asterisk (*)
* so that only the start of the string needs to be an exact match.
The * string can contain up to 512 characters.
*/ inline EvaluateOnExit& WithOnExitCode(const char* value) { SetOnExitCode(value); return *this;} /** *Specifies the action to take if all of the specified conditions
* (onStatusReason
, onReason
, and
* onExitCode
) are met. The values aren't case sensitive.
Specifies the action to take if all of the specified conditions
* (onStatusReason
, onReason
, and
* onExitCode
) are met. The values aren't case sensitive.
Specifies the action to take if all of the specified conditions
* (onStatusReason
, onReason
, and
* onExitCode
) are met. The values aren't case sensitive.
Specifies the action to take if all of the specified conditions
* (onStatusReason
, onReason
, and
* onExitCode
) are met. The values aren't case sensitive.
Specifies the action to take if all of the specified conditions
* (onStatusReason
, onReason
, and
* onExitCode
) are met. The values aren't case sensitive.
Specifies the action to take if all of the specified conditions
* (onStatusReason
, onReason
, and
* onExitCode
) are met. The values aren't case sensitive.