AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ArtifactRevision.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 ArtifactRevision();
36 AWS_CODEPIPELINE_API ArtifactRevision(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEPIPELINE_API ArtifactRevision& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline ArtifactRevision& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline ArtifactRevision& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline ArtifactRevision& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
61 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
62 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
63 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
64 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
65 inline ArtifactRevision& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
66 inline ArtifactRevision& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
67 inline ArtifactRevision& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
69
71
75 inline const Aws::String& GetRevisionChangeIdentifier() const{ return m_revisionChangeIdentifier; }
76 inline bool RevisionChangeIdentifierHasBeenSet() const { return m_revisionChangeIdentifierHasBeenSet; }
77 inline void SetRevisionChangeIdentifier(const Aws::String& value) { m_revisionChangeIdentifierHasBeenSet = true; m_revisionChangeIdentifier = value; }
78 inline void SetRevisionChangeIdentifier(Aws::String&& value) { m_revisionChangeIdentifierHasBeenSet = true; m_revisionChangeIdentifier = std::move(value); }
79 inline void SetRevisionChangeIdentifier(const char* value) { m_revisionChangeIdentifierHasBeenSet = true; m_revisionChangeIdentifier.assign(value); }
81 inline ArtifactRevision& WithRevisionChangeIdentifier(Aws::String&& value) { SetRevisionChangeIdentifier(std::move(value)); return *this;}
82 inline ArtifactRevision& WithRevisionChangeIdentifier(const char* value) { SetRevisionChangeIdentifier(value); return *this;}
84
86
93 inline const Aws::String& GetRevisionSummary() const{ return m_revisionSummary; }
94 inline bool RevisionSummaryHasBeenSet() const { return m_revisionSummaryHasBeenSet; }
95 inline void SetRevisionSummary(const Aws::String& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = value; }
96 inline void SetRevisionSummary(Aws::String&& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = std::move(value); }
97 inline void SetRevisionSummary(const char* value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary.assign(value); }
98 inline ArtifactRevision& WithRevisionSummary(const Aws::String& value) { SetRevisionSummary(value); return *this;}
99 inline ArtifactRevision& WithRevisionSummary(Aws::String&& value) { SetRevisionSummary(std::move(value)); return *this;}
100 inline ArtifactRevision& WithRevisionSummary(const char* value) { SetRevisionSummary(value); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
109 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
110 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
111 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
112 inline ArtifactRevision& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
113 inline ArtifactRevision& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
115
117
121 inline const Aws::String& GetRevisionUrl() const{ return m_revisionUrl; }
122 inline bool RevisionUrlHasBeenSet() const { return m_revisionUrlHasBeenSet; }
123 inline void SetRevisionUrl(const Aws::String& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = value; }
124 inline void SetRevisionUrl(Aws::String&& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = std::move(value); }
125 inline void SetRevisionUrl(const char* value) { m_revisionUrlHasBeenSet = true; m_revisionUrl.assign(value); }
126 inline ArtifactRevision& WithRevisionUrl(const Aws::String& value) { SetRevisionUrl(value); return *this;}
127 inline ArtifactRevision& WithRevisionUrl(Aws::String&& value) { SetRevisionUrl(std::move(value)); return *this;}
128 inline ArtifactRevision& WithRevisionUrl(const char* value) { SetRevisionUrl(value); return *this;}
130 private:
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_revisionId;
136 bool m_revisionIdHasBeenSet = false;
137
138 Aws::String m_revisionChangeIdentifier;
139 bool m_revisionChangeIdentifierHasBeenSet = false;
140
141 Aws::String m_revisionSummary;
142 bool m_revisionSummaryHasBeenSet = false;
143
144 Aws::Utils::DateTime m_created;
145 bool m_createdHasBeenSet = false;
146
147 Aws::String m_revisionUrl;
148 bool m_revisionUrlHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace CodePipeline
153} // namespace Aws
ArtifactRevision & WithRevisionChangeIdentifier(const char *value)
void SetRevisionSummary(const Aws::String &value)
AWS_CODEPIPELINE_API ArtifactRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
ArtifactRevision & WithRevisionChangeIdentifier(Aws::String &&value)
ArtifactRevision & WithRevisionSummary(const Aws::String &value)
void SetRevisionChangeIdentifier(const char *value)
void SetRevisionChangeIdentifier(const Aws::String &value)
AWS_CODEPIPELINE_API ArtifactRevision(Aws::Utils::Json::JsonView jsonValue)
ArtifactRevision & WithCreated(Aws::Utils::DateTime &&value)
ArtifactRevision & WithRevisionId(const char *value)
ArtifactRevision & WithRevisionUrl(Aws::String &&value)
ArtifactRevision & WithRevisionChangeIdentifier(const Aws::String &value)
ArtifactRevision & WithCreated(const Aws::Utils::DateTime &value)
void SetRevisionUrl(const Aws::String &value)
ArtifactRevision & WithName(const char *value)
ArtifactRevision & WithRevisionId(const Aws::String &value)
ArtifactRevision & WithRevisionUrl(const Aws::String &value)
ArtifactRevision & WithRevisionId(Aws::String &&value)
ArtifactRevision & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreated() const
void SetRevisionId(const Aws::String &value)
void SetCreated(const Aws::Utils::DateTime &value)
ArtifactRevision & WithRevisionSummary(Aws::String &&value)
void SetRevisionChangeIdentifier(Aws::String &&value)
ArtifactRevision & WithRevisionSummary(const char *value)
const Aws::String & GetRevisionSummary() const
const Aws::String & GetRevisionId() const
void SetName(const Aws::String &value)
void SetCreated(Aws::Utils::DateTime &&value)
ArtifactRevision & WithRevisionUrl(const char *value)
const Aws::String & GetRevisionChangeIdentifier() const
ArtifactRevision & WithName(const Aws::String &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue