/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include With Amazon EMR release version 4.0 and later, the only accepted parameter is
* the application name. To pass arguments to applications, you use configuration
* classifications specified using configuration JSON objects. For more
* information, see Configuring
* Applications. With earlier Amazon EMR releases, the application is
* any Amazon or third-party software that you can add to the cluster. This
* structure contains a list of strings that indicates the software to use with the
* cluster and accepts a user argument list. Amazon EMR accepts and forwards the
* argument list to the corresponding installation script as bootstrap action
* argument.See Also:
AWS
* API Reference
The name of the application.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the application.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the application.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the application.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the application.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the application.
*/ inline Application& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the application.
*/ inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the application.
*/ inline Application& WithName(const char* value) { SetName(value); return *this;} /** *The version of the application.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the application.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the application.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the application.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the application.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the application.
*/ inline Application& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the application.
*/ inline Application& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the application.
*/ inline Application& WithVersion(const char* value) { SetVersion(value); return *this;} /** *Arguments for Amazon EMR to pass to the application.
*/ inline const Aws::VectorArguments for Amazon EMR to pass to the application.
*/ inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; } /** *Arguments for Amazon EMR to pass to the application.
*/ inline void SetArgs(const Aws::VectorArguments for Amazon EMR to pass to the application.
*/ inline void SetArgs(Aws::VectorArguments for Amazon EMR to pass to the application.
*/ inline Application& WithArgs(const Aws::VectorArguments for Amazon EMR to pass to the application.
*/ inline Application& WithArgs(Aws::VectorArguments for Amazon EMR to pass to the application.
*/ inline Application& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; } /** *Arguments for Amazon EMR to pass to the application.
*/ inline Application& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; } /** *Arguments for Amazon EMR to pass to the application.
*/ inline Application& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline const Aws::MapThis option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline void SetAdditionalInfo(const Aws::MapThis option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline void SetAdditionalInfo(Aws::MapThis option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& WithAdditionalInfo(const Aws::MapThis option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& WithAdditionalInfo(Aws::MapThis option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(const Aws::String& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(Aws::String&& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(const Aws::String& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(Aws::String&& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(const char* key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(Aws::String&& key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; } /** *This option is for advanced users only. This is meta information about * third-party applications that third-party vendors use for testing purposes.
*/ inline Application& AddAdditionalInfo(const char* key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; Aws::Vector