AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PipelineSummary.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/iotanalytics/model/ReprocessingSummary.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTAnalytics
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTANALYTICS_API PipelineSummary() = default;
38 AWS_IOTANALYTICS_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTANALYTICS_API PipelineSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
48 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
49 template<typename PipelineNameT = Aws::String>
50 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
51 template<typename PipelineNameT = Aws::String>
52 PipelineSummary& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(value)); return *this;}
54
56
59 inline const Aws::Vector<ReprocessingSummary>& GetReprocessingSummaries() const { return m_reprocessingSummaries; }
60 inline bool ReprocessingSummariesHasBeenSet() const { return m_reprocessingSummariesHasBeenSet; }
61 template<typename ReprocessingSummariesT = Aws::Vector<ReprocessingSummary>>
62 void SetReprocessingSummaries(ReprocessingSummariesT&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = std::forward<ReprocessingSummariesT>(value); }
63 template<typename ReprocessingSummariesT = Aws::Vector<ReprocessingSummary>>
64 PipelineSummary& WithReprocessingSummaries(ReprocessingSummariesT&& value) { SetReprocessingSummaries(std::forward<ReprocessingSummariesT>(value)); return *this;}
65 template<typename ReprocessingSummariesT = ReprocessingSummary>
66 PipelineSummary& AddReprocessingSummaries(ReprocessingSummariesT&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.emplace_back(std::forward<ReprocessingSummariesT>(value)); return *this; }
68
70
73 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
74 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
75 template<typename CreationTimeT = Aws::Utils::DateTime>
76 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
77 template<typename CreationTimeT = Aws::Utils::DateTime>
78 PipelineSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdateTime() const { return m_lastUpdateTime; }
86 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
87 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
88 void SetLastUpdateTime(LastUpdateTimeT&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::forward<LastUpdateTimeT>(value); }
89 template<typename LastUpdateTimeT = Aws::Utils::DateTime>
90 PipelineSummary& WithLastUpdateTime(LastUpdateTimeT&& value) { SetLastUpdateTime(std::forward<LastUpdateTimeT>(value)); return *this;}
92 private:
93
94 Aws::String m_pipelineName;
95 bool m_pipelineNameHasBeenSet = false;
96
97 Aws::Vector<ReprocessingSummary> m_reprocessingSummaries;
98 bool m_reprocessingSummariesHasBeenSet = false;
99
100 Aws::Utils::DateTime m_creationTime{};
101 bool m_creationTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_lastUpdateTime{};
104 bool m_lastUpdateTimeHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace IoTAnalytics
109} // namespace Aws
void SetPipelineName(PipelineNameT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::Vector< ReprocessingSummary > & GetReprocessingSummaries() const
void SetLastUpdateTime(LastUpdateTimeT &&value)
PipelineSummary & WithLastUpdateTime(LastUpdateTimeT &&value)
PipelineSummary & WithPipelineName(PipelineNameT &&value)
AWS_IOTANALYTICS_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTANALYTICS_API PipelineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(CreationTimeT &&value)
PipelineSummary & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdateTime() const
PipelineSummary & WithReprocessingSummaries(ReprocessingSummariesT &&value)
void SetReprocessingSummaries(ReprocessingSummariesT &&value)
const Aws::String & GetPipelineName() const
AWS_IOTANALYTICS_API PipelineSummary()=default
PipelineSummary & AddReprocessingSummaries(ReprocessingSummariesT &&value)
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() 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