/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon Linux release specified for a cluster in the RunJobFlow
* request.See Also:
AWS
* API Reference
The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline OSRelease& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline OSRelease& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The Amazon Linux release specified for a cluster in the RunJobFlow request. * The format is as shown in * Amazon Linux 2 Release Notes . For example, 2.0.20220218.1.
*/ inline OSRelease& WithLabel(const char* value) { SetLabel(value); return *this;} private: Aws::String m_label; bool m_labelHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws