AWS SDK for C++  1.8.126
AWS SDK for C++
SupportedProductConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace EMR
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetName() const{ return m_name; }
47 
51  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 
56  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 
61  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 
66  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 
71  inline SupportedProductConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
76  inline SupportedProductConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
77 
81  inline SupportedProductConfig& WithName(const char* value) { SetName(value); return *this;}
82 
83 
87  inline const Aws::Vector<Aws::String>& GetArgs() const{ return m_args; }
88 
92  inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
93 
97  inline void SetArgs(const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args = value; }
98 
102  inline void SetArgs(Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
103 
107  inline SupportedProductConfig& WithArgs(const Aws::Vector<Aws::String>& value) { SetArgs(value); return *this;}
108 
112  inline SupportedProductConfig& WithArgs(Aws::Vector<Aws::String>&& value) { SetArgs(std::move(value)); return *this;}
113 
117  inline SupportedProductConfig& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
118 
122  inline SupportedProductConfig& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; }
123 
127  inline SupportedProductConfig& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
128 
129  private:
130 
131  Aws::String m_name;
132  bool m_nameHasBeenSet;
133 
135  bool m_argsHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace EMR
140 } // namespace Aws
Aws::EMR::Model::SupportedProductConfig::SetArgs
void SetArgs(const Aws::Vector< Aws::String > &value)
Definition: SupportedProductConfig.h:97
Aws::EMR::Model::SupportedProductConfig::GetArgs
const Aws::Vector< Aws::String > & GetArgs() const
Definition: SupportedProductConfig.h:87
EMR_EXPORTS.h
Aws::EMR::Model::SupportedProductConfig::AddArgs
SupportedProductConfig & AddArgs(Aws::String &&value)
Definition: SupportedProductConfig.h:122
Aws::EMR::Model::SupportedProductConfig::AddArgs
SupportedProductConfig & AddArgs(const Aws::String &value)
Definition: SupportedProductConfig.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EMR::Model::SupportedProductConfig::SetArgs
void SetArgs(Aws::Vector< Aws::String > &&value)
Definition: SupportedProductConfig.h:102
AWSVector.h
Aws::EMR::Model::SupportedProductConfig::WithName
SupportedProductConfig & WithName(const char *value)
Definition: SupportedProductConfig.h:81
Aws::EMR::Model::SupportedProductConfig::WithArgs
SupportedProductConfig & WithArgs(Aws::Vector< Aws::String > &&value)
Definition: SupportedProductConfig.h:112
Aws::EMR::Model::SupportedProductConfig::WithArgs
SupportedProductConfig & WithArgs(const Aws::Vector< Aws::String > &value)
Definition: SupportedProductConfig.h:107
Aws::EMR::Model::SupportedProductConfig::SetName
void SetName(const Aws::String &value)
Definition: SupportedProductConfig.h:56
Aws::EMR::Model::SupportedProductConfig::AddArgs
SupportedProductConfig & AddArgs(const char *value)
Definition: SupportedProductConfig.h:127
Aws::EMR::Model::SupportedProductConfig::ArgsHasBeenSet
bool ArgsHasBeenSet() const
Definition: SupportedProductConfig.h:92
Aws::EMR::Model::SupportedProductConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::EMR::Model::SupportedProductConfig
Definition: SupportedProductConfig.h:35
Aws::EMR::Model::SupportedProductConfig::WithName
SupportedProductConfig & WithName(Aws::String &&value)
Definition: SupportedProductConfig.h:76
Aws::EMR::Model::SupportedProductConfig::GetName
const Aws::String & GetName() const
Definition: SupportedProductConfig.h:46
Aws::EMR::Model::SupportedProductConfig::SetName
void SetName(const char *value)
Definition: SupportedProductConfig.h:66
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::SupportedProductConfig::SetName
void SetName(Aws::String &&value)
Definition: SupportedProductConfig.h:61
Aws::EMR::Model::SupportedProductConfig::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SupportedProductConfig.h:51
Aws::EMR::Model::SupportedProductConfig::WithName
SupportedProductConfig & WithName(const Aws::String &value)
Definition: SupportedProductConfig.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::EMR::Model::SupportedProductConfig::operator=
SupportedProductConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EMR::Model::SupportedProductConfig::SupportedProductConfig
SupportedProductConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::EMR::Model::SupportedProductConfig::SupportedProductConfig
SupportedProductConfig()
AWS_EMR_API
#define AWS_EMR_API
Definition: EMR_EXPORTS.h:28