AWS SDK for C++  1.9.106
AWS SDK for C++
SourceRevision.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace CodePipeline
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline const Aws::String& GetActionName() const{ return m_actionName; }
46 
51  inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
52 
57  inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
58 
63  inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
64 
69  inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
70 
75  inline SourceRevision& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
76 
81  inline SourceRevision& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
82 
87  inline SourceRevision& WithActionName(const char* value) { SetActionName(value); return *this;}
88 
89 
94  inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
95 
100  inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
101 
106  inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
107 
112  inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
113 
118  inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
119 
124  inline SourceRevision& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
125 
130  inline SourceRevision& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
131 
136  inline SourceRevision& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
137 
138 
146  inline const Aws::String& GetRevisionSummary() const{ return m_revisionSummary; }
147 
155  inline bool RevisionSummaryHasBeenSet() const { return m_revisionSummaryHasBeenSet; }
156 
164  inline void SetRevisionSummary(const Aws::String& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = value; }
165 
173  inline void SetRevisionSummary(Aws::String&& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = std::move(value); }
174 
182  inline void SetRevisionSummary(const char* value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary.assign(value); }
183 
191  inline SourceRevision& WithRevisionSummary(const Aws::String& value) { SetRevisionSummary(value); return *this;}
192 
200  inline SourceRevision& WithRevisionSummary(Aws::String&& value) { SetRevisionSummary(std::move(value)); return *this;}
201 
209  inline SourceRevision& WithRevisionSummary(const char* value) { SetRevisionSummary(value); return *this;}
210 
211 
217  inline const Aws::String& GetRevisionUrl() const{ return m_revisionUrl; }
218 
224  inline bool RevisionUrlHasBeenSet() const { return m_revisionUrlHasBeenSet; }
225 
231  inline void SetRevisionUrl(const Aws::String& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = value; }
232 
238  inline void SetRevisionUrl(Aws::String&& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = std::move(value); }
239 
245  inline void SetRevisionUrl(const char* value) { m_revisionUrlHasBeenSet = true; m_revisionUrl.assign(value); }
246 
252  inline SourceRevision& WithRevisionUrl(const Aws::String& value) { SetRevisionUrl(value); return *this;}
253 
259  inline SourceRevision& WithRevisionUrl(Aws::String&& value) { SetRevisionUrl(std::move(value)); return *this;}
260 
266  inline SourceRevision& WithRevisionUrl(const char* value) { SetRevisionUrl(value); return *this;}
267 
268  private:
269 
270  Aws::String m_actionName;
271  bool m_actionNameHasBeenSet;
272 
273  Aws::String m_revisionId;
274  bool m_revisionIdHasBeenSet;
275 
276  Aws::String m_revisionSummary;
277  bool m_revisionSummaryHasBeenSet;
278 
279  Aws::String m_revisionUrl;
280  bool m_revisionUrlHasBeenSet;
281  };
282 
283 } // namespace Model
284 } // namespace CodePipeline
285 } // namespace Aws
Aws::CodePipeline::Model::SourceRevision::GetRevisionId
const Aws::String & GetRevisionId() const
Definition: SourceRevision.h:94
Aws::CodePipeline::Model::SourceRevision::WithRevisionId
SourceRevision & WithRevisionId(const Aws::String &value)
Definition: SourceRevision.h:124
Aws::CodePipeline::Model::SourceRevision::SetActionName
void SetActionName(Aws::String &&value)
Definition: SourceRevision.h:63
Aws::CodePipeline::Model::SourceRevision::WithRevisionSummary
SourceRevision & WithRevisionSummary(const char *value)
Definition: SourceRevision.h:209
Aws::CodePipeline::Model::SourceRevision::WithRevisionSummary
SourceRevision & WithRevisionSummary(const Aws::String &value)
Definition: SourceRevision.h:191
Aws::CodePipeline::Model::SourceRevision::WithRevisionUrl
SourceRevision & WithRevisionUrl(const Aws::String &value)
Definition: SourceRevision.h:252
Aws::CodePipeline::Model::SourceRevision::WithActionName
SourceRevision & WithActionName(const Aws::String &value)
Definition: SourceRevision.h:75
Aws::CodePipeline::Model::SourceRevision::SetActionName
void SetActionName(const char *value)
Definition: SourceRevision.h:69
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
Aws::CodePipeline::Model::SourceRevision::WithActionName
SourceRevision & WithActionName(const char *value)
Definition: SourceRevision.h:87
Aws::CodePipeline::Model::SourceRevision::WithRevisionSummary
SourceRevision & WithRevisionSummary(Aws::String &&value)
Definition: SourceRevision.h:200
Aws::CodePipeline::Model::SourceRevision::SourceRevision
SourceRevision(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::SourceRevision::SetActionName
void SetActionName(const Aws::String &value)
Definition: SourceRevision.h:57
Aws::CodePipeline::Model::SourceRevision::GetActionName
const Aws::String & GetActionName() const
Definition: SourceRevision.h:45
Aws::CodePipeline::Model::SourceRevision::SetRevisionUrl
void SetRevisionUrl(const char *value)
Definition: SourceRevision.h:245
Aws::CodePipeline::Model::SourceRevision::WithRevisionId
SourceRevision & WithRevisionId(Aws::String &&value)
Definition: SourceRevision.h:130
Aws::CodePipeline::Model::SourceRevision::SetRevisionId
void SetRevisionId(Aws::String &&value)
Definition: SourceRevision.h:112
Aws::CodePipeline::Model::SourceRevision::SetRevisionSummary
void SetRevisionSummary(const Aws::String &value)
Definition: SourceRevision.h:164
Aws::CodePipeline::Model::SourceRevision::operator=
SourceRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::CodePipeline::Model::SourceRevision::RevisionSummaryHasBeenSet
bool RevisionSummaryHasBeenSet() const
Definition: SourceRevision.h:155
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::SourceRevision::SetRevisionId
void SetRevisionId(const Aws::String &value)
Definition: SourceRevision.h:106
Aws::CodePipeline::Model::SourceRevision::SetRevisionUrl
void SetRevisionUrl(const Aws::String &value)
Definition: SourceRevision.h:231
Aws::CodePipeline::Model::SourceRevision::SetRevisionSummary
void SetRevisionSummary(Aws::String &&value)
Definition: SourceRevision.h:173
Aws::CodePipeline::Model::SourceRevision::WithRevisionId
SourceRevision & WithRevisionId(const char *value)
Definition: SourceRevision.h:136
Aws::CodePipeline::Model::SourceRevision::RevisionUrlHasBeenSet
bool RevisionUrlHasBeenSet() const
Definition: SourceRevision.h:224
Aws::CodePipeline::Model::SourceRevision::GetRevisionSummary
const Aws::String & GetRevisionSummary() const
Definition: SourceRevision.h:146
Aws::CodePipeline::Model::SourceRevision::SetRevisionSummary
void SetRevisionSummary(const char *value)
Definition: SourceRevision.h:182
Aws::CodePipeline::Model::SourceRevision::ActionNameHasBeenSet
bool ActionNameHasBeenSet() const
Definition: SourceRevision.h:51
Aws::CodePipeline::Model::SourceRevision::SourceRevision
SourceRevision()
Aws::CodePipeline::Model::SourceRevision
Definition: SourceRevision.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::CodePipeline::Model::SourceRevision::RevisionIdHasBeenSet
bool RevisionIdHasBeenSet() const
Definition: SourceRevision.h:100
Aws::CodePipeline::Model::SourceRevision::WithRevisionUrl
SourceRevision & WithRevisionUrl(Aws::String &&value)
Definition: SourceRevision.h:259
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::CodePipeline::Model::SourceRevision::GetRevisionUrl
const Aws::String & GetRevisionUrl() const
Definition: SourceRevision.h:217
Aws::CodePipeline::Model::SourceRevision::WithActionName
SourceRevision & WithActionName(Aws::String &&value)
Definition: SourceRevision.h:81
Aws::CodePipeline::Model::SourceRevision::SetRevisionUrl
void SetRevisionUrl(Aws::String &&value)
Definition: SourceRevision.h:238
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::SourceRevision::SetRevisionId
void SetRevisionId(const char *value)
Definition: SourceRevision.h:118
Aws::CodePipeline::Model::SourceRevision::WithRevisionUrl
SourceRevision & WithRevisionUrl(const char *value)
Definition: SourceRevision.h:266
Aws::CodePipeline::Model::SourceRevision::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const