AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SupportedProductConfig.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EMR
23{
24namespace Model
25{
26
36 {
37 public:
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline SupportedProductConfig& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline SupportedProductConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline SupportedProductConfig& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetArgs() const{ return m_args; }
63 inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
64 inline void SetArgs(const Aws::Vector<Aws::String>& value) { m_argsHasBeenSet = true; m_args = value; }
65 inline void SetArgs(Aws::Vector<Aws::String>&& value) { m_argsHasBeenSet = true; m_args = std::move(value); }
66 inline SupportedProductConfig& WithArgs(const Aws::Vector<Aws::String>& value) { SetArgs(value); return *this;}
67 inline SupportedProductConfig& WithArgs(Aws::Vector<Aws::String>&& value) { SetArgs(std::move(value)); return *this;}
68 inline SupportedProductConfig& AddArgs(const Aws::String& value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
69 inline SupportedProductConfig& AddArgs(Aws::String&& value) { m_argsHasBeenSet = true; m_args.push_back(std::move(value)); return *this; }
70 inline SupportedProductConfig& AddArgs(const char* value) { m_argsHasBeenSet = true; m_args.push_back(value); return *this; }
72 private:
73
74 Aws::String m_name;
75 bool m_nameHasBeenSet = false;
76
78 bool m_argsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace EMR
83} // namespace Aws
SupportedProductConfig & WithName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetArgs() const
SupportedProductConfig & AddArgs(const Aws::String &value)
SupportedProductConfig & WithArgs(Aws::Vector< Aws::String > &&value)
SupportedProductConfig & WithName(const Aws::String &value)
SupportedProductConfig & WithArgs(const Aws::Vector< Aws::String > &value)
AWS_EMR_API SupportedProductConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SupportedProductConfig & WithName(const char *value)
SupportedProductConfig & AddArgs(Aws::String &&value)
void SetArgs(Aws::Vector< Aws::String > &&value)
SupportedProductConfig & AddArgs(const char *value)
AWS_EMR_API SupportedProductConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetArgs(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue