AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EMR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMR_API BootstrapActionDetail() = default;
39
40
42
45 inline const BootstrapActionConfig& GetBootstrapActionConfig() const { return m_bootstrapActionConfig; }
46 inline bool BootstrapActionConfigHasBeenSet() const { return m_bootstrapActionConfigHasBeenSet; }
47 template<typename BootstrapActionConfigT = BootstrapActionConfig>
48 void SetBootstrapActionConfig(BootstrapActionConfigT&& value) { m_bootstrapActionConfigHasBeenSet = true; m_bootstrapActionConfig = std::forward<BootstrapActionConfigT>(value); }
49 template<typename BootstrapActionConfigT = BootstrapActionConfig>
50 BootstrapActionDetail& WithBootstrapActionConfig(BootstrapActionConfigT&& value) { SetBootstrapActionConfig(std::forward<BootstrapActionConfigT>(value)); return *this;}
52 private:
53
54 BootstrapActionConfig m_bootstrapActionConfig;
55 bool m_bootstrapActionConfigHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace EMR
60} // 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