AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateExperimentTemplateActionInputItem.h
1
6#pragma once
7#include <aws/fis/FIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FIS
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetActionId() const { return m_actionId; }
47 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
48 template<typename ActionIdT = Aws::String>
49 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet = true; m_actionId = std::forward<ActionIdT>(value); }
50 template<typename ActionIdT = Aws::String>
51 UpdateExperimentTemplateActionInputItem& WithActionId(ActionIdT&& value) { SetActionId(std::forward<ActionIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 UpdateExperimentTemplateActionInputItem& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
70 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
71 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
72 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
73 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
74 template<typename ParametersT = Aws::Map<Aws::String, Aws::String>>
75 UpdateExperimentTemplateActionInputItem& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
76 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
77 UpdateExperimentTemplateActionInputItem& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
78 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
79 }
81
83
86 inline const Aws::Map<Aws::String, Aws::String>& GetTargets() const { return m_targets; }
87 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
88 template<typename TargetsT = Aws::Map<Aws::String, Aws::String>>
89 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet = true; m_targets = std::forward<TargetsT>(value); }
90 template<typename TargetsT = Aws::Map<Aws::String, Aws::String>>
91 UpdateExperimentTemplateActionInputItem& WithTargets(TargetsT&& value) { SetTargets(std::forward<TargetsT>(value)); return *this;}
92 template<typename TargetsKeyT = Aws::String, typename TargetsValueT = Aws::String>
93 UpdateExperimentTemplateActionInputItem& AddTargets(TargetsKeyT&& key, TargetsValueT&& value) {
94 m_targetsHasBeenSet = true; m_targets.emplace(std::forward<TargetsKeyT>(key), std::forward<TargetsValueT>(value)); return *this;
95 }
97
99
104 inline const Aws::Vector<Aws::String>& GetStartAfter() const { return m_startAfter; }
105 inline bool StartAfterHasBeenSet() const { return m_startAfterHasBeenSet; }
106 template<typename StartAfterT = Aws::Vector<Aws::String>>
107 void SetStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet = true; m_startAfter = std::forward<StartAfterT>(value); }
108 template<typename StartAfterT = Aws::Vector<Aws::String>>
109 UpdateExperimentTemplateActionInputItem& WithStartAfter(StartAfterT&& value) { SetStartAfter(std::forward<StartAfterT>(value)); return *this;}
110 template<typename StartAfterT = Aws::String>
111 UpdateExperimentTemplateActionInputItem& AddStartAfter(StartAfterT&& value) { m_startAfterHasBeenSet = true; m_startAfter.emplace_back(std::forward<StartAfterT>(value)); return *this; }
113 private:
114
115 Aws::String m_actionId;
116 bool m_actionIdHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
122 bool m_parametersHasBeenSet = false;
123
125 bool m_targetsHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_startAfter;
128 bool m_startAfterHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace FIS
133} // namespace Aws
AWS_FIS_API UpdateExperimentTemplateActionInputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateExperimentTemplateActionInputItem & WithStartAfter(StartAfterT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_FIS_API UpdateExperimentTemplateActionInputItem(Aws::Utils::Json::JsonView jsonValue)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateExperimentTemplateActionInputItem & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
UpdateExperimentTemplateActionInputItem & WithDescription(DescriptionT &&value)
UpdateExperimentTemplateActionInputItem & WithActionId(ActionIdT &&value)
UpdateExperimentTemplateActionInputItem & AddStartAfter(StartAfterT &&value)
UpdateExperimentTemplateActionInputItem & AddTargets(TargetsKeyT &&key, TargetsValueT &&value)
UpdateExperimentTemplateActionInputItem & WithParameters(ParametersT &&value)
UpdateExperimentTemplateActionInputItem & WithTargets(TargetsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue