7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
58 template<
typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
60 template<
typename NameT = Aws::String>
70 template<
typename VersionT = Aws::String>
71 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
72 template<
typename VersionT = Aws::String>
82 template<
typename ArgsT = Aws::Vector<Aws::String>>
83 void SetArgs(ArgsT&& value) { m_argsHasBeenSet =
true; m_args = std::forward<ArgsT>(value); }
84 template<
typename ArgsT = Aws::Vector<Aws::String>>
86 template<
typename ArgsT = Aws::String>
87 Application&
AddArgs(ArgsT&& value) { m_argsHasBeenSet =
true; m_args.emplace_back(std::forward<ArgsT>(value));
return *
this; }
97 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::String>>
98 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
99 template<
typename AdditionalInfoT = Aws::Map<Aws::String, Aws::String>>
101 template<
typename AdditionalInfoKeyT = Aws::String,
typename AdditionalInfoValueT = Aws::String>
103 m_additionalInfoHasBeenSet =
true; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
return *
this;
109 bool m_nameHasBeenSet =
false;
112 bool m_versionHasBeenSet =
false;
115 bool m_argsHasBeenSet =
false;
118 bool m_additionalInfoHasBeenSet =
false;
bool AdditionalInfoHasBeenSet() const
Application & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
AWS_EMR_API Application(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Application()=default
const Aws::Map< Aws::String, Aws::String > & GetAdditionalInfo() const
AWS_EMR_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetVersion(VersionT &&value)
Application & AddArgs(ArgsT &&value)
Application & WithName(NameT &&value)
Application & WithArgs(ArgsT &&value)
Application & WithAdditionalInfo(AdditionalInfoT &&value)
void SetName(NameT &&value)
bool ArgsHasBeenSet() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArgs(ArgsT &&value)
bool NameHasBeenSet() const
bool VersionHasBeenSet() const
const Aws::Vector< Aws::String > & GetArgs() const
void SetAdditionalInfo(AdditionalInfoT &&value)
const Aws::String & GetVersion() const
Application & WithVersion(VersionT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue