AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineSummary.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/osis/model/PipelineStatus.h>
9#include <aws/osis/model/PipelineStatusReason.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/osis/model/PipelineDestination.h>
14#include <aws/osis/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace OSIS
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_OSIS_API PipelineSummary();
45
46
48
51 inline const PipelineStatus& GetStatus() const{ return m_status; }
52 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
53 inline void SetStatus(const PipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; }
54 inline void SetStatus(PipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
55 inline PipelineSummary& WithStatus(const PipelineStatus& value) { SetStatus(value); return *this;}
56 inline PipelineSummary& WithStatus(PipelineStatus&& value) { SetStatus(std::move(value)); return *this;}
58
60
61 inline const PipelineStatusReason& GetStatusReason() const{ return m_statusReason; }
62 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
63 inline void SetStatusReason(const PipelineStatusReason& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
64 inline void SetStatusReason(PipelineStatusReason&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
65 inline PipelineSummary& WithStatusReason(const PipelineStatusReason& value) { SetStatusReason(value); return *this;}
66 inline PipelineSummary& WithStatusReason(PipelineStatusReason&& value) { SetStatusReason(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetPipelineName() const{ return m_pipelineName; }
74 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
75 inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; }
76 inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); }
77 inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); }
78 inline PipelineSummary& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;}
79 inline PipelineSummary& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;}
80 inline PipelineSummary& WithPipelineName(const char* value) { SetPipelineName(value); return *this;}
82
84
87 inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; }
88 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
89 inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; }
90 inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); }
91 inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); }
92 inline PipelineSummary& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;}
93 inline PipelineSummary& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;}
94 inline PipelineSummary& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;}
96
98
101 inline int GetMinUnits() const{ return m_minUnits; }
102 inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; }
103 inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; }
104 inline PipelineSummary& WithMinUnits(int value) { SetMinUnits(value); return *this;}
106
108
111 inline int GetMaxUnits() const{ return m_maxUnits; }
112 inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; }
113 inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; }
114 inline PipelineSummary& WithMaxUnits(int value) { SetMaxUnits(value); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
122 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
123 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
124 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
125 inline PipelineSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
126 inline PipelineSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
134 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
135 inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; }
136 inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); }
137 inline PipelineSummary& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
138 inline PipelineSummary& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
140
142
145 inline const Aws::Vector<PipelineDestination>& GetDestinations() const{ return m_destinations; }
146 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
147 inline void SetDestinations(const Aws::Vector<PipelineDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
148 inline void SetDestinations(Aws::Vector<PipelineDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
150 inline PipelineSummary& WithDestinations(Aws::Vector<PipelineDestination>&& value) { SetDestinations(std::move(value)); return *this;}
151 inline PipelineSummary& AddDestinations(const PipelineDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
152 inline PipelineSummary& AddDestinations(PipelineDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
154
156
159 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
160 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
161 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
162 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
163 inline PipelineSummary& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
164 inline PipelineSummary& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
165 inline PipelineSummary& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
166 inline PipelineSummary& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
168 private:
169
170 PipelineStatus m_status;
171 bool m_statusHasBeenSet = false;
172
173 PipelineStatusReason m_statusReason;
174 bool m_statusReasonHasBeenSet = false;
175
176 Aws::String m_pipelineName;
177 bool m_pipelineNameHasBeenSet = false;
178
179 Aws::String m_pipelineArn;
180 bool m_pipelineArnHasBeenSet = false;
181
182 int m_minUnits;
183 bool m_minUnitsHasBeenSet = false;
184
185 int m_maxUnits;
186 bool m_maxUnitsHasBeenSet = false;
187
188 Aws::Utils::DateTime m_createdAt;
189 bool m_createdAtHasBeenSet = false;
190
191 Aws::Utils::DateTime m_lastUpdatedAt;
192 bool m_lastUpdatedAtHasBeenSet = false;
193
195 bool m_destinationsHasBeenSet = false;
196
197 Aws::Vector<Tag> m_tags;
198 bool m_tagsHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace OSIS
203} // namespace Aws
void SetLastUpdatedAt(Aws::Utils::DateTime &&value)
PipelineSummary & WithPipelineArn(Aws::String &&value)
void SetStatus(PipelineStatus &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetStatus(const PipelineStatus &value)
PipelineSummary & AddTags(const Tag &value)
PipelineSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
PipelineSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
PipelineSummary & WithDestinations(Aws::Vector< PipelineDestination > &&value)
void SetStatusReason(PipelineStatusReason &&value)
const PipelineStatus & GetStatus() const
PipelineSummary & WithLastUpdatedAt(Aws::Utils::DateTime &&value)
void SetPipelineName(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
PipelineSummary & WithTags(const Aws::Vector< Tag > &value)
void SetPipelineName(const char *value)
AWS_OSIS_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue)
PipelineSummary & AddDestinations(const PipelineDestination &value)
PipelineSummary & WithPipelineName(const char *value)
const Aws::Vector< PipelineDestination > & GetDestinations() const
void SetPipelineName(Aws::String &&value)
PipelineSummary & WithPipelineArn(const char *value)
PipelineSummary & WithMinUnits(int value)
void SetTags(Aws::Vector< Tag > &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedAt() const
PipelineSummary & AddTags(Tag &&value)
PipelineSummary & AddDestinations(PipelineDestination &&value)
PipelineSummary & WithStatusReason(const PipelineStatusReason &value)
void SetPipelineArn(Aws::String &&value)
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinations(Aws::Vector< PipelineDestination > &&value)
PipelineSummary & WithMaxUnits(int value)
void SetDestinations(const Aws::Vector< PipelineDestination > &value)
PipelineSummary & WithDestinations(const Aws::Vector< PipelineDestination > &value)
PipelineSummary & WithPipelineName(const Aws::String &value)
PipelineSummary & WithPipelineName(Aws::String &&value)
void SetLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetPipelineArn(const char *value)
PipelineSummary & WithStatusReason(PipelineStatusReason &&value)
AWS_OSIS_API PipelineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPipelineName() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetStatusReason(const PipelineStatusReason &value)
PipelineSummary & WithStatus(const PipelineStatus &value)
PipelineSummary & WithTags(Aws::Vector< Tag > &&value)
PipelineSummary & WithStatus(PipelineStatus &&value)
PipelineSummary & WithPipelineArn(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
PipelineSummary & WithLastUpdatedAt(const Aws::Utils::DateTime &value)
void SetPipelineArn(const Aws::String &value)
const PipelineStatusReason & GetStatusReason() const
const Aws::String & GetPipelineArn() 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