/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input argument to the TerminationProtection operation.
* See Also:
AWS
* API Reference
A list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline const Aws::VectorA list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline bool JobFlowIdsHasBeenSet() const { return m_jobFlowIdsHasBeenSet; } /** *A list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline void SetJobFlowIds(const Aws::VectorA list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline void SetJobFlowIds(Aws::VectorA list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline SetTerminationProtectionRequest& WithJobFlowIds(const Aws::VectorA list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline SetTerminationProtectionRequest& WithJobFlowIds(Aws::VectorA list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline SetTerminationProtectionRequest& AddJobFlowIds(const Aws::String& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; } /** *A list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline SetTerminationProtectionRequest& AddJobFlowIds(Aws::String&& value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(std::move(value)); return *this; } /** *A list of strings that uniquely identify the clusters to protect. This * identifier is returned by RunJobFlow and can also be obtained from * DescribeJobFlows .
*/ inline SetTerminationProtectionRequest& AddJobFlowIds(const char* value) { m_jobFlowIdsHasBeenSet = true; m_jobFlowIds.push_back(value); return *this; } /** *A Boolean that indicates whether to protect the cluster and prevent the * Amazon EC2 instances in the cluster from shutting down due to API calls, user * intervention, or job-flow error.
*/ inline bool GetTerminationProtected() const{ return m_terminationProtected; } /** *A Boolean that indicates whether to protect the cluster and prevent the * Amazon EC2 instances in the cluster from shutting down due to API calls, user * intervention, or job-flow error.
*/ inline bool TerminationProtectedHasBeenSet() const { return m_terminationProtectedHasBeenSet; } /** *A Boolean that indicates whether to protect the cluster and prevent the * Amazon EC2 instances in the cluster from shutting down due to API calls, user * intervention, or job-flow error.
*/ inline void SetTerminationProtected(bool value) { m_terminationProtectedHasBeenSet = true; m_terminationProtected = value; } /** *A Boolean that indicates whether to protect the cluster and prevent the * Amazon EC2 instances in the cluster from shutting down due to API calls, user * intervention, or job-flow error.
*/ inline SetTerminationProtectionRequest& WithTerminationProtected(bool value) { SetTerminationProtected(value); return *this;} private: Aws::Vector