AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Application.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EMR
24{
25namespace Model
26{
27
44 {
45 public:
46 AWS_EMR_API Application();
50
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline Application& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline Application& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline Application& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetVersion() const{ return m_version; }
71 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
72 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
73 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
74 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
75 inline Application& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
76 inline Application& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
77 inline Application& WithVersion(const char* value) { SetVersion(value); return *this;}
79
81
84 inline const Aws::Vector<Aws::String>& GetArgs() const{ return m_args; }
85 inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
86 inline void SetArgs(const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args = value; }
87 inline void SetArgs(Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
88 inline Application& WithArgs(const Aws::Vector<Aws::String>& value) { SetArgs(value); return *this;}
89 inline Application& WithArgs(Aws::Vector<Aws::String>&& value) { SetArgs(std::move(value)); return *this;}
90 inline Application& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
91 inline Application& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; }
92 inline Application& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
94
96
100 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalInfo() const{ return m_additionalInfo; }
101 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
102 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
103 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
105 inline Application& WithAdditionalInfo(Aws::Map<Aws::String, Aws::String>&& value) { SetAdditionalInfo(std::move(value)); return *this;}
106 inline Application& AddAdditionalInfo(const Aws::String& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
107 inline Application& AddAdditionalInfo(Aws::String&& key, const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
108 inline Application& AddAdditionalInfo(const Aws::String& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
109 inline Application& AddAdditionalInfo(Aws::String&& key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
110 inline Application& AddAdditionalInfo(const char* key, Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
111 inline Application& AddAdditionalInfo(Aws::String&& key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
112 inline Application& AddAdditionalInfo(const char* key, const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
114 private:
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_version;
120 bool m_versionHasBeenSet = false;
121
123 bool m_argsHasBeenSet = false;
124
125 Aws::Map<Aws::String, Aws::String> m_additionalInfo;
126 bool m_additionalInfoHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace EMR
131} // namespace Aws
bool AdditionalInfoHasBeenSet() const
AWS_EMR_API Application(Aws::Utils::Json::JsonView jsonValue)
void SetArgs(Aws::Vector< Aws::String > &&value)
Definition Application.h:87
Application & WithVersion(Aws::String &&value)
Definition Application.h:76
void SetVersion(Aws::String &&value)
Definition Application.h:73
Application & AddArgs(Aws::String &&value)
Definition Application.h:91
const Aws::Map< Aws::String, Aws::String > & GetAdditionalInfo() const
AWS_EMR_API Application & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition Application.h:56
Application & AddAdditionalInfo(Aws::String &&key, const Aws::String &value)
Application & WithAdditionalInfo(Aws::Map< Aws::String, Aws::String > &&value)
Application & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::String > &value)
Application & WithArgs(const Aws::Vector< Aws::String > &value)
Definition Application.h:88
void SetVersion(const Aws::String &value)
Definition Application.h:72
void SetName(Aws::String &&value)
Definition Application.h:59
Application & AddAdditionalInfo(Aws::String &&key, const char *value)
Application & WithArgs(Aws::Vector< Aws::String > &&value)
Definition Application.h:89
void SetName(const char *value)
Definition Application.h:60
Application & WithName(const char *value)
Definition Application.h:63
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
Application & AddAdditionalInfo(const char *key, const char *value)
Application & AddArgs(const char *value)
Definition Application.h:92
Application & AddAdditionalInfo(const char *key, Aws::String &&value)
Application & WithName(Aws::String &&value)
Definition Application.h:62
Application & AddArgs(const Aws::String &value)
Definition Application.h:90
const Aws::Vector< Aws::String > & GetArgs() const
Definition Application.h:84
void SetVersion(const char *value)
Definition Application.h:74
void SetArgs(const Aws::Vector< Aws::String > &value)
Definition Application.h:86
Application & AddAdditionalInfo(const Aws::String &key, Aws::String &&value)
Application & WithVersion(const char *value)
Definition Application.h:77
void SetName(const Aws::String &value)
Definition Application.h:58
const Aws::String & GetVersion() const
Definition Application.h:70
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::String > &&value)
Application & WithVersion(const Aws::String &value)
Definition Application.h:75
Application & WithName(const Aws::String &value)
Definition Application.h:61
Application & AddAdditionalInfo(Aws::String &&key, Aws::String &&value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::String > &value)
Application & AddAdditionalInfo(const Aws::String &key, const Aws::String &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