AWS SDK for C++  1.9.106
AWS SDK for C++
PipelineMetadata.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& GetPipelineArn() const{ return m_pipelineArn; }
45 
49  inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
50 
54  inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; }
55 
59  inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); }
60 
64  inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); }
65 
69  inline PipelineMetadata& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;}
70 
74  inline PipelineMetadata& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;}
75 
79  inline PipelineMetadata& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;}
80 
81 
85  inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
86 
90  inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
91 
95  inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
96 
100  inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
101 
105  inline PipelineMetadata& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
106 
110  inline PipelineMetadata& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
111 
112 
116  inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; }
117 
121  inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; }
122 
126  inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updatedHasBeenSet = true; m_updated = value; }
127 
131  inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updatedHasBeenSet = true; m_updated = std::move(value); }
132 
136  inline PipelineMetadata& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;}
137 
141  inline PipelineMetadata& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;}
142 
143  private:
144 
145  Aws::String m_pipelineArn;
146  bool m_pipelineArnHasBeenSet;
147 
148  Aws::Utils::DateTime m_created;
149  bool m_createdHasBeenSet;
150 
151  Aws::Utils::DateTime m_updated;
152  bool m_updatedHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace CodePipeline
157 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::CodePipeline::Model::PipelineMetadata::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::PipelineMetadata::SetCreated
void SetCreated(Aws::Utils::DateTime &&value)
Definition: PipelineMetadata.h:100
Aws::CodePipeline::Model::PipelineMetadata::GetCreated
const Aws::Utils::DateTime & GetCreated() const
Definition: PipelineMetadata.h:85
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::PipelineMetadata::CreatedHasBeenSet
bool CreatedHasBeenSet() const
Definition: PipelineMetadata.h:90
Aws::CodePipeline::Model::PipelineMetadata::operator=
PipelineMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
DateTime.h
Aws::CodePipeline::Model::PipelineMetadata::GetUpdated
const Aws::Utils::DateTime & GetUpdated() const
Definition: PipelineMetadata.h:116
Aws::CodePipeline::Model::PipelineMetadata::WithUpdated
PipelineMetadata & WithUpdated(const Aws::Utils::DateTime &value)
Definition: PipelineMetadata.h:136
Aws::CodePipeline::Model::PipelineMetadata::WithCreated
PipelineMetadata & WithCreated(const Aws::Utils::DateTime &value)
Definition: PipelineMetadata.h:105
Aws::CodePipeline::Model::PipelineMetadata::SetPipelineArn
void SetPipelineArn(Aws::String &&value)
Definition: PipelineMetadata.h:59
Aws::CodePipeline::Model::PipelineMetadata::SetUpdated
void SetUpdated(const Aws::Utils::DateTime &value)
Definition: PipelineMetadata.h:126
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::PipelineMetadata::SetUpdated
void SetUpdated(Aws::Utils::DateTime &&value)
Definition: PipelineMetadata.h:131
Aws::CodePipeline::Model::PipelineMetadata::WithPipelineArn
PipelineMetadata & WithPipelineArn(Aws::String &&value)
Definition: PipelineMetadata.h:74
Aws::CodePipeline::Model::PipelineMetadata
Definition: PipelineMetadata.h:33
Aws::CodePipeline::Model::PipelineMetadata::PipelineMetadata
PipelineMetadata()
Aws::CodePipeline::Model::PipelineMetadata::GetPipelineArn
const Aws::String & GetPipelineArn() const
Definition: PipelineMetadata.h:44
Aws::CodePipeline::Model::PipelineMetadata::WithUpdated
PipelineMetadata & WithUpdated(Aws::Utils::DateTime &&value)
Definition: PipelineMetadata.h:141
Aws::CodePipeline::Model::PipelineMetadata::WithPipelineArn
PipelineMetadata & WithPipelineArn(const char *value)
Definition: PipelineMetadata.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::PipelineMetadata::PipelineArnHasBeenSet
bool PipelineArnHasBeenSet() const
Definition: PipelineMetadata.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodePipeline::Model::PipelineMetadata::SetPipelineArn
void SetPipelineArn(const char *value)
Definition: PipelineMetadata.h:64
Aws::CodePipeline::Model::PipelineMetadata::WithCreated
PipelineMetadata & WithCreated(Aws::Utils::DateTime &&value)
Definition: PipelineMetadata.h:110
Aws::CodePipeline::Model::PipelineMetadata::SetPipelineArn
void SetPipelineArn(const Aws::String &value)
Definition: PipelineMetadata.h:54
Aws::CodePipeline::Model::PipelineMetadata::PipelineMetadata
PipelineMetadata(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::PipelineMetadata::SetCreated
void SetCreated(const Aws::Utils::DateTime &value)
Definition: PipelineMetadata.h:95
Aws::CodePipeline::Model::PipelineMetadata::WithPipelineArn
PipelineMetadata & WithPipelineArn(const Aws::String &value)
Definition: PipelineMetadata.h:69
Aws::CodePipeline::Model::PipelineMetadata::UpdatedHasBeenSet
bool UpdatedHasBeenSet() const
Definition: PipelineMetadata.h:121