AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineMetadata.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodePipeline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CODEPIPELINE_API PipelineMetadata();
36 AWS_CODEPIPELINE_API PipelineMetadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEPIPELINE_API PipelineMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; }
46 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
47 inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; }
48 inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); }
49 inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); }
50 inline PipelineMetadata& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;}
51 inline PipelineMetadata& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;}
52 inline PipelineMetadata& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
60 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
61 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
62 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
63 inline PipelineMetadata& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
64 inline PipelineMetadata& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetUpdated() const{ return m_updated; }
72 inline bool UpdatedHasBeenSet() const { return m_updatedHasBeenSet; }
73 inline void SetUpdated(const Aws::Utils::DateTime& value) { m_updatedHasBeenSet = true; m_updated = value; }
74 inline void SetUpdated(Aws::Utils::DateTime&& value) { m_updatedHasBeenSet = true; m_updated = std::move(value); }
75 inline PipelineMetadata& WithUpdated(const Aws::Utils::DateTime& value) { SetUpdated(value); return *this;}
76 inline PipelineMetadata& WithUpdated(Aws::Utils::DateTime&& value) { SetUpdated(std::move(value)); return *this;}
78
80
90 inline const Aws::Utils::DateTime& GetPollingDisabledAt() const{ return m_pollingDisabledAt; }
91 inline bool PollingDisabledAtHasBeenSet() const { return m_pollingDisabledAtHasBeenSet; }
92 inline void SetPollingDisabledAt(const Aws::Utils::DateTime& value) { m_pollingDisabledAtHasBeenSet = true; m_pollingDisabledAt = value; }
93 inline void SetPollingDisabledAt(Aws::Utils::DateTime&& value) { m_pollingDisabledAtHasBeenSet = true; m_pollingDisabledAt = std::move(value); }
95 inline PipelineMetadata& WithPollingDisabledAt(Aws::Utils::DateTime&& value) { SetPollingDisabledAt(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_pipelineArn;
100 bool m_pipelineArnHasBeenSet = false;
101
102 Aws::Utils::DateTime m_created;
103 bool m_createdHasBeenSet = false;
104
105 Aws::Utils::DateTime m_updated;
106 bool m_updatedHasBeenSet = false;
107
108 Aws::Utils::DateTime m_pollingDisabledAt;
109 bool m_pollingDisabledAtHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CodePipeline
114} // namespace Aws
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineMetadata & WithUpdated(const Aws::Utils::DateTime &value)
PipelineMetadata & WithPollingDisabledAt(Aws::Utils::DateTime &&value)
PipelineMetadata & WithPollingDisabledAt(const Aws::Utils::DateTime &value)
AWS_CODEPIPELINE_API PipelineMetadata(Aws::Utils::Json::JsonView jsonValue)
PipelineMetadata & WithPipelineArn(const Aws::String &value)
void SetPipelineArn(const Aws::String &value)
AWS_CODEPIPELINE_API PipelineMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetPollingDisabledAt() const
void SetPollingDisabledAt(Aws::Utils::DateTime &&value)
const Aws::String & GetPipelineArn() const
PipelineMetadata & WithUpdated(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetUpdated() const
PipelineMetadata & WithCreated(const Aws::Utils::DateTime &value)
void SetPollingDisabledAt(const Aws::Utils::DateTime &value)
void SetUpdated(Aws::Utils::DateTime &&value)
void SetUpdated(const Aws::Utils::DateTime &value)
void SetCreated(Aws::Utils::DateTime &&value)
PipelineMetadata & WithCreated(Aws::Utils::DateTime &&value)
void SetCreated(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreated() const
PipelineMetadata & WithPipelineArn(const char *value)
PipelineMetadata & WithPipelineArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue