7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/iotfleetwise/IoTFleetWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotfleetwise/model/DiagnosticsMode.h>
12#include <aws/iotfleetwise/model/SpoolingMode.h>
13#include <aws/iotfleetwise/model/Compression.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/iotfleetwise/model/CollectionScheme.h>
16#include <aws/iotfleetwise/model/SignalInformation.h>
17#include <aws/iotfleetwise/model/Tag.h>
18#include <aws/iotfleetwise/model/DataDestinationConfig.h>
19#include <aws/iotfleetwise/model/DataPartition.h>
20#include <aws/iotfleetwise/model/SignalFetchInformation.h>
54 template<
typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
56 template<
typename NameT = Aws::String>
66 template<
typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
68 template<
typename DescriptionT = Aws::String>
79 template<
typename SignalCatalogArnT = Aws::String>
80 void SetSignalCatalogArn(SignalCatalogArnT&& value) { m_signalCatalogArnHasBeenSet =
true; m_signalCatalogArn = std::forward<SignalCatalogArnT>(value); }
81 template<
typename SignalCatalogArnT = Aws::String>
91 template<
typename TargetArnT = Aws::String>
92 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
93 template<
typename TargetArnT = Aws::String>
104 template<
typename StartTimeT = Aws::Utils::DateTime>
105 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
106 template<
typename StartTimeT = Aws::Utils::DateTime>
118 template<
typename ExpiryTimeT = Aws::Utils::DateTime>
119 void SetExpiryTime(ExpiryTimeT&& value) { m_expiryTimeHasBeenSet =
true; m_expiryTime = std::forward<ExpiryTimeT>(value); }
120 template<
typename ExpiryTimeT = Aws::Utils::DateTime>
185 template<
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
186 void SetSignalsToCollect(SignalsToCollectT&& value) { m_signalsToCollectHasBeenSet =
true; m_signalsToCollect = std::forward<SignalsToCollectT>(value); }
187 template<
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
189 template<
typename SignalsToCollectT = SignalInformation>
200 template<
typename CollectionSchemeT = CollectionScheme>
201 void SetCollectionScheme(CollectionSchemeT&& value) { m_collectionSchemeHasBeenSet =
true; m_collectionScheme = std::forward<CollectionSchemeT>(value); }
202 template<
typename CollectionSchemeT = CollectionScheme>
217 template<
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
218 void SetDataExtraDimensions(DataExtraDimensionsT&& value) { m_dataExtraDimensionsHasBeenSet =
true; m_dataExtraDimensions = std::forward<DataExtraDimensionsT>(value); }
219 template<
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
221 template<
typename DataExtraDimensionsT = Aws::String>
231 template<
typename TagsT = Aws::Vector<Tag>>
232 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
233 template<
typename TagsT = Aws::Vector<Tag>>
235 template<
typename TagsT = Tag>
255 template<
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
256 void SetDataDestinationConfigs(DataDestinationConfigsT&& value) { m_dataDestinationConfigsHasBeenSet =
true; m_dataDestinationConfigs = std::forward<DataDestinationConfigsT>(value); }
257 template<
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
259 template<
typename DataDestinationConfigsT = DataDestinationConfig>
270 template<
typename DataPartitionsT = Aws::Vector<DataPartition>>
271 void SetDataPartitions(DataPartitionsT&& value) { m_dataPartitionsHasBeenSet =
true; m_dataPartitions = std::forward<DataPartitionsT>(value); }
272 template<
typename DataPartitionsT = Aws::Vector<DataPartition>>
274 template<
typename DataPartitionsT = DataPartition>
284 template<
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
285 void SetSignalsToFetch(SignalsToFetchT&& value) { m_signalsToFetchHasBeenSet =
true; m_signalsToFetch = std::forward<SignalsToFetchT>(value); }
286 template<
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
288 template<
typename SignalsToFetchT = SignalFetchInformation>
294 bool m_nameHasBeenSet =
false;
297 bool m_descriptionHasBeenSet =
false;
300 bool m_signalCatalogArnHasBeenSet =
false;
303 bool m_targetArnHasBeenSet =
false;
306 bool m_startTimeHasBeenSet =
false;
309 bool m_expiryTimeHasBeenSet =
false;
311 long long m_postTriggerCollectionDuration{0};
312 bool m_postTriggerCollectionDurationHasBeenSet =
false;
315 bool m_diagnosticsModeHasBeenSet =
false;
318 bool m_spoolingModeHasBeenSet =
false;
321 bool m_compressionHasBeenSet =
false;
324 bool m_signalsToCollectHasBeenSet =
false;
326 CollectionScheme m_collectionScheme;
327 bool m_collectionSchemeHasBeenSet =
false;
330 bool m_dataExtraDimensionsHasBeenSet =
false;
333 bool m_tagsHasBeenSet =
false;
336 bool m_dataDestinationConfigsHasBeenSet =
false;
339 bool m_dataPartitionsHasBeenSet =
false;
342 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