AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
BootstrapActionDetail.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/elasticmapreduce/model/BootstrapActionConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EMR {
20namespace Model {
21
29 public:
30 AWS_EMR_API BootstrapActionDetail() = default;
34
36
39 inline const BootstrapActionConfig& GetBootstrapActionConfig() const { return m_bootstrapActionConfig; }
40 inline bool BootstrapActionConfigHasBeenSet() const { return m_bootstrapActionConfigHasBeenSet; }
41 template <typename BootstrapActionConfigT = BootstrapActionConfig>
42 void SetBootstrapActionConfig(BootstrapActionConfigT&& value) {
43 m_bootstrapActionConfigHasBeenSet = true;
44 m_bootstrapActionConfig = std::forward<BootstrapActionConfigT>(value);
45 }
46 template <typename BootstrapActionConfigT = BootstrapActionConfig>
47 BootstrapActionDetail& WithBootstrapActionConfig(BootstrapActionConfigT&& value) {
48 SetBootstrapActionConfig(std::forward<BootstrapActionConfigT>(value));
49 return *this;
50 }
52 private:
53 BootstrapActionConfig m_bootstrapActionConfig;
54 bool m_bootstrapActionConfigHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace EMR
59} // namespace Aws
BootstrapActionDetail & WithBootstrapActionConfig(BootstrapActionConfigT &&value)
AWS_EMR_API BootstrapActionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBootstrapActionConfig(BootstrapActionConfigT &&value)
const BootstrapActionConfig & GetBootstrapActionConfig() const
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EMR_API BootstrapActionDetail()=default
AWS_EMR_API BootstrapActionDetail(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue