AWS SDK for C++  1.9.20
AWS SDK for C++
Application.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace EMR
24 {
25 namespace Model
26 {
27 
44  {
45  public:
50 
51 
55  inline const Aws::String& GetName() const{ return m_name; }
56 
60  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 
65  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
66 
70  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 
75  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
76 
80  inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
81 
85  inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
86 
90  inline Application& WithName(const char* value) { SetName(value); return *this;}
91 
92 
96  inline const Aws::String& GetVersion() const{ return m_version; }
97 
101  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
102 
106  inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
107 
111  inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
112 
116  inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
117 
121  inline Application& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
122 
126  inline Application& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
127 
131  inline Application& WithVersion(const char* value) { SetVersion(value); return *this;}
132 
133 
137  inline const Aws::Vector<Aws::String>& GetArgs() const{ return m_args; }
138 
142  inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
143 
147  inline void SetArgs(const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args = value; }
148 
152  inline void SetArgs(Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
153 
157  inline Application& WithArgs(const Aws::Vector<Aws::String>& value) { SetArgs(value); return *this;}
158 
162  inline Application& WithArgs(Aws::Vector<Aws::String>&& value) { SetArgs(std::move(value)); return *this;}
163 
167  inline Application& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
168 
172  inline Application& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; }
173 
177  inline Application& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
178 
179 
184  inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalInfo() const{ return m_additionalInfo; }
185 
190  inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
191 
196  inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
197 
202  inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
203 
208  inline Application& WithAdditionalInfo(const Aws::Map<Aws::String, Aws::String>& value) { SetAdditionalInfo(value); return *this;}
209 
214  inline Application& WithAdditionalInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetAdditionalInfo(std::move(value)); return *this;}
215 
220  inline Application& AddAdditionalInfo(const Aws::String& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
221 
226  inline Application& AddAdditionalInfo(Aws::String&& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
227 
232  inline Application& AddAdditionalInfo(const Aws::String& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
233 
238  inline Application& AddAdditionalInfo(Aws::String&& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
239 
244  inline Application& AddAdditionalInfo(const char* key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
245 
250  inline Application& AddAdditionalInfo(Aws::String&& key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
251 
256  inline Application& AddAdditionalInfo(const char* key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
257 
258  private:
259 
260  Aws::String m_name;
261  bool m_nameHasBeenSet;
262 
263  Aws::String m_version;
264  bool m_versionHasBeenSet;
265 
267  bool m_argsHasBeenSet;
268 
269  Aws::Map<Aws::String, Aws::String> m_additionalInfo;
270  bool m_additionalInfoHasBeenSet;
271  };
272 
273 } // namespace Model
274 } // namespace EMR
275 } // namespace Aws
Aws::EMR::Model::Application::SetName
void SetName(Aws::String &&value)
Definition: Application.h:70
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(const Aws::String &key, Aws::String &&value)
Definition: Application.h:232
Aws::EMR::Model::Application::operator=
Application & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::Application::AdditionalInfoHasBeenSet
bool AdditionalInfoHasBeenSet() const
Definition: Application.h:190
Aws::EMR::Model::Application::WithName
Application & WithName(const char *value)
Definition: Application.h:90
Aws::EMR::Model::Application::Application
Application()
Aws::EMR::Model::Application::SetArgs
void SetArgs(Aws::Vector< Aws::String > &&value)
Definition: Application.h:152
EMR_EXPORTS.h
Aws::EMR::Model::Application::Application
Application(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::Application::WithAdditionalInfo
Application & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Application.h:208
Aws::EMR::Model::Application::AddArgs
Application & AddArgs(const char *value)
Definition: Application.h:177
Aws::EMR::Model::Application::WithName
Application & WithName(const Aws::String &value)
Definition: Application.h:80
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(Aws::String &&key, Aws::String &&value)
Definition: Application.h:238
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(const char *key, const char *value)
Definition: Application.h:256
Aws::EMR::Model::Application::GetArgs
const Aws::Vector< Aws::String > & GetArgs() const
Definition: Application.h:137
Aws::EMR::Model::Application::SetVersion
void SetVersion(Aws::String &&value)
Definition: Application.h:111
Aws::EMR::Model::Application::AddArgs
Application & AddArgs(const Aws::String &value)
Definition: Application.h:167
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::Application::AddArgs
Application & AddArgs(Aws::String &&value)
Definition: Application.h:172
Aws::EMR::Model::Application::SetArgs
void SetArgs(const Aws::Vector< Aws::String > &value)
Definition: Application.h:147
AWSVector.h
Aws::EMR::Model::Application::SetAdditionalInfo
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Application.h:202
Aws::EMR::Model::Application::WithVersion
Application & WithVersion(Aws::String &&value)
Definition: Application.h:126
Aws::EMR::Model::Application::ArgsHasBeenSet
bool ArgsHasBeenSet() const
Definition: Application.h:142
Aws::EMR::Model::Application::WithAdditionalInfo
Application & WithAdditionalInfo(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Application.h:214
Aws::EMR::Model::Application::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(Aws::String &&key, const Aws::String &value)
Definition: Application.h:226
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(Aws::String &&key, const char *value)
Definition: Application.h:250
Aws::EMR::Model::Application::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Application.h:60
Aws::EMR::Model::Application::WithVersion
Application & WithVersion(const Aws::String &value)
Definition: Application.h:121
Aws::EMR::Model::Application
Definition: Application.h:44
Aws::EMR::Model::ExecutionEngineType::NOT_SET
@ NOT_SET
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(const Aws::String &key, const Aws::String &value)
Definition: Application.h:220
Aws::EMR::Model::Application::GetVersion
const Aws::String & GetVersion() const
Definition: Application.h:96
Aws::EMR::Model::Application::SetName
void SetName(const Aws::String &value)
Definition: Application.h:65
Aws::EMR::Model::Application::SetVersion
void SetVersion(const Aws::String &value)
Definition: Application.h:106
Aws::EMR::Model::Application::SetAdditionalInfo
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Application.h:196
Aws::EMR::Model::Application::GetName
const Aws::String & GetName() const
Definition: Application.h:55
Aws::EMR::Model::Application::WithVersion
Application & WithVersion(const char *value)
Definition: Application.h:131
Aws::EMR::Model::Application::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: Application.h:101
Aws::EMR::Model::Application::SetVersion
void SetVersion(const char *value)
Definition: Application.h:116
Aws::EMR::Model::Application::SetName
void SetName(const char *value)
Definition: Application.h:75
Aws::EMR::Model::Application::WithArgs
Application & WithArgs(const Aws::Vector< Aws::String > &value)
Definition: Application.h:157
Aws::EMR::Model::Application::WithName
Application & WithName(Aws::String &&value)
Definition: Application.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::Application::GetAdditionalInfo
const Aws::Map< Aws::String, Aws::String > & GetAdditionalInfo() const
Definition: Application.h:184
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::Application::AddAdditionalInfo
Application & AddAdditionalInfo(const char *key, Aws::String &&value)
Definition: Application.h:244
Aws::EMR::Model::Application::WithArgs
Application & WithArgs(Aws::Vector< Aws::String > &&value)
Definition: Application.h:162
AWSMap.h
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19