AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CurrentRevision.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
34 {
35 public:
36 AWS_CODEPIPELINE_API CurrentRevision() = default;
37 AWS_CODEPIPELINE_API CurrentRevision(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API CurrentRevision& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRevision() const { return m_revision; }
47 inline bool RevisionHasBeenSet() const { return m_revisionHasBeenSet; }
48 template<typename RevisionT = Aws::String>
49 void SetRevision(RevisionT&& value) { m_revisionHasBeenSet = true; m_revision = std::forward<RevisionT>(value); }
50 template<typename RevisionT = Aws::String>
51 CurrentRevision& WithRevision(RevisionT&& value) { SetRevision(std::forward<RevisionT>(value)); return *this;}
53
55
58 inline const Aws::String& GetChangeIdentifier() const { return m_changeIdentifier; }
59 inline bool ChangeIdentifierHasBeenSet() const { return m_changeIdentifierHasBeenSet; }
60 template<typename ChangeIdentifierT = Aws::String>
61 void SetChangeIdentifier(ChangeIdentifierT&& value) { m_changeIdentifierHasBeenSet = true; m_changeIdentifier = std::forward<ChangeIdentifierT>(value); }
62 template<typename ChangeIdentifierT = Aws::String>
63 CurrentRevision& WithChangeIdentifier(ChangeIdentifierT&& value) { SetChangeIdentifier(std::forward<ChangeIdentifierT>(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
72 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
73 template<typename CreatedT = Aws::Utils::DateTime>
74 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
75 template<typename CreatedT = Aws::Utils::DateTime>
76 CurrentRevision& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
78
80
83 inline const Aws::String& GetRevisionSummary() const { return m_revisionSummary; }
84 inline bool RevisionSummaryHasBeenSet() const { return m_revisionSummaryHasBeenSet; }
85 template<typename RevisionSummaryT = Aws::String>
86 void SetRevisionSummary(RevisionSummaryT&& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = std::forward<RevisionSummaryT>(value); }
87 template<typename RevisionSummaryT = Aws::String>
88 CurrentRevision& WithRevisionSummary(RevisionSummaryT&& value) { SetRevisionSummary(std::forward<RevisionSummaryT>(value)); return *this;}
90 private:
91
92 Aws::String m_revision;
93 bool m_revisionHasBeenSet = false;
94
95 Aws::String m_changeIdentifier;
96 bool m_changeIdentifierHasBeenSet = false;
97
98 Aws::Utils::DateTime m_created{};
99 bool m_createdHasBeenSet = false;
100
101 Aws::String m_revisionSummary;
102 bool m_revisionSummaryHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CodePipeline
107} // namespace Aws
const Aws::Utils::DateTime & GetCreated() const
CurrentRevision & WithChangeIdentifier(ChangeIdentifierT &&value)
const Aws::String & GetRevision() const
const Aws::String & GetChangeIdentifier() const
const Aws::String & GetRevisionSummary() const
void SetChangeIdentifier(ChangeIdentifierT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
CurrentRevision & WithRevision(RevisionT &&value)
void SetRevisionSummary(RevisionSummaryT &&value)
CurrentRevision & WithRevisionSummary(RevisionSummaryT &&value)
AWS_CODEPIPELINE_API CurrentRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API CurrentRevision(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API CurrentRevision()=default
CurrentRevision & WithCreated(CreatedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue