AWS SDK for C++  1.9.123
AWS SDK for C++
PipelineSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace CodePipeline
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline PipelineSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline PipelineSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline PipelineSummary& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline int GetVersion() const{ return m_version; }
86 
90  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
91 
95  inline void SetVersion(int value) { m_versionHasBeenSet = true; m_version = value; }
96 
100  inline PipelineSummary& WithVersion(int value) { SetVersion(value); return *this;}
101 
102 
106  inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
107 
111  inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
112 
116  inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
117 
121  inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
122 
126  inline PipelineSummary& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
127 
131  inline PipelineSummary& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
132 
133 
138  inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; }
139 
144  inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; }
145 
150  inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updatedHasBeenSet = true; m_updated = value; }
151 
156  inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updatedHasBeenSet = true; m_updated = std::move(value); }
157 
162  inline PipelineSummary& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;}
163 
168  inline PipelineSummary& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;}
169 
170  private:
171 
172  Aws::String m_name;
173  bool m_nameHasBeenSet;
174 
175  int m_version;
176  bool m_versionHasBeenSet;
177 
178  Aws::Utils::DateTime m_created;
179  bool m_createdHasBeenSet;
180 
181  Aws::Utils::DateTime m_updated;
182  bool m_updatedHasBeenSet;
183  };
184 
185 } // namespace Model
186 } // namespace CodePipeline
187 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodePipeline::Model::PipelineSummary::GetUpdated
const Aws::Utils::DateTime & GetUpdated() const
Definition: PipelineSummary.h:138
Aws::CodePipeline::Model::PipelineSummary::SetName
void SetName(const char *value)
Definition: PipelineSummary.h:64
Aws::CodePipeline::Model::PipelineSummary::UpdatedHasBeenSet
bool UpdatedHasBeenSet() const
Definition: PipelineSummary.h:144
Aws::CodePipeline::Model::PipelineSummary::SetUpdated
void SetUpdated(const Aws::Utils::DateTime &value)
Definition: PipelineSummary.h:150
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::PipelineSummary::SetVersion
void SetVersion(int value)
Definition: PipelineSummary.h:95
DateTime.h
Aws::CodePipeline::Model::PipelineSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::PipelineSummary
Definition: PipelineSummary.h:33
Aws::CodePipeline::Model::PipelineSummary::operator=
PipelineSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::PipelineSummary::WithUpdated
PipelineSummary & WithUpdated(const Aws::Utils::DateTime &value)
Definition: PipelineSummary.h:162
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::PipelineSummary::GetVersion
int GetVersion() const
Definition: PipelineSummary.h:85
Aws::CodePipeline::Model::PipelineSummary::SetName
void SetName(const Aws::String &value)
Definition: PipelineSummary.h:54
Aws::CodePipeline::Model::PipelineSummary::WithVersion
PipelineSummary & WithVersion(int value)
Definition: PipelineSummary.h:100
Aws::CodePipeline::Model::PipelineSummary::WithCreated
PipelineSummary & WithCreated(const Aws::Utils::DateTime &value)
Definition: PipelineSummary.h:126
Aws::CodePipeline::Model::PipelineSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: PipelineSummary.h:49
Aws::CodePipeline::Model::PipelineSummary::WithName
PipelineSummary & WithName(Aws::String &&value)
Definition: PipelineSummary.h:74
Aws::CodePipeline::Model::PipelineSummary::SetCreated
void SetCreated(const Aws::Utils::DateTime &value)
Definition: PipelineSummary.h:116
Aws::CodePipeline::Model::PipelineSummary::WithName
PipelineSummary & WithName(const Aws::String &value)
Definition: PipelineSummary.h:69
Aws::CodePipeline::Model::PipelineSummary::SetUpdated
void SetUpdated(Aws::Utils::DateTime &&value)
Definition: PipelineSummary.h:156
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::PipelineSummary::WithName
PipelineSummary & WithName(const char *value)
Definition: PipelineSummary.h:79
Aws::CodePipeline::Model::PipelineSummary::GetCreated
const Aws::Utils::DateTime & GetCreated() const
Definition: PipelineSummary.h:106
Aws::CodePipeline::Model::PipelineSummary::GetName
const Aws::String & GetName() const
Definition: PipelineSummary.h:44
Aws::CodePipeline::Model::PipelineSummary::WithCreated
PipelineSummary & WithCreated(Aws::Utils::DateTime &&value)
Definition: PipelineSummary.h:131
Aws::CodePipeline::Model::PipelineSummary::WithUpdated
PipelineSummary & WithUpdated(Aws::Utils::DateTime &&value)
Definition: PipelineSummary.h:168
Aws::CodePipeline::Model::PipelineSummary::CreatedHasBeenSet
bool CreatedHasBeenSet() const
Definition: PipelineSummary.h:111
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::PipelineSummary::PipelineSummary
PipelineSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::PipelineSummary::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: PipelineSummary.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::PipelineSummary::PipelineSummary
PipelineSummary()
Aws::CodePipeline::Model::PipelineSummary::SetName
void SetName(Aws::String &&value)
Definition: PipelineSummary.h:59
Aws::CodePipeline::Model::PipelineSummary::SetCreated
void SetCreated(Aws::Utils::DateTime &&value)
Definition: PipelineSummary.h:121