7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
12#include <aws/iotfleetwise/model/CampaignStatus.h>
13#include <aws/iotfleetwise/model/CollectionScheme.h>
14#include <aws/iotfleetwise/model/Compression.h>
15#include <aws/iotfleetwise/model/DataDestinationConfig.h>
16#include <aws/iotfleetwise/model/DataPartition.h>
17#include <aws/iotfleetwise/model/DiagnosticsMode.h>
18#include <aws/iotfleetwise/model/SignalFetchInformation.h>
19#include <aws/iotfleetwise/model/SignalInformation.h>
20#include <aws/iotfleetwise/model/SpoolingMode.h>
25template <
typename RESULT_TYPE>
26class AmazonWebServiceResult;
33namespace IoTFleetWise {
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
63 template <
typename ArnT = Aws::String>
65 m_arnHasBeenSet =
true;
66 m_arn = std::forward<ArnT>(value);
68 template <
typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
80 template <
typename DescriptionT = Aws::String>
82 m_descriptionHasBeenSet =
true;
83 m_description = std::forward<DescriptionT>(value);
85 template <
typename DescriptionT = Aws::String>
97 template <
typename SignalCatalogArnT = Aws::String>
99 m_signalCatalogArnHasBeenSet =
true;
100 m_signalCatalogArn = std::forward<SignalCatalogArnT>(value);
102 template <
typename SignalCatalogArnT = Aws::String>
114 template <
typename TargetArnT = Aws::String>
116 m_targetArnHasBeenSet =
true;
117 m_targetArn = std::forward<TargetArnT>(value);
119 template <
typename TargetArnT = Aws::String>
134 m_statusHasBeenSet =
true;
148 template <
typename StartTimeT = Aws::Utils::DateTime>
150 m_startTimeHasBeenSet =
true;
151 m_startTime = std::forward<StartTimeT>(value);
153 template <
typename StartTimeT = Aws::Utils::DateTime>
167 template <
typename ExpiryTimeT = Aws::Utils::DateTime>
169 m_expiryTimeHasBeenSet =
true;
170 m_expiryTime = std::forward<ExpiryTimeT>(value);
172 template <
typename ExpiryTimeT = Aws::Utils::DateTime>
186 m_postTriggerCollectionDurationHasBeenSet =
true;
187 m_postTriggerCollectionDuration = value;
202 m_diagnosticsModeHasBeenSet =
true;
203 m_diagnosticsMode = value;
219 m_spoolingModeHasBeenSet =
true;
220 m_spoolingMode = value;
236 m_compressionHasBeenSet =
true;
237 m_compression = value;
253 m_priorityHasBeenSet =
true;
267 template <
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
269 m_signalsToCollectHasBeenSet =
true;
270 m_signalsToCollect = std::forward<SignalsToCollectT>(value);
272 template <
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
277 template <
typename SignalsToCollectT = SignalInformation>
279 m_signalsToCollectHasBeenSet =
true;
280 m_signalsToCollect.emplace_back(std::forward<SignalsToCollectT>(value));
291 template <
typename CollectionSchemeT = CollectionScheme>
293 m_collectionSchemeHasBeenSet =
true;
294 m_collectionScheme = std::forward<CollectionSchemeT>(value);
296 template <
typename CollectionSchemeT = CollectionScheme>
308 template <
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
310 m_dataExtraDimensionsHasBeenSet =
true;
311 m_dataExtraDimensions = std::forward<DataExtraDimensionsT>(value);
313 template <
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
318 template <
typename DataExtraDimensionsT = Aws::String>
320 m_dataExtraDimensionsHasBeenSet =
true;
321 m_dataExtraDimensions.emplace_back(std::forward<DataExtraDimensionsT>(value));
332 template <
typename CreationTimeT = Aws::Utils::DateTime>
334 m_creationTimeHasBeenSet =
true;
335 m_creationTime = std::forward<CreationTimeT>(value);
337 template <
typename CreationTimeT = Aws::Utils::DateTime>
349 template <
typename LastModificationTimeT = Aws::Utils::DateTime>
351 m_lastModificationTimeHasBeenSet =
true;
352 m_lastModificationTime = std::forward<LastModificationTimeT>(value);
354 template <
typename LastModificationTimeT = Aws::Utils::DateTime>
374 template <
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
376 m_dataDestinationConfigsHasBeenSet =
true;
377 m_dataDestinationConfigs = std::forward<DataDestinationConfigsT>(value);
379 template <
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
384 template <
typename DataDestinationConfigsT = DataDestinationConfig>
386 m_dataDestinationConfigsHasBeenSet =
true;
387 m_dataDestinationConfigs.emplace_back(std::forward<DataDestinationConfigsT>(value));
398 template <
typename DataPartitionsT = Aws::Vector<DataPartition>>
400 m_dataPartitionsHasBeenSet =
true;
401 m_dataPartitions = std::forward<DataPartitionsT>(value);
403 template <
typename DataPartitionsT = Aws::Vector<DataPartition>>
408 template <
typename DataPartitionsT = DataPartition>
410 m_dataPartitionsHasBeenSet =
true;
411 m_dataPartitions.emplace_back(std::forward<DataPartitionsT>(value));
421 template <
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
423 m_signalsToFetchHasBeenSet =
true;
424 m_signalsToFetch = std::forward<SignalsToFetchT>(value);
426 template <
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
431 template <
typename SignalsToFetchT = SignalFetchInformation>
433 m_signalsToFetchHasBeenSet =
true;
434 m_signalsToFetch.emplace_back(std::forward<SignalsToFetchT>(value));
442 template <
typename RequestIdT = Aws::String>
444 m_requestIdHasBeenSet =
true;
445 m_requestId = std::forward<RequestIdT>(value);
447 template <
typename RequestIdT = Aws::String>
472 long long m_postTriggerCollectionDuration{0};
484 CollectionScheme m_collectionScheme;
500 bool m_nameHasBeenSet =
false;
501 bool m_arnHasBeenSet =
false;
502 bool m_descriptionHasBeenSet =
false;
503 bool m_signalCatalogArnHasBeenSet =
false;
504 bool m_targetArnHasBeenSet =
false;
505 bool m_statusHasBeenSet =
false;
506 bool m_startTimeHasBeenSet =
false;
507 bool m_expiryTimeHasBeenSet =
false;
508 bool m_postTriggerCollectionDurationHasBeenSet =
false;
509 bool m_diagnosticsModeHasBeenSet =
false;
510 bool m_spoolingModeHasBeenSet =
false;
511 bool m_compressionHasBeenSet =
false;
512 bool m_priorityHasBeenSet =
false;
513 bool m_signalsToCollectHasBeenSet =
false;
514 bool m_collectionSchemeHasBeenSet =
false;
515 bool m_dataExtraDimensionsHasBeenSet =
false;
516 bool m_creationTimeHasBeenSet =
false;
517 bool m_lastModificationTimeHasBeenSet =
false;
518 bool m_dataDestinationConfigsHasBeenSet =
false;
519 bool m_dataPartitionsHasBeenSet =
false;
520 bool m_signalsToFetchHasBeenSet =
false;
521 bool m_requestIdHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetDataExtraDimensions() const
void SetDescription(DescriptionT &&value)
void SetDiagnosticsMode(DiagnosticsMode value)
AWS_IOTFLEETWISE_API GetCampaignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetArn() const
GetCampaignResult & WithDataExtraDimensions(DataExtraDimensionsT &&value)
long long GetPostTriggerCollectionDuration() const
const Aws::Vector< DataDestinationConfig > & GetDataDestinationConfigs() const
void SetExpiryTime(ExpiryTimeT &&value)
void SetLastModificationTime(LastModificationTimeT &&value)
GetCampaignResult & WithCreationTime(CreationTimeT &&value)
GetCampaignResult & WithDiagnosticsMode(DiagnosticsMode value)
GetCampaignResult & WithCollectionScheme(CollectionSchemeT &&value)
DiagnosticsMode GetDiagnosticsMode() const
void SetRequestId(RequestIdT &&value)
GetCampaignResult & WithExpiryTime(ExpiryTimeT &&value)
void SetDataPartitions(DataPartitionsT &&value)
GetCampaignResult & WithSignalCatalogArn(SignalCatalogArnT &&value)
void SetPostTriggerCollectionDuration(long long value)
GetCampaignResult & WithDataPartitions(DataPartitionsT &&value)
GetCampaignResult & WithSignalsToCollect(SignalsToCollectT &&value)
const Aws::String & GetDescription() const
void SetStatus(CampaignStatus value)
const Aws::Utils::DateTime & GetLastModificationTime() const
void SetCollectionScheme(CollectionSchemeT &&value)
void SetSpoolingMode(SpoolingMode value)
void SetCreationTime(CreationTimeT &&value)
GetCampaignResult & WithStatus(CampaignStatus value)
AWS_IOTFLEETWISE_API GetCampaignResult()=default
const Aws::Vector< SignalFetchInformation > & GetSignalsToFetch() const
void SetArn(ArnT &&value)
Compression GetCompression() const
GetCampaignResult & WithName(NameT &&value)
void SetSignalsToFetch(SignalsToFetchT &&value)
GetCampaignResult & WithTargetArn(TargetArnT &&value)
GetCampaignResult & WithDataDestinationConfigs(DataDestinationConfigsT &&value)
GetCampaignResult & WithPostTriggerCollectionDuration(long long value)
GetCampaignResult & WithSpoolingMode(SpoolingMode value)
void SetSignalsToCollect(SignalsToCollectT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetDataDestinationConfigs(DataDestinationConfigsT &&value)
void SetDataExtraDimensions(DataExtraDimensionsT &&value)
void SetTargetArn(TargetArnT &&value)
GetCampaignResult & AddDataExtraDimensions(DataExtraDimensionsT &&value)
const Aws::String & GetSignalCatalogArn() const
GetCampaignResult & WithSignalsToFetch(SignalsToFetchT &&value)
const Aws::String & GetName() const
GetCampaignResult & AddSignalsToCollect(SignalsToCollectT &&value)
GetCampaignResult & AddDataDestinationConfigs(DataDestinationConfigsT &&value)
AWS_IOTFLEETWISE_API GetCampaignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCampaignResult & WithStartTime(StartTimeT &&value)
GetCampaignResult & AddSignalsToFetch(SignalsToFetchT &&value)
SpoolingMode GetSpoolingMode() const
const Aws::Utils::DateTime & GetStartTime() const
const Aws::Utils::DateTime & GetExpiryTime() const
CampaignStatus GetStatus() const
GetCampaignResult & WithRequestId(RequestIdT &&value)
const CollectionScheme & GetCollectionScheme() const
const Aws::Vector< DataPartition > & GetDataPartitions() const
void SetName(NameT &&value)
GetCampaignResult & WithDescription(DescriptionT &&value)
GetCampaignResult & WithLastModificationTime(LastModificationTimeT &&value)
void SetStartTime(StartTimeT &&value)
void SetSignalCatalogArn(SignalCatalogArnT &&value)
GetCampaignResult & WithPriority(int value)
const Aws::String & GetRequestId() const
const Aws::Vector< SignalInformation > & GetSignalsToCollect() const
GetCampaignResult & AddDataPartitions(DataPartitionsT &&value)
void SetPriority(int value)
const Aws::Utils::DateTime & GetCreationTime() const
GetCampaignResult & WithCompression(Compression value)
GetCampaignResult & WithArn(ArnT &&value)
void SetCompression(Compression value)
const Aws::String & GetTargetArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue