7#include <aws/application-signals/ApplicationSignalsRequest.h>
8#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
9#include <aws/application-signals/model/CaptureConfiguration.h>
10#include <aws/application-signals/model/DynamicInstrumentationSignalType.h>
11#include <aws/application-signals/model/InstrumentationType.h>
12#include <aws/application-signals/model/Location.h>
13#include <aws/application-signals/model/Tag.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace ApplicationSignals {
35 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateInstrumentationConfiguration"; }
46 m_instrumentationTypeHasBeenSet =
true;
47 m_instrumentationType = value;
62 template <
typename ServiceT = Aws::String>
64 m_serviceHasBeenSet =
true;
65 m_service = std::forward<ServiceT>(value);
67 template <
typename ServiceT = Aws::String>
81 template <
typename EnvironmentT = Aws::String>
83 m_environmentHasBeenSet =
true;
84 m_environment = std::forward<EnvironmentT>(value);
86 template <
typename EnvironmentT = Aws::String>
101 m_signalTypeHasBeenSet =
true;
102 m_signalType = value;
117 template <
typename LocationT = Location>
119 m_locationHasBeenSet =
true;
120 m_location = std::forward<LocationT>(value);
122 template <
typename LocationT = Location>
136 template <
typename DescriptionT = Aws::String>
138 m_descriptionHasBeenSet =
true;
139 m_description = std::forward<DescriptionT>(value);
141 template <
typename DescriptionT = Aws::String>
156 template <
typename ExpiresAtT = Aws::Utils::DateTime>
158 m_expiresAtHasBeenSet =
true;
159 m_expiresAt = std::forward<ExpiresAtT>(value);
161 template <
typename ExpiresAtT = Aws::Utils::DateTime>
176 template <
typename AttributeFiltersT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
178 m_attributeFiltersHasBeenSet =
true;
179 m_attributeFilters = std::forward<AttributeFiltersT>(value);
181 template <
typename AttributeFiltersT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
186 template <
typename AttributeFiltersT = Aws::Map<Aws::String, Aws::String>>
188 m_attributeFiltersHasBeenSet =
true;
189 m_attributeFilters.emplace_back(std::forward<AttributeFiltersT>(value));
201 template <
typename CaptureConfigurationT = CaptureConfiguration>
203 m_captureConfigurationHasBeenSet =
true;
204 m_captureConfiguration = std::forward<CaptureConfigurationT>(value);
206 template <
typename CaptureConfigurationT = CaptureConfiguration>
220 template <
typename TagsT = Aws::Vector<Tag>>
222 m_tagsHasBeenSet =
true;
223 m_tags = std::forward<TagsT>(value);
225 template <
typename TagsT = Aws::Vector<Tag>>
227 SetTags(std::forward<TagsT>(value));
230 template <
typename TagsT = Tag>
232 m_tagsHasBeenSet =
true;
233 m_tags.emplace_back(std::forward<TagsT>(value));
254 CaptureConfiguration m_captureConfiguration;
257 bool m_instrumentationTypeHasBeenSet =
false;
258 bool m_serviceHasBeenSet =
false;
259 bool m_environmentHasBeenSet =
false;
260 bool m_signalTypeHasBeenSet =
false;
261 bool m_locationHasBeenSet =
false;
262 bool m_descriptionHasBeenSet =
false;
263 bool m_expiresAtHasBeenSet =
false;
264 bool m_attributeFiltersHasBeenSet =
false;
265 bool m_captureConfigurationHasBeenSet =
false;
266 bool m_tagsHasBeenSet =
false;
void SetCaptureConfiguration(CaptureConfigurationT &&value)
bool DescriptionHasBeenSet() const
bool EnvironmentHasBeenSet() const
const Location & GetLocation() const
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
bool SignalTypeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateInstrumentationConfigurationRequest & WithEnvironment(EnvironmentT &&value)
void SetAttributeFilters(AttributeFiltersT &&value)
void SetExpiresAt(ExpiresAtT &&value)
bool AttributeFiltersHasBeenSet() const
CreateInstrumentationConfigurationRequest & WithAttributeFilters(AttributeFiltersT &&value)
void SetTags(TagsT &&value)
CreateInstrumentationConfigurationRequest & WithService(ServiceT &&value)
CreateInstrumentationConfigurationRequest & WithLocation(LocationT &&value)
const Aws::Utils::DateTime & GetExpiresAt() const
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetAttributeFilters() const
CreateInstrumentationConfigurationRequest & WithTags(TagsT &&value)
CreateInstrumentationConfigurationRequest & WithDescription(DescriptionT &&value)
void SetLocation(LocationT &&value)
CreateInstrumentationConfigurationRequest & WithExpiresAt(ExpiresAtT &&value)
CreateInstrumentationConfigurationRequest & AddAttributeFilters(AttributeFiltersT &&value)
bool InstrumentationTypeHasBeenSet() const
const Aws::String & GetEnvironment() const
void SetInstrumentationType(InstrumentationType value)
bool LocationHasBeenSet() const
bool ExpiresAtHasBeenSet() const
const Aws::String & GetService() const
CreateInstrumentationConfigurationRequest & WithSignalType(DynamicInstrumentationSignalType value)
bool ServiceHasBeenSet() const
const CaptureConfiguration & GetCaptureConfiguration() const
AWS_APPLICATIONSIGNALS_API CreateInstrumentationConfigurationRequest()=default
void SetService(ServiceT &&value)
CreateInstrumentationConfigurationRequest & WithInstrumentationType(InstrumentationType value)
void SetEnvironment(EnvironmentT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
InstrumentationType GetInstrumentationType() const
CreateInstrumentationConfigurationRequest & AddTags(TagsT &&value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
bool CaptureConfigurationHasBeenSet() const
void SetSignalType(DynamicInstrumentationSignalType value)
CreateInstrumentationConfigurationRequest & WithCaptureConfiguration(CaptureConfigurationT &&value)
DynamicInstrumentationSignalType GetSignalType() const
DynamicInstrumentationSignalType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector