7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/CampaignStatus.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/DataDestinationConfig.h>
18#include <aws/iotfleetwise/model/DataPartition.h>
19#include <aws/iotfleetwise/model/SignalFetchInformation.h>
24template<
typename RESULT_TYPE>
25class AmazonWebServiceResult;
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
62 template<
typename ArnT = Aws::String>
63 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
64 template<
typename ArnT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
84 template<
typename SignalCatalogArnT = Aws::String>
85 void SetSignalCatalogArn(SignalCatalogArnT&& value) { m_signalCatalogArnHasBeenSet =
true; m_signalCatalogArn = std::forward<SignalCatalogArnT>(value); }
86 template<
typename SignalCatalogArnT = Aws::String>
95 template<
typename TargetArnT = Aws::String>
96 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet =
true; m_targetArn = std::forward<TargetArnT>(value); }
97 template<
typename TargetArnT = Aws::String>
117 template<
typename StartTimeT = Aws::Utils::DateTime>
118 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
119 template<
typename StartTimeT = Aws::Utils::DateTime>
130 template<
typename ExpiryTimeT = Aws::Utils::DateTime>
131 void SetExpiryTime(ExpiryTimeT&& value) { m_expiryTimeHasBeenSet =
true; m_expiryTime = std::forward<ExpiryTimeT>(value); }
132 template<
typename ExpiryTimeT = Aws::Utils::DateTime>
185 inline void SetPriority(
int value) { m_priorityHasBeenSet =
true; m_priority = value; }
194 template<
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
195 void SetSignalsToCollect(SignalsToCollectT&& value) { m_signalsToCollectHasBeenSet =
true; m_signalsToCollect = std::forward<SignalsToCollectT>(value); }
196 template<
typename SignalsToCollectT = Aws::Vector<SignalInformation>>
198 template<
typename SignalsToCollectT = SignalInformation>
199 GetCampaignResult&
AddSignalsToCollect(SignalsToCollectT&& value) { m_signalsToCollectHasBeenSet =
true; m_signalsToCollect.emplace_back(std::forward<SignalsToCollectT>(value));
return *
this; }
208 template<
typename CollectionSchemeT = CollectionScheme>
209 void SetCollectionScheme(CollectionSchemeT&& value) { m_collectionSchemeHasBeenSet =
true; m_collectionScheme = std::forward<CollectionSchemeT>(value); }
210 template<
typename CollectionSchemeT = CollectionScheme>
219 template<
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
220 void SetDataExtraDimensions(DataExtraDimensionsT&& value) { m_dataExtraDimensionsHasBeenSet =
true; m_dataExtraDimensions = std::forward<DataExtraDimensionsT>(value); }
221 template<
typename DataExtraDimensionsT = Aws::Vector<Aws::String>>
223 template<
typename DataExtraDimensionsT = Aws::String>
224 GetCampaignResult&
AddDataExtraDimensions(DataExtraDimensionsT&& value) { m_dataExtraDimensionsHasBeenSet =
true; m_dataExtraDimensions.emplace_back(std::forward<DataExtraDimensionsT>(value));
return *
this; }
233 template<
typename CreationTimeT = Aws::Utils::DateTime>
234 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
235 template<
typename CreationTimeT = Aws::Utils::DateTime>
244 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
245 void SetLastModificationTime(LastModificationTimeT&& value) { m_lastModificationTimeHasBeenSet =
true; m_lastModificationTime = std::forward<LastModificationTimeT>(value); }
246 template<
typename LastModificationTimeT = Aws::Utils::DateTime>
263 template<
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
264 void SetDataDestinationConfigs(DataDestinationConfigsT&& value) { m_dataDestinationConfigsHasBeenSet =
true; m_dataDestinationConfigs = std::forward<DataDestinationConfigsT>(value); }
265 template<
typename DataDestinationConfigsT = Aws::Vector<DataDestinationConfig>>
267 template<
typename DataDestinationConfigsT = DataDestinationConfig>
268 GetCampaignResult&
AddDataDestinationConfigs(DataDestinationConfigsT&& value) { m_dataDestinationConfigsHasBeenSet =
true; m_dataDestinationConfigs.emplace_back(std::forward<DataDestinationConfigsT>(value));
return *
this; }
277 template<
typename DataPartitionsT = Aws::Vector<DataPartition>>
278 void SetDataPartitions(DataPartitionsT&& value) { m_dataPartitionsHasBeenSet =
true; m_dataPartitions = std::forward<DataPartitionsT>(value); }
279 template<
typename DataPartitionsT = Aws::Vector<DataPartition>>
281 template<
typename DataPartitionsT = DataPartition>
282 GetCampaignResult&
AddDataPartitions(DataPartitionsT&& value) { m_dataPartitionsHasBeenSet =
true; m_dataPartitions.emplace_back(std::forward<DataPartitionsT>(value));
return *
this; }
290 template<
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
291 void SetSignalsToFetch(SignalsToFetchT&& value) { m_signalsToFetchHasBeenSet =
true; m_signalsToFetch = std::forward<SignalsToFetchT>(value); }
292 template<
typename SignalsToFetchT = Aws::Vector<SignalFetchInformation>>
294 template<
typename SignalsToFetchT = SignalFetchInformation>
295 GetCampaignResult&
AddSignalsToFetch(SignalsToFetchT&& value) { m_signalsToFetchHasBeenSet =
true; m_signalsToFetch.emplace_back(std::forward<SignalsToFetchT>(value));
return *
this; }
301 template<
typename RequestIdT = Aws::String>
302 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
303 template<
typename RequestIdT = Aws::String>
309 bool m_nameHasBeenSet =
false;
312 bool m_arnHasBeenSet =
false;
315 bool m_descriptionHasBeenSet =
false;
318 bool m_signalCatalogArnHasBeenSet =
false;
321 bool m_targetArnHasBeenSet =
false;
324 bool m_statusHasBeenSet =
false;
327 bool m_startTimeHasBeenSet =
false;
330 bool m_expiryTimeHasBeenSet =
false;
332 long long m_postTriggerCollectionDuration{0};
333 bool m_postTriggerCollectionDurationHasBeenSet =
false;
336 bool m_diagnosticsModeHasBeenSet =
false;
339 bool m_spoolingModeHasBeenSet =
false;
342 bool m_compressionHasBeenSet =
false;
345 bool m_priorityHasBeenSet =
false;
348 bool m_signalsToCollectHasBeenSet =
false;
350 CollectionScheme m_collectionScheme;
351 bool m_collectionSchemeHasBeenSet =
false;
354 bool m_dataExtraDimensionsHasBeenSet =
false;
357 bool m_creationTimeHasBeenSet =
false;
360 bool m_lastModificationTimeHasBeenSet =
false;
363 bool m_dataDestinationConfigsHasBeenSet =
false;
366 bool m_dataPartitionsHasBeenSet =
false;
369 bool m_signalsToFetchHasBeenSet =
false;
372 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)
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