AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExperimentTemplateTargetInput.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/fis/model/ExperimentTemplateTargetInputFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace FIS
25{
26namespace Model
27{
28
39 {
40 public:
45
46
48
52 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
53 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
54 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
55 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
56 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
58 inline CreateExperimentTemplateTargetInput& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
59 inline CreateExperimentTemplateTargetInput& WithResourceType(const char* value) { SetResourceType(value); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetResourceArns() const{ return m_resourceArns; }
67 inline bool ResourceArnsHasBeenSet() const { return m_resourceArnsHasBeenSet; }
68 inline void SetResourceArns(const Aws::Vector<Aws::String>& value) { m_resourceArnsHasBeenSet = true; m_resourceArns = value; }
69 inline void SetResourceArns(Aws::Vector<Aws::String>&& value) { m_resourceArnsHasBeenSet = true; m_resourceArns = std::move(value); }
72 inline CreateExperimentTemplateTargetInput& AddResourceArns(const Aws::String& value) { m_resourceArnsHasBeenSet = true; m_resourceArns.push_back(value); return *this; }
73 inline CreateExperimentTemplateTargetInput& AddResourceArns(Aws::String&& value) { m_resourceArnsHasBeenSet = true; m_resourceArns.push_back(std::move(value)); return *this; }
74 inline CreateExperimentTemplateTargetInput& AddResourceArns(const char* value) { m_resourceArnsHasBeenSet = true; m_resourceArns.push_back(value); return *this; }
76
78
81 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const{ return m_resourceTags; }
82 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
83 inline void SetResourceTags(const Aws::Map<Aws::String, Aws::String>& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; }
84 inline void SetResourceTags(Aws::Map<Aws::String, Aws::String>&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); }
87 inline CreateExperimentTemplateTargetInput& AddResourceTags(const Aws::String& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; }
88 inline CreateExperimentTemplateTargetInput& AddResourceTags(Aws::String&& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; }
89 inline CreateExperimentTemplateTargetInput& AddResourceTags(const Aws::String& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; }
90 inline CreateExperimentTemplateTargetInput& AddResourceTags(Aws::String&& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), std::move(value)); return *this; }
91 inline CreateExperimentTemplateTargetInput& AddResourceTags(const char* key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; }
92 inline CreateExperimentTemplateTargetInput& AddResourceTags(Aws::String&& key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; }
93 inline CreateExperimentTemplateTargetInput& AddResourceTags(const char* key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; }
95
97
101 inline const Aws::Vector<ExperimentTemplateTargetInputFilter>& GetFilters() const{ return m_filters; }
102 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
103 inline void SetFilters(const Aws::Vector<ExperimentTemplateTargetInputFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
104 inline void SetFilters(Aws::Vector<ExperimentTemplateTargetInputFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
107 inline CreateExperimentTemplateTargetInput& AddFilters(const ExperimentTemplateTargetInputFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
108 inline CreateExperimentTemplateTargetInput& AddFilters(ExperimentTemplateTargetInputFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
110
112
123 inline const Aws::String& GetSelectionMode() const{ return m_selectionMode; }
124 inline bool SelectionModeHasBeenSet() const { return m_selectionModeHasBeenSet; }
125 inline void SetSelectionMode(const Aws::String& value) { m_selectionModeHasBeenSet = true; m_selectionMode = value; }
126 inline void SetSelectionMode(Aws::String&& value) { m_selectionModeHasBeenSet = true; m_selectionMode = std::move(value); }
127 inline void SetSelectionMode(const char* value) { m_selectionModeHasBeenSet = true; m_selectionMode.assign(value); }
129 inline CreateExperimentTemplateTargetInput& WithSelectionMode(Aws::String&& value) { SetSelectionMode(std::move(value)); return *this;}
130 inline CreateExperimentTemplateTargetInput& WithSelectionMode(const char* value) { SetSelectionMode(value); return *this;}
132
134
137 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
138 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
139 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
140 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
143 inline CreateExperimentTemplateTargetInput& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
144 inline CreateExperimentTemplateTargetInput& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
145 inline CreateExperimentTemplateTargetInput& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
146 inline CreateExperimentTemplateTargetInput& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
147 inline CreateExperimentTemplateTargetInput& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
148 inline CreateExperimentTemplateTargetInput& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
149 inline CreateExperimentTemplateTargetInput& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
151 private:
152
153 Aws::String m_resourceType;
154 bool m_resourceTypeHasBeenSet = false;
155
156 Aws::Vector<Aws::String> m_resourceArns;
157 bool m_resourceArnsHasBeenSet = false;
158
160 bool m_resourceTagsHasBeenSet = false;
161
163 bool m_filtersHasBeenSet = false;
164
165 Aws::String m_selectionMode;
166 bool m_selectionModeHasBeenSet = false;
167
169 bool m_parametersHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace FIS
174} // namespace Aws
CreateExperimentTemplateTargetInput & WithResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateExperimentTemplateTargetInput & AddResourceTags(const char *key, Aws::String &&value)
CreateExperimentTemplateTargetInput & AddParameters(Aws::String &&key, const char *value)
CreateExperimentTemplateTargetInput & AddParameters(Aws::String &&key, Aws::String &&value)
CreateExperimentTemplateTargetInput & AddResourceArns(Aws::String &&value)
CreateExperimentTemplateTargetInput & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateExperimentTemplateTargetInput & AddResourceArns(const Aws::String &value)
CreateExperimentTemplateTargetInput & WithResourceType(const Aws::String &value)
CreateExperimentTemplateTargetInput & AddFilters(const ExperimentTemplateTargetInputFilter &value)
CreateExperimentTemplateTargetInput & WithFilters(const Aws::Vector< ExperimentTemplateTargetInputFilter > &value)
void SetFilters(const Aws::Vector< ExperimentTemplateTargetInputFilter > &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateExperimentTemplateTargetInput & WithResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateExperimentTemplateTargetInput & AddFilters(ExperimentTemplateTargetInputFilter &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
CreateExperimentTemplateTargetInput & AddParameters(const char *key, const char *value)
CreateExperimentTemplateTargetInput & WithSelectionMode(Aws::String &&value)
CreateExperimentTemplateTargetInput & WithSelectionMode(const char *value)
AWS_FIS_API CreateExperimentTemplateTargetInput(Aws::Utils::Json::JsonView jsonValue)
CreateExperimentTemplateTargetInput & AddParameters(const Aws::String &key, Aws::String &&value)
void SetResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateExperimentTemplateTargetInput & AddParameters(const Aws::String &key, const Aws::String &value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateExperimentTemplateTargetInput & AddResourceTags(const Aws::String &key, Aws::String &&value)
CreateExperimentTemplateTargetInput & WithResourceArns(const Aws::Vector< Aws::String > &value)
CreateExperimentTemplateTargetInput & WithSelectionMode(const Aws::String &value)
void SetFilters(Aws::Vector< ExperimentTemplateTargetInputFilter > &&value)
CreateExperimentTemplateTargetInput & WithResourceType(const char *value)
CreateExperimentTemplateTargetInput & AddResourceTags(Aws::String &&key, const Aws::String &value)
CreateExperimentTemplateTargetInput & WithResourceType(Aws::String &&value)
CreateExperimentTemplateTargetInput & AddResourceTags(const char *key, const char *value)
const Aws::Vector< ExperimentTemplateTargetInputFilter > & GetFilters() const
CreateExperimentTemplateTargetInput & AddResourceTags(Aws::String &&key, Aws::String &&value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
CreateExperimentTemplateTargetInput & WithResourceArns(Aws::Vector< Aws::String > &&value)
CreateExperimentTemplateTargetInput & WithFilters(Aws::Vector< ExperimentTemplateTargetInputFilter > &&value)
CreateExperimentTemplateTargetInput & AddResourceTags(Aws::String &&key, const char *value)
CreateExperimentTemplateTargetInput & AddParameters(const char *key, Aws::String &&value)
CreateExperimentTemplateTargetInput & AddResourceTags(const Aws::String &key, const Aws::String &value)
CreateExperimentTemplateTargetInput & AddResourceArns(const char *value)
AWS_FIS_API CreateExperimentTemplateTargetInput & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateExperimentTemplateTargetInput & AddParameters(Aws::String &&key, const Aws::String &value)
CreateExperimentTemplateTargetInput & WithParameters(const 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