AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
49 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
50 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
51 inline UpdateExperimentTemplateActionInputItem& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
52 inline UpdateExperimentTemplateActionInputItem& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
53 inline UpdateExperimentTemplateActionInputItem& WithActionId(const char* value) { SetActionId(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline UpdateExperimentTemplateActionInputItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline UpdateExperimentTemplateActionInputItem& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
75 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
76 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
77 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
80 inline UpdateExperimentTemplateActionInputItem& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
81 inline UpdateExperimentTemplateActionInputItem& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
82 inline UpdateExperimentTemplateActionInputItem& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
83 inline UpdateExperimentTemplateActionInputItem& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
84 inline UpdateExperimentTemplateActionInputItem& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
85 inline UpdateExperimentTemplateActionInputItem& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
86 inline UpdateExperimentTemplateActionInputItem& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
88
90
93 inline const Aws::Map<Aws::String, Aws::String>& GetTargets() const{ return m_targets; }
94 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
95 inline void SetTargets(const Aws::Map<Aws::String, Aws::String>& value) { m_targetsHasBeenSet = true; m_targets = value; }
96 inline void SetTargets(Aws::Map<Aws::String, Aws::String>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
99 inline UpdateExperimentTemplateActionInputItem& AddTargets(const Aws::String& key, const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
100 inline UpdateExperimentTemplateActionInputItem& AddTargets(Aws::String&& key, const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
101 inline UpdateExperimentTemplateActionInputItem& AddTargets(const Aws::String& key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
102 inline UpdateExperimentTemplateActionInputItem& AddTargets(Aws::String&& key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), std::move(value)); return *this; }
103 inline UpdateExperimentTemplateActionInputItem& AddTargets(const char* key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
104 inline UpdateExperimentTemplateActionInputItem& AddTargets(Aws::String&& key, const char* value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
105 inline UpdateExperimentTemplateActionInputItem& AddTargets(const char* key, const char* value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
107
109
114 inline const Aws::Vector<Aws::String>& GetStartAfter() const{ return m_startAfter; }
115 inline bool StartAfterHasBeenSet() const { return m_startAfterHasBeenSet; }
116 inline void SetStartAfter(const Aws::Vector<Aws::String>& value) { m_startAfterHasBeenSet = true; m_startAfter = value; }
117 inline void SetStartAfter(Aws::Vector<Aws::String>&& value) { m_startAfterHasBeenSet = true; m_startAfter = std::move(value); }
120 inline UpdateExperimentTemplateActionInputItem& AddStartAfter(const Aws::String& value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(value); return *this; }
121 inline UpdateExperimentTemplateActionInputItem& AddStartAfter(Aws::String&& value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(std::move(value)); return *this; }
122 inline UpdateExperimentTemplateActionInputItem& AddStartAfter(const char* value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(value); return *this; }
124 private:
125
126 Aws::String m_actionId;
127 bool m_actionIdHasBeenSet = false;
128
129 Aws::String m_description;
130 bool m_descriptionHasBeenSet = false;
131
133 bool m_parametersHasBeenSet = false;
134
136 bool m_targetsHasBeenSet = false;
137
138 Aws::Vector<Aws::String> m_startAfter;
139 bool m_startAfterHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace FIS
144} // namespace Aws
AWS_FIS_API UpdateExperimentTemplateActionInputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateExperimentTemplateActionInputItem & WithDescription(Aws::String &&value)
UpdateExperimentTemplateActionInputItem & AddParameters(Aws::String &&key, Aws::String &&value)
UpdateExperimentTemplateActionInputItem & AddParameters(Aws::String &&key, const char *value)
UpdateExperimentTemplateActionInputItem & AddParameters(const Aws::String &key, const Aws::String &value)
UpdateExperimentTemplateActionInputItem & AddTargets(const Aws::String &key, Aws::String &&value)
UpdateExperimentTemplateActionInputItem & AddTargets(const char *key, Aws::String &&value)
UpdateExperimentTemplateActionInputItem & WithStartAfter(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
UpdateExperimentTemplateActionInputItem & WithDescription(const char *value)
AWS_FIS_API UpdateExperimentTemplateActionInputItem(Aws::Utils::Json::JsonView jsonValue)
UpdateExperimentTemplateActionInputItem & AddStartAfter(Aws::String &&value)
UpdateExperimentTemplateActionInputItem & WithTargets(Aws::Map< Aws::String, Aws::String > &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateExperimentTemplateActionInputItem & WithDescription(const Aws::String &value)
UpdateExperimentTemplateActionInputItem & AddParameters(const Aws::String &key, Aws::String &&value)
UpdateExperimentTemplateActionInputItem & AddTargets(Aws::String &&key, const Aws::String &value)
UpdateExperimentTemplateActionInputItem & AddTargets(const char *key, const char *value)
UpdateExperimentTemplateActionInputItem & AddTargets(Aws::String &&key, Aws::String &&value)
UpdateExperimentTemplateActionInputItem & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExperimentTemplateActionInputItem & WithTargets(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExperimentTemplateActionInputItem & AddStartAfter(const char *value)
UpdateExperimentTemplateActionInputItem & WithStartAfter(const Aws::Vector< Aws::String > &value)
UpdateExperimentTemplateActionInputItem & AddTargets(Aws::String &&key, const char *value)
UpdateExperimentTemplateActionInputItem & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateExperimentTemplateActionInputItem & AddParameters(const char *key, const char *value)
UpdateExperimentTemplateActionInputItem & AddTargets(const Aws::String &key, const Aws::String &value)
UpdateExperimentTemplateActionInputItem & AddParameters(Aws::String &&key, const Aws::String &value)
void SetTargets(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExperimentTemplateActionInputItem & AddParameters(const char *key, Aws::String &&value)
UpdateExperimentTemplateActionInputItem & WithActionId(Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExperimentTemplateActionInputItem & WithActionId(const Aws::String &value)
UpdateExperimentTemplateActionInputItem & AddStartAfter(const Aws::String &value)
UpdateExperimentTemplateActionInputItem & WithActionId(const char *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