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/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/PipelineType.h>
10#include <aws/codepipeline/model/ExecutionMode.h>
11#include <aws/core/utils/DateTime.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 CodePipeline
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CODEPIPELINE_API PipelineSummary();
38 AWS_CODEPIPELINE_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API PipelineSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline PipelineSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline PipelineSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline PipelineSummary& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline int GetVersion() const{ return m_version; }
62 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
63 inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
64 inline PipelineSummary& WithVersion(int value) { SetVersion(value); return *this;}
66
68
84 inline const PipelineType& GetPipelineType() const{ return m_pipelineType; }
85 inline bool PipelineTypeHasBeenSet() const { return m_pipelineTypeHasBeenSet; }
86 inline void SetPipelineType(const PipelineType& value) { m_pipelineTypeHasBeenSet = true; m_pipelineType = value; }
87 inline void SetPipelineType(PipelineType&& value) { m_pipelineTypeHasBeenSet = true; m_pipelineType = std::move(value); }
88 inline PipelineSummary& WithPipelineType(const PipelineType& value) { SetPipelineType(value); return *this;}
89 inline PipelineSummary& WithPipelineType(PipelineType&& value) { SetPipelineType(std::move(value)); return *this;}
91
93
97 inline const ExecutionMode& GetExecutionMode() const{ return m_executionMode; }
98 inline bool ExecutionModeHasBeenSet() const { return m_executionModeHasBeenSet; }
99 inline void SetExecutionMode(const ExecutionMode& value) { m_executionModeHasBeenSet = true; m_executionMode = value; }
100 inline void SetExecutionMode(ExecutionMode&& value) { m_executionModeHasBeenSet = true; m_executionMode = std::move(value); }
101 inline PipelineSummary& WithExecutionMode(const ExecutionMode& value) { SetExecutionMode(value); return *this;}
102 inline PipelineSummary& WithExecutionMode(ExecutionMode&& value) { SetExecutionMode(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
110 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
111 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
112 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
113 inline PipelineSummary& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
114 inline PipelineSummary& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; }
123 inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; }
124 inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updatedHasBeenSet = true; m_updated = value; }
125 inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updatedHasBeenSet = true; m_updated = std::move(value); }
126 inline PipelineSummary& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;}
127 inline PipelineSummary& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;}
129 private:
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 int m_version;
135 bool m_versionHasBeenSet = false;
136
137 PipelineType m_pipelineType;
138 bool m_pipelineTypeHasBeenSet = false;
139
140 ExecutionMode m_executionMode;
141 bool m_executionModeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_created;
144 bool m_createdHasBeenSet = false;
145
146 Aws::Utils::DateTime m_updated;
147 bool m_updatedHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CodePipeline
152} // namespace Aws
PipelineSummary & WithUpdated(const Aws::Utils::DateTime &value)
PipelineSummary & WithPipelineType(const PipelineType &value)
void SetPipelineType(PipelineType &&value)
const Aws::Utils::DateTime & GetUpdated() const
void SetCreated(const Aws::Utils::DateTime &value)
AWS_CODEPIPELINE_API PipelineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PipelineSummary & WithCreated(const Aws::Utils::DateTime &value)
void SetPipelineType(const PipelineType &value)
PipelineSummary & WithExecutionMode(ExecutionMode &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineSummary & WithName(const Aws::String &value)
void SetUpdated(const Aws::Utils::DateTime &value)
PipelineSummary & WithPipelineType(PipelineType &&value)
const Aws::Utils::DateTime & GetCreated() const
void SetExecutionMode(ExecutionMode &&value)
PipelineSummary & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetUpdated(Aws::Utils::DateTime &&value)
PipelineSummary & WithExecutionMode(const ExecutionMode &value)
PipelineSummary & WithCreated(Aws::Utils::DateTime &&value)
void SetCreated(Aws::Utils::DateTime &&value)
PipelineSummary & WithUpdated(Aws::Utils::DateTime &&value)
void SetExecutionMode(const ExecutionMode &value)
const PipelineType & GetPipelineType() const
const ExecutionMode & GetExecutionMode() const
PipelineSummary & WithName(const char *value)
PipelineSummary & WithVersion(int value)
AWS_CODEPIPELINE_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue