7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
11#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
12#include <aws/iotfleetwise/model/CollectionScheme.h>
13#include <aws/iotfleetwise/model/Compression.h>
14#include <aws/iotfleetwise/model/DataDestinationConfig.h>
15#include <aws/iotfleetwise/model/DataPartition.h>
16#include <aws/iotfleetwise/model/DiagnosticsMode.h>
17#include <aws/iotfleetwise/model/SignalFetchInformation.h>
18#include <aws/iotfleetwise/model/SignalInformation.h>
19#include <aws/iotfleetwise/model/SpoolingMode.h>
20#include <aws/iotfleetwise/model/Tag.h>
25namespace IoTFleetWise {
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
68 template <
typename DescriptionT = Aws::String>
70 m_descriptionHasBeenSet =
true;
71 m_description = std::forward<DescriptionT>(value);
73 template <
typename DescriptionT = Aws::String>
87 template <
typename SignalCatalogArnT = Aws::String>
89 m_signalCatalogArnHasBeenSet =
true;
90 m_signalCatalogArn = std::forward<SignalCatalogArnT>(value);
92 template <
typename SignalCatalogArnT = Aws::String>
105 template <
typename TargetArnT = Aws::String>
107 m_targetArnHasBeenSet =
true;
108 m_targetArn = std::forward<TargetArnT>(value);
110 template <
typename TargetArnT = Aws::String>
124 template <
typename StartTimeT = Aws::Utils::DateTime>
126 m_startTimeHasBeenSet =
true;
127 m_startTime = std::forward<StartTimeT>(value);
129 template <
typename StartTimeT = Aws::Utils::DateTime>
144 template <
typename ExpiryTimeT = Aws::Utils::DateTime>
146 m_expiryTimeHasBeenSet =
true;
147 m_expiryTime = std::forward<ExpiryTimeT>(value);
149 template <
typename ExpiryTimeT = Aws::Utils::DateTime>
165 m_postTriggerCollectionDurationHasBeenSet =
true;
166 m_postTriggerCollectionDuration = value;
184 m_diagnosticsModeHasBeenSet =
true;
185 m_diagnosticsMode = value;
205 m_spoolingModeHasBeenSet =
true;
206 m_spoolingMode = value;
224 m_compressionHasBeenSet =
true;
225 m_compression = value;
241 template <
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
243 m_signalsToCollectHasBeenSet =
true;
244 m_signalsToCollect = std::forward<SignalsToCollectT>(value);
246 template <
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
251 template <
typename SignalsToCollectT = SignalInformation>
253 m_signalsToCollectHasBeenSet =
true;
254 m_signalsToCollect.emplace_back(std::forward<SignalsToCollectT>(value));
266 template <
typename CollectionSchemeT = CollectionScheme>
268 m_collectionSchemeHasBeenSet =
true;
269 m_collectionScheme = std::forward<CollectionSchemeT>(value);
271 template <
typename CollectionSchemeT = CollectionScheme>
289 template <
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
291 m_dataExtraDimensionsHasBeenSet =
true;
292 m_dataExtraDimensions = std::forward<DataExtraDimensionsT>(value);
294 template <
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
299 template <
typename DataExtraDimensionsT = Aws::String>
301 m_dataExtraDimensionsHasBeenSet =
true;
302 m_dataExtraDimensions.emplace_back(std::forward<DataExtraDimensionsT>(value));
313 template <
typename TagsT = Aws::Vector<Tag>>
315 m_tagsHasBeenSet =
true;
316 m_tags = std::forward<TagsT>(value);
318 template <
typename TagsT = Aws::Vector<Tag>>
320 SetTags(std::forward<TagsT>(value));
323 template <
typename TagsT = Tag>
325 m_tagsHasBeenSet =
true;
326 m_tags.emplace_back(std::forward<TagsT>(value));
347 template <
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
349 m_dataDestinationConfigsHasBeenSet =
true;
350 m_dataDestinationConfigs = std::forward<DataDestinationConfigsT>(value);
352 template <
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
357 template <
typename DataDestinationConfigsT = DataDestinationConfig>
359 m_dataDestinationConfigsHasBeenSet =
true;
360 m_dataDestinationConfigs.emplace_back(std::forward<DataDestinationConfigsT>(value));
372 template <
typename DataPartitionsT = Aws::Vector<DataPartition>>
374 m_dataPartitionsHasBeenSet =
true;
375 m_dataPartitions = std::forward<DataPartitionsT>(value);
377 template <
typename DataPartitionsT = Aws::Vector<DataPartition>>
382 template <
typename DataPartitionsT = DataPartition>
384 m_dataPartitionsHasBeenSet =
true;
385 m_dataPartitions.emplace_back(std::forward<DataPartitionsT>(value));
396 template <
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
398 m_signalsToFetchHasBeenSet =
true;
399 m_signalsToFetch = std::forward<SignalsToFetchT>(value);
401 template <
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
406 template <
typename SignalsToFetchT = SignalFetchInformation>
408 m_signalsToFetchHasBeenSet =
true;
409 m_signalsToFetch.emplace_back(std::forward<SignalsToFetchT>(value));
426 long long m_postTriggerCollectionDuration{0};
436 CollectionScheme m_collectionScheme;
447 bool m_nameHasBeenSet =
false;
448 bool m_descriptionHasBeenSet =
false;
449 bool m_signalCatalogArnHasBeenSet =
false;
450 bool m_targetArnHasBeenSet =
false;
451 bool m_startTimeHasBeenSet =
false;
452 bool m_expiryTimeHasBeenSet =
false;
453 bool m_postTriggerCollectionDurationHasBeenSet =
false;
454 bool m_diagnosticsModeHasBeenSet =
false;
455 bool m_spoolingModeHasBeenSet =
false;
456 bool m_compressionHasBeenSet =
false;
457 bool m_signalsToCollectHasBeenSet =
false;
458 bool m_collectionSchemeHasBeenSet =
false;
459 bool m_dataExtraDimensionsHasBeenSet =
false;
460 bool m_tagsHasBeenSet =
false;
461 bool m_dataDestinationConfigsHasBeenSet =
false;
462 bool m_dataPartitionsHasBeenSet =
false;
463 bool m_signalsToFetchHasBeenSet =
false;
void SetCompression(Compression value)
bool DataPartitionsHasBeenSet() const
const Aws::String & GetSignalCatalogArn() const
CreateCampaignRequest & WithSpoolingMode(SpoolingMode value)
const Aws::String & GetName() const
bool ExpiryTimeHasBeenSet() const
void SetSpoolingMode(SpoolingMode value)
CreateCampaignRequest & WithDataDestinationConfigs(DataDestinationConfigsT &&value)
void SetDiagnosticsMode(DiagnosticsMode value)
CreateCampaignRequest & WithDataExtraDimensions(DataExtraDimensionsT &&value)
CreateCampaignRequest & WithName(NameT &&value)
CreateCampaignRequest & WithPostTriggerCollectionDuration(long long value)
void SetDataDestinationConfigs(DataDestinationConfigsT &&value)
bool TagsHasBeenSet() const
const Aws::Utils::DateTime & GetStartTime() const
virtual const char * GetServiceRequestName() const override
const Aws::Vector< SignalInformation > & GetSignalsToCollect() const
CreateCampaignRequest & AddTags(TagsT &&value)
bool PostTriggerCollectionDurationHasBeenSet() const
void SetSignalsToFetch(SignalsToFetchT &&value)
void SetTargetArn(TargetArnT &&value)
const Aws::String & GetTargetArn() const
const Aws::Vector< DataDestinationConfig > & GetDataDestinationConfigs() const
void SetCollectionScheme(CollectionSchemeT &&value)
const Aws::Vector< SignalFetchInformation > & GetSignalsToFetch() const
Compression GetCompression() const
CreateCampaignRequest & WithDescription(DescriptionT &&value)
CreateCampaignRequest & WithCompression(Compression value)
CreateCampaignRequest & AddSignalsToCollect(SignalsToCollectT &&value)
const Aws::Utils::DateTime & GetExpiryTime() const
long long GetPostTriggerCollectionDuration() const
bool DataDestinationConfigsHasBeenSet() const
void SetPostTriggerCollectionDuration(long long value)
CreateCampaignRequest & WithCollectionScheme(CollectionSchemeT &&value)
bool SignalsToFetchHasBeenSet() const
bool StartTimeHasBeenSet() const
bool NameHasBeenSet() const
void SetStartTime(StartTimeT &&value)
void SetTags(TagsT &&value)
CreateCampaignRequest & WithSignalCatalogArn(SignalCatalogArnT &&value)
const CollectionScheme & GetCollectionScheme() const
CreateCampaignRequest & WithStartTime(StartTimeT &&value)
DiagnosticsMode GetDiagnosticsMode() const
bool CollectionSchemeHasBeenSet() const
void SetSignalsToCollect(SignalsToCollectT &&value)
CreateCampaignRequest & WithTargetArn(TargetArnT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Tag > & GetTags() const
AWS_IOTFLEETWISE_API Aws::String SerializePayload() const override
CreateCampaignRequest & AddDataExtraDimensions(DataExtraDimensionsT &&value)
AWS_IOTFLEETWISE_API CreateCampaignRequest()=default
AWS_IOTFLEETWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool SignalsToCollectHasBeenSet() const
void SetDataPartitions(DataPartitionsT &&value)
CreateCampaignRequest & WithDiagnosticsMode(DiagnosticsMode value)
CreateCampaignRequest & WithSignalsToFetch(SignalsToFetchT &&value)
CreateCampaignRequest & WithDataPartitions(DataPartitionsT &&value)
bool SignalCatalogArnHasBeenSet() const
CreateCampaignRequest & WithSignalsToCollect(SignalsToCollectT &&value)
bool SpoolingModeHasBeenSet() const
CreateCampaignRequest & AddDataDestinationConfigs(DataDestinationConfigsT &&value)
CreateCampaignRequest & AddDataPartitions(DataPartitionsT &&value)
CreateCampaignRequest & WithExpiryTime(ExpiryTimeT &&value)
const Aws::Vector< DataPartition > & GetDataPartitions() const
void SetName(NameT &&value)
bool DataExtraDimensionsHasBeenSet() const
CreateCampaignRequest & AddSignalsToFetch(SignalsToFetchT &&value)
void SetDescription(DescriptionT &&value)
void SetDataExtraDimensions(DataExtraDimensionsT &&value)
const Aws::Vector< Aws::String > & GetDataExtraDimensions() const
bool CompressionHasBeenSet() const
CreateCampaignRequest & WithTags(TagsT &&value)
void SetSignalCatalogArn(SignalCatalogArnT &&value)
void SetExpiryTime(ExpiryTimeT &&value)
bool TargetArnHasBeenSet() const
bool DiagnosticsModeHasBeenSet() const
SpoolingMode GetSpoolingMode() const
bool DescriptionHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector