AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRevision(const Aws::String& value) { m_revisionHasBeenSet = true; m_revision = value; }
49 inline void SetRevision(Aws::String&& value) { m_revisionHasBeenSet = true; m_revision = std::move(value); }
50 inline void SetRevision(const char* value) { m_revisionHasBeenSet = true; m_revision.assign(value); }
51 inline CurrentRevision& WithRevision(const Aws::String& value) { SetRevision(value); return *this;}
52 inline CurrentRevision& WithRevision(Aws::String&& value) { SetRevision(std::move(value)); return *this;}
53 inline CurrentRevision& WithRevision(const char* value) { SetRevision(value); return *this;}
55
57
60 inline const Aws::String& GetChangeIdentifier() const{ return m_changeIdentifier; }
61 inline bool ChangeIdentifierHasBeenSet() const { return m_changeIdentifierHasBeenSet; }
62 inline void SetChangeIdentifier(const Aws::String& value) { m_changeIdentifierHasBeenSet = true; m_changeIdentifier = value; }
63 inline void SetChangeIdentifier(Aws::String&& value) { m_changeIdentifierHasBeenSet = true; m_changeIdentifier = std::move(value); }
64 inline void SetChangeIdentifier(const char* value) { m_changeIdentifierHasBeenSet = true; m_changeIdentifier.assign(value); }
65 inline CurrentRevision& WithChangeIdentifier(const Aws::String& value) { SetChangeIdentifier(value); return *this;}
66 inline CurrentRevision& WithChangeIdentifier(Aws::String&& value) { SetChangeIdentifier(std::move(value)); return *this;}
67 inline CurrentRevision& WithChangeIdentifier(const char* value) { SetChangeIdentifier(value); return *this;}
69
71
75 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
76 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
77 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
78 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
79 inline CurrentRevision& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
80 inline CurrentRevision& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetRevisionSummary() const{ return m_revisionSummary; }
88 inline bool RevisionSummaryHasBeenSet() const { return m_revisionSummaryHasBeenSet; }
89 inline void SetRevisionSummary(const Aws::String& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = value; }
90 inline void SetRevisionSummary(Aws::String&& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = std::move(value); }
91 inline void SetRevisionSummary(const char* value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary.assign(value); }
92 inline CurrentRevision& WithRevisionSummary(const Aws::String& value) { SetRevisionSummary(value); return *this;}
93 inline CurrentRevision& WithRevisionSummary(Aws::String&& value) { SetRevisionSummary(std::move(value)); return *this;}
94 inline CurrentRevision& WithRevisionSummary(const char* value) { SetRevisionSummary(value); return *this;}
96 private:
97
98 Aws::String m_revision;
99 bool m_revisionHasBeenSet = false;
100
101 Aws::String m_changeIdentifier;
102 bool m_changeIdentifierHasBeenSet = false;
103
104 Aws::Utils::DateTime m_created;
105 bool m_createdHasBeenSet = false;
106
107 Aws::String m_revisionSummary;
108 bool m_revisionSummaryHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace CodePipeline
113} // namespace Aws
const Aws::Utils::DateTime & GetCreated() const
void SetRevisionSummary(Aws::String &&value)
CurrentRevision & WithRevision(const char *value)
const Aws::String & GetRevision() const
CurrentRevision & WithRevision(const Aws::String &value)
const Aws::String & GetChangeIdentifier() const
CurrentRevision & WithRevisionSummary(const Aws::String &value)
CurrentRevision & WithRevisionSummary(Aws::String &&value)
void SetRevisionSummary(const Aws::String &value)
const Aws::String & GetRevisionSummary() const
CurrentRevision & WithCreated(const Aws::Utils::DateTime &value)
CurrentRevision & WithChangeIdentifier(const Aws::String &value)
CurrentRevision & WithCreated(Aws::Utils::DateTime &&value)
CurrentRevision & WithChangeIdentifier(Aws::String &&value)
CurrentRevision & WithRevisionSummary(const char *value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreated(const Aws::Utils::DateTime &value)
AWS_CODEPIPELINE_API CurrentRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetChangeIdentifier(Aws::String &&value)
AWS_CODEPIPELINE_API CurrentRevision(Aws::Utils::Json::JsonView jsonValue)
void SetCreated(Aws::Utils::DateTime &&value)
CurrentRevision & WithRevision(Aws::String &&value)
void SetChangeIdentifier(const Aws::String &value)
void SetRevision(const Aws::String &value)
CurrentRevision & WithChangeIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue