AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCampaignResult.h
1
6#pragma once
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 <utility>
19
20namespace Aws
21{
22template<typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace IoTFleetWise
33{
34namespace Model
35{
37 {
38 public:
39 AWS_IOTFLEETWISE_API GetCampaignResult();
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline void SetName(const Aws::String& value) { m_name = value; }
50 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
51 inline void SetName(const char* value) { m_name.assign(value); }
52 inline GetCampaignResult& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline GetCampaignResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline GetCampaignResult& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline void SetArn(const Aws::String& value) { m_arn = value; }
63 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
64 inline void SetArn(const char* value) { m_arn.assign(value); }
65 inline GetCampaignResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
66 inline GetCampaignResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
67 inline GetCampaignResult& WithArn(const char* value) { SetArn(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline void SetDescription(const Aws::String& value) { m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_description.assign(value); }
78 inline GetCampaignResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline GetCampaignResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline GetCampaignResult& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
87 inline const Aws::String& GetSignalCatalogArn() const{ return m_signalCatalogArn; }
88 inline void SetSignalCatalogArn(const Aws::String& value) { m_signalCatalogArn = value; }
89 inline void SetSignalCatalogArn(Aws::String&& value) { m_signalCatalogArn = std::move(value); }
90 inline void SetSignalCatalogArn(const char* value) { m_signalCatalogArn.assign(value); }
91 inline GetCampaignResult& WithSignalCatalogArn(const Aws::String& value) { SetSignalCatalogArn(value); return *this;}
92 inline GetCampaignResult& WithSignalCatalogArn(Aws::String&& value) { SetSignalCatalogArn(std::move(value)); return *this;}
93 inline GetCampaignResult& WithSignalCatalogArn(const char* value) { SetSignalCatalogArn(value); return *this;}
95
97
100 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
101 inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; }
102 inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); }
103 inline void SetTargetArn(const char* value) { m_targetArn.assign(value); }
104 inline GetCampaignResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
105 inline GetCampaignResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
106 inline GetCampaignResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
108
110
115 inline const CampaignStatus& GetStatus() const{ return m_status; }
116 inline void SetStatus(const CampaignStatus& value) { m_status = value; }
117 inline void SetStatus(CampaignStatus&& value) { m_status = std::move(value); }
118 inline GetCampaignResult& WithStatus(const CampaignStatus& value) { SetStatus(value); return *this;}
119 inline GetCampaignResult& WithStatus(CampaignStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
127 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
128 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
129 inline GetCampaignResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
130 inline GetCampaignResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
132
134
139 inline const Aws::Utils::DateTime& GetExpiryTime() const{ return m_expiryTime; }
140 inline void SetExpiryTime(const Aws::Utils::DateTime& value) { m_expiryTime = value; }
141 inline void SetExpiryTime(Aws::Utils::DateTime&& value) { m_expiryTime = std::move(value); }
142 inline GetCampaignResult& WithExpiryTime(const Aws::Utils::DateTime& value) { SetExpiryTime(value); return *this;}
143 inline GetCampaignResult& WithExpiryTime(Aws::Utils::DateTime&& value) { SetExpiryTime(std::move(value)); return *this;}
145
147
151 inline long long GetPostTriggerCollectionDuration() const{ return m_postTriggerCollectionDuration; }
152 inline void SetPostTriggerCollectionDuration(long long value) { m_postTriggerCollectionDuration = value; }
155
157
161 inline const DiagnosticsMode& GetDiagnosticsMode() const{ return m_diagnosticsMode; }
162 inline void SetDiagnosticsMode(const DiagnosticsMode& value) { m_diagnosticsMode = value; }
163 inline void SetDiagnosticsMode(DiagnosticsMode&& value) { m_diagnosticsMode = std::move(value); }
164 inline GetCampaignResult& WithDiagnosticsMode(const DiagnosticsMode& value) { SetDiagnosticsMode(value); return *this;}
165 inline GetCampaignResult& WithDiagnosticsMode(DiagnosticsMode&& value) { SetDiagnosticsMode(std::move(value)); return *this;}
167
169
174 inline const SpoolingMode& GetSpoolingMode() const{ return m_spoolingMode; }
175 inline void SetSpoolingMode(const SpoolingMode& value) { m_spoolingMode = value; }
176 inline void SetSpoolingMode(SpoolingMode&& value) { m_spoolingMode = std::move(value); }
177 inline GetCampaignResult& WithSpoolingMode(const SpoolingMode& value) { SetSpoolingMode(value); return *this;}
178 inline GetCampaignResult& WithSpoolingMode(SpoolingMode&& value) { SetSpoolingMode(std::move(value)); return *this;}
180
182
187 inline const Compression& GetCompression() const{ return m_compression; }
188 inline void SetCompression(const Compression& value) { m_compression = value; }
189 inline void SetCompression(Compression&& value) { m_compression = std::move(value); }
190 inline GetCampaignResult& WithCompression(const Compression& value) { SetCompression(value); return *this;}
191 inline GetCampaignResult& WithCompression(Compression&& value) { SetCompression(std::move(value)); return *this;}
193
195
200 inline int GetPriority() const{ return m_priority; }
201 inline void SetPriority(int value) { m_priority = value; }
202 inline GetCampaignResult& WithPriority(int value) { SetPriority(value); return *this;}
204
206
209 inline const Aws::Vector<SignalInformation>& GetSignalsToCollect() const{ return m_signalsToCollect; }
210 inline void SetSignalsToCollect(const Aws::Vector<SignalInformation>& value) { m_signalsToCollect = value; }
211 inline void SetSignalsToCollect(Aws::Vector<SignalInformation>&& value) { m_signalsToCollect = std::move(value); }
214 inline GetCampaignResult& AddSignalsToCollect(const SignalInformation& value) { m_signalsToCollect.push_back(value); return *this; }
215 inline GetCampaignResult& AddSignalsToCollect(SignalInformation&& value) { m_signalsToCollect.push_back(std::move(value)); return *this; }
217
219
223 inline const CollectionScheme& GetCollectionScheme() const{ return m_collectionScheme; }
224 inline void SetCollectionScheme(const CollectionScheme& value) { m_collectionScheme = value; }
225 inline void SetCollectionScheme(CollectionScheme&& value) { m_collectionScheme = std::move(value); }
226 inline GetCampaignResult& WithCollectionScheme(const CollectionScheme& value) { SetCollectionScheme(value); return *this;}
227 inline GetCampaignResult& WithCollectionScheme(CollectionScheme&& value) { SetCollectionScheme(std::move(value)); return *this;}
229
231
234 inline const Aws::Vector<Aws::String>& GetDataExtraDimensions() const{ return m_dataExtraDimensions; }
235 inline void SetDataExtraDimensions(const Aws::Vector<Aws::String>& value) { m_dataExtraDimensions = value; }
236 inline void SetDataExtraDimensions(Aws::Vector<Aws::String>&& value) { m_dataExtraDimensions = std::move(value); }
239 inline GetCampaignResult& AddDataExtraDimensions(const Aws::String& value) { m_dataExtraDimensions.push_back(value); return *this; }
240 inline GetCampaignResult& AddDataExtraDimensions(Aws::String&& value) { m_dataExtraDimensions.push_back(std::move(value)); return *this; }
241 inline GetCampaignResult& AddDataExtraDimensions(const char* value) { m_dataExtraDimensions.push_back(value); return *this; }
243
245
249 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
250 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
251 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
252 inline GetCampaignResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
253 inline GetCampaignResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
255
257
260 inline const Aws::Utils::DateTime& GetLastModificationTime() const{ return m_lastModificationTime; }
261 inline void SetLastModificationTime(const Aws::Utils::DateTime& value) { m_lastModificationTime = value; }
262 inline void SetLastModificationTime(Aws::Utils::DateTime&& value) { m_lastModificationTime = std::move(value); }
266
268
277 inline const Aws::Vector<DataDestinationConfig>& GetDataDestinationConfigs() const{ return m_dataDestinationConfigs; }
278 inline void SetDataDestinationConfigs(const Aws::Vector<DataDestinationConfig>& value) { m_dataDestinationConfigs = value; }
279 inline void SetDataDestinationConfigs(Aws::Vector<DataDestinationConfig>&& value) { m_dataDestinationConfigs = std::move(value); }
282 inline GetCampaignResult& AddDataDestinationConfigs(const DataDestinationConfig& value) { m_dataDestinationConfigs.push_back(value); return *this; }
283 inline GetCampaignResult& AddDataDestinationConfigs(DataDestinationConfig&& value) { m_dataDestinationConfigs.push_back(std::move(value)); return *this; }
285
287
288 inline const Aws::String& GetRequestId() const{ return m_requestId; }
289 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
290 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
291 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
292 inline GetCampaignResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
293 inline GetCampaignResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
294 inline GetCampaignResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
296 private:
297
298 Aws::String m_name;
299
300 Aws::String m_arn;
301
302 Aws::String m_description;
303
304 Aws::String m_signalCatalogArn;
305
306 Aws::String m_targetArn;
307
308 CampaignStatus m_status;
309
310 Aws::Utils::DateTime m_startTime;
311
312 Aws::Utils::DateTime m_expiryTime;
313
314 long long m_postTriggerCollectionDuration;
315
316 DiagnosticsMode m_diagnosticsMode;
317
318 SpoolingMode m_spoolingMode;
319
320 Compression m_compression;
321
322 int m_priority;
323
324 Aws::Vector<SignalInformation> m_signalsToCollect;
325
326 CollectionScheme m_collectionScheme;
327
328 Aws::Vector<Aws::String> m_dataExtraDimensions;
329
330 Aws::Utils::DateTime m_creationTime;
331
332 Aws::Utils::DateTime m_lastModificationTime;
333
334 Aws::Vector<DataDestinationConfig> m_dataDestinationConfigs;
335
336 Aws::String m_requestId;
337 };
338
339} // namespace Model
340} // namespace IoTFleetWise
341} // namespace Aws
const Aws::Vector< Aws::String > & GetDataExtraDimensions() const
void SetDataExtraDimensions(Aws::Vector< Aws::String > &&value)
GetCampaignResult & AddDataDestinationConfigs(DataDestinationConfig &&value)
GetCampaignResult & AddDataDestinationConfigs(const DataDestinationConfig &value)
GetCampaignResult & WithDataDestinationConfigs(const Aws::Vector< DataDestinationConfig > &value)
AWS_IOTFLEETWISE_API GetCampaignResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCampaignResult & WithDescription(const char *value)
GetCampaignResult & WithRequestId(const Aws::String &value)
GetCampaignResult & WithSpoolingMode(SpoolingMode &&value)
GetCampaignResult & WithDataDestinationConfigs(Aws::Vector< DataDestinationConfig > &&value)
GetCampaignResult & WithSignalsToCollect(const Aws::Vector< SignalInformation > &value)
void SetStatus(const CampaignStatus &value)
GetCampaignResult & WithCompression(const Compression &value)
GetCampaignResult & WithDataExtraDimensions(Aws::Vector< Aws::String > &&value)
const Aws::Vector< DataDestinationConfig > & GetDataDestinationConfigs() const
GetCampaignResult & WithSignalCatalogArn(const char *value)
GetCampaignResult & AddDataExtraDimensions(Aws::String &&value)
GetCampaignResult & WithTargetArn(const Aws::String &value)
GetCampaignResult & WithSignalCatalogArn(Aws::String &&value)
GetCampaignResult & WithTargetArn(const char *value)
GetCampaignResult & WithExpiryTime(const Aws::Utils::DateTime &value)
GetCampaignResult & WithName(const char *value)
GetCampaignResult & WithStartTime(Aws::Utils::DateTime &&value)
GetCampaignResult & WithSignalsToCollect(Aws::Vector< SignalInformation > &&value)
GetCampaignResult & WithStatus(CampaignStatus &&value)
void SetCollectionScheme(const CollectionScheme &value)
const DiagnosticsMode & GetDiagnosticsMode() const
GetCampaignResult & WithSpoolingMode(const SpoolingMode &value)
void SetCollectionScheme(CollectionScheme &&value)
GetCampaignResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetTargetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetLastModificationTime() const
GetCampaignResult & WithCollectionScheme(const CollectionScheme &value)
GetCampaignResult & AddSignalsToCollect(const SignalInformation &value)
GetCampaignResult & WithExpiryTime(Aws::Utils::DateTime &&value)
void SetExpiryTime(const Aws::Utils::DateTime &value)
GetCampaignResult & WithDiagnosticsMode(DiagnosticsMode &&value)
void SetLastModificationTime(Aws::Utils::DateTime &&value)
void SetLastModificationTime(const Aws::Utils::DateTime &value)
GetCampaignResult & AddDataExtraDimensions(const char *value)
GetCampaignResult & WithDataExtraDimensions(const Aws::Vector< Aws::String > &value)
void SetSignalsToCollect(Aws::Vector< SignalInformation > &&value)
GetCampaignResult & WithPostTriggerCollectionDuration(long long value)
GetCampaignResult & WithArn(Aws::String &&value)
GetCampaignResult & AddDataExtraDimensions(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetDiagnosticsMode(DiagnosticsMode &&value)
GetCampaignResult & WithCollectionScheme(CollectionScheme &&value)
void SetSpoolingMode(const SpoolingMode &value)
void SetExpiryTime(Aws::Utils::DateTime &&value)
GetCampaignResult & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetSignalCatalogArn() const
void SetCreationTime(Aws::Utils::DateTime &&value)
GetCampaignResult & WithName(const Aws::String &value)
GetCampaignResult & WithLastModificationTime(const Aws::Utils::DateTime &value)
GetCampaignResult & WithTargetArn(Aws::String &&value)
GetCampaignResult & WithArn(const char *value)
void SetStartTime(Aws::Utils::DateTime &&value)
AWS_IOTFLEETWISE_API GetCampaignResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCampaignResult & WithDescription(Aws::String &&value)
void SetDataExtraDimensions(const Aws::Vector< Aws::String > &value)
void SetDescription(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
void SetDataDestinationConfigs(Aws::Vector< DataDestinationConfig > &&value)
const Aws::Utils::DateTime & GetExpiryTime() const
const CollectionScheme & GetCollectionScheme() const
GetCampaignResult & WithName(Aws::String &&value)
GetCampaignResult & WithDiagnosticsMode(const DiagnosticsMode &value)
GetCampaignResult & WithArn(const Aws::String &value)
GetCampaignResult & WithStatus(const CampaignStatus &value)
void SetSignalCatalogArn(const Aws::String &value)
GetCampaignResult & WithStartTime(const Aws::Utils::DateTime &value)
GetCampaignResult & WithPriority(int value)
void SetSignalsToCollect(const Aws::Vector< SignalInformation > &value)
const Aws::Vector< SignalInformation > & GetSignalsToCollect() const
void SetDataDestinationConfigs(const Aws::Vector< DataDestinationConfig > &value)
void SetDiagnosticsMode(const DiagnosticsMode &value)
GetCampaignResult & WithSignalCatalogArn(const Aws::String &value)
GetCampaignResult & WithDescription(const Aws::String &value)
GetCampaignResult & WithLastModificationTime(Aws::Utils::DateTime &&value)
void SetCompression(const Compression &value)
const Aws::Utils::DateTime & GetCreationTime() const
GetCampaignResult & WithCompression(Compression &&value)
GetCampaignResult & AddSignalsToCollect(SignalInformation &&value)
GetCampaignResult & WithRequestId(Aws::String &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetCampaignResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue