AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
38 AWS_EMR_API SupportedProductConfig() = default;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 SupportedProductConfig& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetArgs() const { return m_args; }
61 inline bool ArgsHasBeenSet() const { return m_argsHasBeenSet; }
62 template<typename ArgsT = Aws::Vector<Aws::String>>
63 void SetArgs(ArgsT&& value) { m_argsHasBeenSet = true; m_args = std::forward<ArgsT>(value); }
64 template<typename ArgsT = Aws::Vector<Aws::String>>
65 SupportedProductConfig& WithArgs(ArgsT&& value) { SetArgs(std::forward<ArgsT>(value)); return *this;}
66 template<typename ArgsT = Aws::String>
67 SupportedProductConfig& AddArgs(ArgsT&& value) { m_argsHasBeenSet = true; m_args.emplace_back(std::forward<ArgsT>(value)); return *this; }
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
75 bool m_argsHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EMR
80} // namespace Aws
const Aws::Vector< Aws::String > & GetArgs() const
SupportedProductConfig & WithArgs(ArgsT &&value)
AWS_EMR_API SupportedProductConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
SupportedProductConfig & WithName(NameT &&value)
SupportedProductConfig & AddArgs(ArgsT &&value)
AWS_EMR_API SupportedProductConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API SupportedProductConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue