AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateExperimentTemplateTargetInput.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
37 {
38 public:
43
44
46
50 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
51 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
52 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
53 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
54 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
56 inline UpdateExperimentTemplateTargetInput& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
57 inline UpdateExperimentTemplateTargetInput& WithResourceType(const char* value) { SetResourceType(value); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetResourceArns() const{ return m_resourceArns; }
65 inline bool ResourceArnsHasBeenSet() const { return m_resourceArnsHasBeenSet; }
66 inline void SetResourceArns(const Aws::Vector<Aws::String>& value) { m_resourceArnsHasBeenSet = true; m_resourceArns = value; }
67 inline void SetResourceArns(Aws::Vector<Aws::String>&& value) { m_resourceArnsHasBeenSet = true; m_resourceArns = std::move(value); }
70 inline UpdateExperimentTemplateTargetInput& AddResourceArns(const Aws::String& value) { m_resourceArnsHasBeenSet = true; m_resourceArns.push_back(value); return *this; }
71 inline UpdateExperimentTemplateTargetInput& AddResourceArns(Aws::String&& value) { m_resourceArnsHasBeenSet = true; m_resourceArns.push_back(std::move(value)); return *this; }
72 inline UpdateExperimentTemplateTargetInput& AddResourceArns(const char* value) { m_resourceArnsHasBeenSet = true; m_resourceArns.push_back(value); return *this; }
74
76
79 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const{ return m_resourceTags; }
80 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
81 inline void SetResourceTags(const Aws::Map<Aws::String, Aws::String>& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; }
82 inline void SetResourceTags(Aws::Map<Aws::String, Aws::String>&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); }
85 inline UpdateExperimentTemplateTargetInput& AddResourceTags(const Aws::String& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; }
86 inline UpdateExperimentTemplateTargetInput& AddResourceTags(Aws::String&& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; }
87 inline UpdateExperimentTemplateTargetInput& AddResourceTags(const Aws::String& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; }
88 inline UpdateExperimentTemplateTargetInput& AddResourceTags(Aws::String&& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), std::move(value)); return *this; }
89 inline UpdateExperimentTemplateTargetInput& AddResourceTags(const char* key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; }
90 inline UpdateExperimentTemplateTargetInput& AddResourceTags(Aws::String&& key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; }
91 inline UpdateExperimentTemplateTargetInput& AddResourceTags(const char* key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; }
93
95
99 inline const Aws::Vector<ExperimentTemplateTargetInputFilter>& GetFilters() const{ return m_filters; }
100 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
101 inline void SetFilters(const Aws::Vector<ExperimentTemplateTargetInputFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
102 inline void SetFilters(Aws::Vector<ExperimentTemplateTargetInputFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
105 inline UpdateExperimentTemplateTargetInput& AddFilters(const ExperimentTemplateTargetInputFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
106 inline UpdateExperimentTemplateTargetInput& AddFilters(ExperimentTemplateTargetInputFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
108
110
113 inline const Aws::String& GetSelectionMode() const{ return m_selectionMode; }
114 inline bool SelectionModeHasBeenSet() const { return m_selectionModeHasBeenSet; }
115 inline void SetSelectionMode(const Aws::String& value) { m_selectionModeHasBeenSet = true; m_selectionMode = value; }
116 inline void SetSelectionMode(Aws::String&& value) { m_selectionModeHasBeenSet = true; m_selectionMode = std::move(value); }
117 inline void SetSelectionMode(const char* value) { m_selectionModeHasBeenSet = true; m_selectionMode.assign(value); }
119 inline UpdateExperimentTemplateTargetInput& WithSelectionMode(Aws::String&& value) { SetSelectionMode(std::move(value)); return *this;}
120 inline UpdateExperimentTemplateTargetInput& WithSelectionMode(const char* value) { SetSelectionMode(value); return *this;}
122
124
127 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
128 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
129 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
130 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
133 inline UpdateExperimentTemplateTargetInput& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
134 inline UpdateExperimentTemplateTargetInput& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
135 inline UpdateExperimentTemplateTargetInput& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
136 inline UpdateExperimentTemplateTargetInput& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
137 inline UpdateExperimentTemplateTargetInput& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
138 inline UpdateExperimentTemplateTargetInput& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
139 inline UpdateExperimentTemplateTargetInput& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
141 private:
142
143 Aws::String m_resourceType;
144 bool m_resourceTypeHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_resourceArns;
147 bool m_resourceArnsHasBeenSet = false;
148
150 bool m_resourceTagsHasBeenSet = false;
151
153 bool m_filtersHasBeenSet = false;
154
155 Aws::String m_selectionMode;
156 bool m_selectionModeHasBeenSet = false;
157
159 bool m_parametersHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace FIS
164} // namespace Aws
UpdateExperimentTemplateTargetInput & WithSelectionMode(const Aws::String &value)
UpdateExperimentTemplateTargetInput & WithResourceType(const char *value)
UpdateExperimentTemplateTargetInput & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< ExperimentTemplateTargetInputFilter > & GetFilters() const
void SetResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExperimentTemplateTargetInput & WithResourceType(const Aws::String &value)
UpdateExperimentTemplateTargetInput & WithResourceArns(Aws::Vector< Aws::String > &&value)
UpdateExperimentTemplateTargetInput & WithResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_FIS_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateExperimentTemplateTargetInput & AddResourceArns(const Aws::String &value)
UpdateExperimentTemplateTargetInput & AddParameters(const char *key, const char *value)
void SetFilters(Aws::Vector< ExperimentTemplateTargetInputFilter > &&value)
UpdateExperimentTemplateTargetInput & AddParameters(Aws::String &&key, const Aws::String &value)
UpdateExperimentTemplateTargetInput & WithResourceType(Aws::String &&value)
UpdateExperimentTemplateTargetInput & AddResourceTags(const char *key, Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateExperimentTemplateTargetInput & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateExperimentTemplateTargetInput & AddResourceTags(Aws::String &&key, const char *value)
UpdateExperimentTemplateTargetInput & AddFilters(ExperimentTemplateTargetInputFilter &&value)
void SetResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateExperimentTemplateTargetInput & AddParameters(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
UpdateExperimentTemplateTargetInput & AddParameters(const Aws::String &key, const Aws::String &value)
UpdateExperimentTemplateTargetInput & WithFilters(Aws::Vector< ExperimentTemplateTargetInputFilter > &&value)
AWS_FIS_API UpdateExperimentTemplateTargetInput(Aws::Utils::Json::JsonView jsonValue)
void SetFilters(const Aws::Vector< ExperimentTemplateTargetInputFilter > &value)
UpdateExperimentTemplateTargetInput & AddParameters(const Aws::String &key, Aws::String &&value)
UpdateExperimentTemplateTargetInput & WithSelectionMode(const char *value)
UpdateExperimentTemplateTargetInput & WithFilters(const Aws::Vector< ExperimentTemplateTargetInputFilter > &value)
UpdateExperimentTemplateTargetInput & AddParameters(Aws::String &&key, Aws::String &&value)
UpdateExperimentTemplateTargetInput & AddResourceTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
UpdateExperimentTemplateTargetInput & AddResourceTags(const Aws::String &key, const Aws::String &value)
UpdateExperimentTemplateTargetInput & AddResourceArns(Aws::String &&value)
UpdateExperimentTemplateTargetInput & AddResourceTags(const Aws::String &key, Aws::String &&value)
UpdateExperimentTemplateTargetInput & WithSelectionMode(Aws::String &&value)
UpdateExperimentTemplateTargetInput & AddResourceTags(Aws::String &&key, const Aws::String &value)
UpdateExperimentTemplateTargetInput & AddFilters(const ExperimentTemplateTargetInputFilter &value)
UpdateExperimentTemplateTargetInput & AddParameters(const char *key, Aws::String &&value)
UpdateExperimentTemplateTargetInput & WithResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateExperimentTemplateTargetInput & AddResourceTags(const char *key, const char *value)
AWS_FIS_API UpdateExperimentTemplateTargetInput & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateExperimentTemplateTargetInput & WithResourceArns(const Aws::Vector< Aws::String > &value)
UpdateExperimentTemplateTargetInput & AddResourceArns(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