AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Pipeline.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/PipelineActivity.h>
12#include <aws/iotanalytics/model/ReprocessingSummary.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTAnalytics
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_IOTANALYTICS_API Pipeline();
39 AWS_IOTANALYTICS_API Pipeline(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTANALYTICS_API Pipeline& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline Pipeline& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline Pipeline& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline Pipeline& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetArn() const{ return m_arn; }
63 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
64 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
65 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67 inline Pipeline& WithArn(const Aws::String& value) { SetArn(value); return *this;}
68 inline Pipeline& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
69 inline Pipeline& WithArn(const char* value) { SetArn(value); return *this;}
71
73
76 inline const Aws::Vector<PipelineActivity>& GetActivities() const{ return m_activities; }
77 inline bool ActivitiesHasBeenSet() const { return m_activitiesHasBeenSet; }
78 inline void SetActivities(const Aws::Vector<PipelineActivity>& value) { m_activitiesHasBeenSet = true; m_activities = value; }
79 inline void SetActivities(Aws::Vector<PipelineActivity>&& value) { m_activitiesHasBeenSet = true; m_activities = std::move(value); }
80 inline Pipeline& WithActivities(const Aws::Vector<PipelineActivity>& value) { SetActivities(value); return *this;}
81 inline Pipeline& WithActivities(Aws::Vector<PipelineActivity>&& value) { SetActivities(std::move(value)); return *this;}
82 inline Pipeline& AddActivities(const PipelineActivity& value) { m_activitiesHasBeenSet = true; m_activities.push_back(value); return *this; }
83 inline Pipeline& AddActivities(PipelineActivity&& value) { m_activitiesHasBeenSet = true; m_activities.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::Vector<ReprocessingSummary>& GetReprocessingSummaries() const{ return m_reprocessingSummaries; }
91 inline bool ReprocessingSummariesHasBeenSet() const { return m_reprocessingSummariesHasBeenSet; }
92 inline void SetReprocessingSummaries(const Aws::Vector<ReprocessingSummary>& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = value; }
93 inline void SetReprocessingSummaries(Aws::Vector<ReprocessingSummary>&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = std::move(value); }
96 inline Pipeline& AddReprocessingSummaries(const ReprocessingSummary& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.push_back(value); return *this; }
97 inline Pipeline& AddReprocessingSummaries(ReprocessingSummary&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
105 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
106 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
107 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
108 inline Pipeline& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
109 inline Pipeline& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; }
117 inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; }
118 inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; }
119 inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); }
120 inline Pipeline& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;}
121 inline Pipeline& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
132 bool m_activitiesHasBeenSet = false;
133
134 Aws::Vector<ReprocessingSummary> m_reprocessingSummaries;
135 bool m_reprocessingSummariesHasBeenSet = false;
136
137 Aws::Utils::DateTime m_creationTime;
138 bool m_creationTimeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_lastUpdateTime;
141 bool m_lastUpdateTimeHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace IoTAnalytics
146} // namespace Aws
void SetName(const Aws::String &value)
Definition Pipeline.h:50
Pipeline & WithCreationTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:108
void SetName(const char *value)
Definition Pipeline.h:52
Pipeline & WithArn(const Aws::String &value)
Definition Pipeline.h:67
Pipeline & AddReprocessingSummaries(ReprocessingSummary &&value)
Definition Pipeline.h:97
Pipeline & AddActivities(const PipelineActivity &value)
Definition Pipeline.h:82
const Aws::Vector< PipelineActivity > & GetActivities() const
Definition Pipeline.h:76
AWS_IOTANALYTICS_API Pipeline()
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:107
AWS_IOTANALYTICS_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithActivities(Aws::Vector< PipelineActivity > &&value)
Definition Pipeline.h:81
const Aws::Vector< ReprocessingSummary > & GetReprocessingSummaries() const
Definition Pipeline.h:90
Pipeline & WithName(const Aws::String &value)
Definition Pipeline.h:53
Pipeline & WithName(Aws::String &&value)
Definition Pipeline.h:54
Pipeline & WithLastUpdateTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:120
bool ReprocessingSummariesHasBeenSet() const
Definition Pipeline.h:91
void SetArn(const Aws::String &value)
Definition Pipeline.h:64
Pipeline & WithReprocessingSummaries(const Aws::Vector< ReprocessingSummary > &value)
Definition Pipeline.h:94
AWS_IOTANALYTICS_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
Pipeline & WithActivities(const Aws::Vector< PipelineActivity > &value)
Definition Pipeline.h:80
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:106
const Aws::String & GetName() const
Definition Pipeline.h:48
void SetName(Aws::String &&value)
Definition Pipeline.h:51
Pipeline & WithName(const char *value)
Definition Pipeline.h:55
AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const
Pipeline & WithArn(const char *value)
Definition Pipeline.h:69
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:119
void SetArn(const char *value)
Definition Pipeline.h:66
Pipeline & AddActivities(PipelineActivity &&value)
Definition Pipeline.h:83
const Aws::Utils::DateTime & GetLastUpdateTime() const
Definition Pipeline.h:116
void SetReprocessingSummaries(Aws::Vector< ReprocessingSummary > &&value)
Definition Pipeline.h:93
const Aws::String & GetArn() const
Definition Pipeline.h:62
Pipeline & WithArn(Aws::String &&value)
Definition Pipeline.h:68
Pipeline & WithLastUpdateTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:121
Pipeline & WithCreationTime(Aws::Utils::DateTime &&value)
Definition Pipeline.h:109
Pipeline & WithReprocessingSummaries(Aws::Vector< ReprocessingSummary > &&value)
Definition Pipeline.h:95
const Aws::Utils::DateTime & GetCreationTime() const
Definition Pipeline.h:104
void SetActivities(const Aws::Vector< PipelineActivity > &value)
Definition Pipeline.h:78
void SetActivities(Aws::Vector< PipelineActivity > &&value)
Definition Pipeline.h:79
Pipeline & AddReprocessingSummaries(const ReprocessingSummary &value)
Definition Pipeline.h:96
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
Definition Pipeline.h:118
void SetReprocessingSummaries(const Aws::Vector< ReprocessingSummary > &value)
Definition Pipeline.h:92
void SetArn(Aws::String &&value)
Definition Pipeline.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue