AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExperimentTemplateActionInput.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
37 {
38 public:
43
44
46
50 inline const Aws::String& GetActionId() const{ return m_actionId; }
51 inline bool ActionIdHasBeenSet() const { return m_actionIdHasBeenSet; }
52 inline void SetActionId(const Aws::String& value) { m_actionIdHasBeenSet = true; m_actionId = value; }
53 inline void SetActionId(Aws::String&& value) { m_actionIdHasBeenSet = true; m_actionId = std::move(value); }
54 inline void SetActionId(const char* value) { m_actionIdHasBeenSet = true; m_actionId.assign(value); }
55 inline CreateExperimentTemplateActionInput& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
56 inline CreateExperimentTemplateActionInput& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
57 inline CreateExperimentTemplateActionInput& WithActionId(const char* value) { SetActionId(value); return *this;}
59
61
64 inline const Aws::String& GetDescription() const{ return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
67 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
68 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline CreateExperimentTemplateActionInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
71 inline CreateExperimentTemplateActionInput& WithDescription(const char* value) { SetDescription(value); return *this;}
73
75
78 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
79 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
80 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
81 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
84 inline CreateExperimentTemplateActionInput& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
85 inline CreateExperimentTemplateActionInput& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
86 inline CreateExperimentTemplateActionInput& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
87 inline CreateExperimentTemplateActionInput& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
88 inline CreateExperimentTemplateActionInput& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
89 inline CreateExperimentTemplateActionInput& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
90 inline CreateExperimentTemplateActionInput& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTargets() const{ return m_targets; }
98 inline bool TargetsHasBeenSet() const { return m_targetsHasBeenSet; }
99 inline void SetTargets(const Aws::Map<Aws::String, Aws::String>& value) { m_targetsHasBeenSet = true; m_targets = value; }
100 inline void SetTargets(Aws::Map<Aws::String, Aws::String>&& value) { m_targetsHasBeenSet = true; m_targets = std::move(value); }
103 inline CreateExperimentTemplateActionInput& AddTargets(const Aws::String& key, const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
104 inline CreateExperimentTemplateActionInput& AddTargets(Aws::String&& key, const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
105 inline CreateExperimentTemplateActionInput& AddTargets(const Aws::String& key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
106 inline CreateExperimentTemplateActionInput& AddTargets(Aws::String&& key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), std::move(value)); return *this; }
107 inline CreateExperimentTemplateActionInput& AddTargets(const char* key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
108 inline CreateExperimentTemplateActionInput& AddTargets(Aws::String&& key, const char* value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
109 inline CreateExperimentTemplateActionInput& AddTargets(const char* key, const char* value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
111
113
118 inline const Aws::Vector<Aws::String>& GetStartAfter() const{ return m_startAfter; }
119 inline bool StartAfterHasBeenSet() const { return m_startAfterHasBeenSet; }
120 inline void SetStartAfter(const Aws::Vector<Aws::String>& value) { m_startAfterHasBeenSet = true; m_startAfter = value; }
121 inline void SetStartAfter(Aws::Vector<Aws::String>&& value) { m_startAfterHasBeenSet = true; m_startAfter = std::move(value); }
124 inline CreateExperimentTemplateActionInput& AddStartAfter(const Aws::String& value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(value); return *this; }
125 inline CreateExperimentTemplateActionInput& AddStartAfter(Aws::String&& value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(std::move(value)); return *this; }
126 inline CreateExperimentTemplateActionInput& AddStartAfter(const char* value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(value); return *this; }
128 private:
129
130 Aws::String m_actionId;
131 bool m_actionIdHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
137 bool m_parametersHasBeenSet = false;
138
140 bool m_targetsHasBeenSet = false;
141
142 Aws::Vector<Aws::String> m_startAfter;
143 bool m_startAfterHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace FIS
148} // namespace Aws
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargets(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargets(Aws::Map< Aws::String, Aws::String > &&value)
CreateExperimentTemplateActionInput & AddParameters(Aws::String &&key, const char *value)
CreateExperimentTemplateActionInput & AddParameters(const Aws::String &key, const Aws::String &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
CreateExperimentTemplateActionInput & WithActionId(const char *value)
CreateExperimentTemplateActionInput & AddTargets(Aws::String &&key, const char *value)
CreateExperimentTemplateActionInput & AddStartAfter(Aws::String &&value)
CreateExperimentTemplateActionInput & WithDescription(Aws::String &&value)
CreateExperimentTemplateActionInput & AddTargets(Aws::String &&key, const Aws::String &value)
CreateExperimentTemplateActionInput & AddTargets(const Aws::String &key, const Aws::String &value)
CreateExperimentTemplateActionInput & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
AWS_FIS_API CreateExperimentTemplateActionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateExperimentTemplateActionInput & WithDescription(const Aws::String &value)
CreateExperimentTemplateActionInput & WithTargets(const Aws::Map< Aws::String, Aws::String > &value)
CreateExperimentTemplateActionInput & AddTargets(const char *key, const char *value)
CreateExperimentTemplateActionInput & AddStartAfter(const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateExperimentTemplateActionInput & AddParameters(const char *key, const char *value)
CreateExperimentTemplateActionInput & WithActionId(Aws::String &&value)
CreateExperimentTemplateActionInput & AddTargets(const char *key, Aws::String &&value)
AWS_FIS_API CreateExperimentTemplateActionInput(Aws::Utils::Json::JsonView jsonValue)
CreateExperimentTemplateActionInput & WithDescription(const char *value)
CreateExperimentTemplateActionInput & AddParameters(const Aws::String &key, Aws::String &&value)
CreateExperimentTemplateActionInput & WithStartAfter(Aws::Vector< Aws::String > &&value)
CreateExperimentTemplateActionInput & AddStartAfter(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
CreateExperimentTemplateActionInput & WithActionId(const Aws::String &value)
CreateExperimentTemplateActionInput & AddParameters(Aws::String &&key, Aws::String &&value)
CreateExperimentTemplateActionInput & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateExperimentTemplateActionInput & AddParameters(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTargets() const
CreateExperimentTemplateActionInput & WithStartAfter(const Aws::Vector< Aws::String > &value)
CreateExperimentTemplateActionInput & AddTargets(const Aws::String &key, Aws::String &&value)
CreateExperimentTemplateActionInput & AddParameters(const char *key, Aws::String &&value)
CreateExperimentTemplateActionInput & WithTargets(Aws::Map< Aws::String, Aws::String > &&value)
CreateExperimentTemplateActionInput & AddTargets(Aws::String &&key, Aws::String &&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