AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExperimentTemplateAction.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 ExperimentTemplateAction& WithActionId(const Aws::String& value) { SetActionId(value); return *this;}
52 inline ExperimentTemplateAction& WithActionId(Aws::String&& value) { SetActionId(std::move(value)); return *this;}
53 inline ExperimentTemplateAction& 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); }
65 inline ExperimentTemplateAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline ExperimentTemplateAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline ExperimentTemplateAction& 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 ExperimentTemplateAction& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
81 inline ExperimentTemplateAction& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
82 inline ExperimentTemplateAction& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
83 inline ExperimentTemplateAction& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
84 inline ExperimentTemplateAction& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
85 inline ExperimentTemplateAction& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
86 inline ExperimentTemplateAction& 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); }
98 inline ExperimentTemplateAction& WithTargets(Aws::Map<Aws::String, Aws::String>&& value) { SetTargets(std::move(value)); return *this;}
99 inline ExperimentTemplateAction& AddTargets(const Aws::String& key, const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
100 inline ExperimentTemplateAction& AddTargets(Aws::String&& key, const Aws::String& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
101 inline ExperimentTemplateAction& AddTargets(const Aws::String& key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
102 inline ExperimentTemplateAction& AddTargets(Aws::String&& key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), std::move(value)); return *this; }
103 inline ExperimentTemplateAction& AddTargets(const char* key, Aws::String&& value) { m_targetsHasBeenSet = true; m_targets.emplace(key, std::move(value)); return *this; }
104 inline ExperimentTemplateAction& AddTargets(Aws::String&& key, const char* value) { m_targetsHasBeenSet = true; m_targets.emplace(std::move(key), value); return *this; }
105 inline ExperimentTemplateAction& AddTargets(const char* key, const char* value) { m_targetsHasBeenSet = true; m_targets.emplace(key, value); return *this; }
107
109
113 inline const Aws::Vector<Aws::String>& GetStartAfter() const{ return m_startAfter; }
114 inline bool StartAfterHasBeenSet() const { return m_startAfterHasBeenSet; }
115 inline void SetStartAfter(const Aws::Vector<Aws::String>& value) { m_startAfterHasBeenSet = true; m_startAfter = value; }
116 inline void SetStartAfter(Aws::Vector<Aws::String>&& value) { m_startAfterHasBeenSet = true; m_startAfter = std::move(value); }
118 inline ExperimentTemplateAction& WithStartAfter(Aws::Vector<Aws::String>&& value) { SetStartAfter(std::move(value)); return *this;}
119 inline ExperimentTemplateAction& AddStartAfter(const Aws::String& value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(value); return *this; }
120 inline ExperimentTemplateAction& AddStartAfter(Aws::String&& value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(std::move(value)); return *this; }
121 inline ExperimentTemplateAction& AddStartAfter(const char* value) { m_startAfterHasBeenSet = true; m_startAfter.push_back(value); return *this; }
123 private:
124
125 Aws::String m_actionId;
126 bool m_actionIdHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
132 bool m_parametersHasBeenSet = false;
133
135 bool m_targetsHasBeenSet = false;
136
137 Aws::Vector<Aws::String> m_startAfter;
138 bool m_startAfterHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace FIS
143} // namespace Aws
void SetTargets(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTemplateAction & WithActionId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_FIS_API ExperimentTemplateAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateAction & AddTargets(const char *key, const char *value)
const Aws::Vector< Aws::String > & GetStartAfter() const
ExperimentTemplateAction & WithStartAfter(Aws::Vector< Aws::String > &&value)
ExperimentTemplateAction & AddParameters(Aws::String &&key, const char *value)
ExperimentTemplateAction & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
ExperimentTemplateAction & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentTemplateAction & WithTargets(Aws::Map< Aws::String, Aws::String > &&value)
void SetStartAfter(Aws::Vector< Aws::String > &&value)
ExperimentTemplateAction & AddStartAfter(const Aws::String &value)
ExperimentTemplateAction & AddTargets(const Aws::String &key, Aws::String &&value)
ExperimentTemplateAction & AddParameters(const char *key, Aws::String &&value)
ExperimentTemplateAction & AddParameters(const char *key, const char *value)
ExperimentTemplateAction & AddParameters(const Aws::String &key, const Aws::String &value)
ExperimentTemplateAction & WithDescription(const Aws::String &value)
void SetTargets(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentTemplateAction & AddTargets(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTargets() const
void SetStartAfter(const Aws::Vector< Aws::String > &value)
ExperimentTemplateAction & AddParameters(const Aws::String &key, Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_FIS_API ExperimentTemplateAction(Aws::Utils::Json::JsonView jsonValue)
ExperimentTemplateAction & AddTargets(Aws::String &&key, const char *value)
ExperimentTemplateAction & WithStartAfter(const Aws::Vector< Aws::String > &value)
ExperimentTemplateAction & WithTargets(const Aws::Map< Aws::String, Aws::String > &value)
ExperimentTemplateAction & WithActionId(const Aws::String &value)
ExperimentTemplateAction & AddTargets(const Aws::String &key, const Aws::String &value)
ExperimentTemplateAction & WithDescription(const char *value)
ExperimentTemplateAction & WithDescription(Aws::String &&value)
ExperimentTemplateAction & AddStartAfter(Aws::String &&value)
ExperimentTemplateAction & AddStartAfter(const char *value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
ExperimentTemplateAction & AddParameters(Aws::String &&key, Aws::String &&value)
ExperimentTemplateAction & AddParameters(Aws::String &&key, const Aws::String &value)
ExperimentTemplateAction & WithActionId(const char *value)
ExperimentTemplateAction & AddTargets(Aws::String &&key, Aws::String &&value)
ExperimentTemplateAction & AddTargets(Aws::String &&key, const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, 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