AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceRevision.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodePipeline
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEPIPELINE_API SourceRevision();
36 AWS_CODEPIPELINE_API SourceRevision(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CODEPIPELINE_API SourceRevision& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetActionName() const{ return m_actionName; }
47 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
48 inline void SetActionName(const Aws::String& value) { m_actionNameHasBeenSet = true; m_actionName = value; }
49 inline void SetActionName(Aws::String&& value) { m_actionNameHasBeenSet = true; m_actionName = std::move(value); }
50 inline void SetActionName(const char* value) { m_actionNameHasBeenSet = true; m_actionName.assign(value); }
51 inline SourceRevision& WithActionName(const Aws::String& value) { SetActionName(value); return *this;}
52 inline SourceRevision& WithActionName(Aws::String&& value) { SetActionName(std::move(value)); return *this;}
53 inline SourceRevision& WithActionName(const char* value) { SetActionName(value); return *this;}
55
57
61 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
62 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
63 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
64 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
65 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
66 inline SourceRevision& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
67 inline SourceRevision& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
68 inline SourceRevision& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
70
72
79 inline const Aws::String& GetRevisionSummary() const{ return m_revisionSummary; }
80 inline bool RevisionSummaryHasBeenSet() const { return m_revisionSummaryHasBeenSet; }
81 inline void SetRevisionSummary(const Aws::String& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = value; }
82 inline void SetRevisionSummary(Aws::String&& value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary = std::move(value); }
83 inline void SetRevisionSummary(const char* value) { m_revisionSummaryHasBeenSet = true; m_revisionSummary.assign(value); }
84 inline SourceRevision& WithRevisionSummary(const Aws::String& value) { SetRevisionSummary(value); return *this;}
85 inline SourceRevision& WithRevisionSummary(Aws::String&& value) { SetRevisionSummary(std::move(value)); return *this;}
86 inline SourceRevision& WithRevisionSummary(const char* value) { SetRevisionSummary(value); return *this;}
88
90
94 inline const Aws::String& GetRevisionUrl() const{ return m_revisionUrl; }
95 inline bool RevisionUrlHasBeenSet() const { return m_revisionUrlHasBeenSet; }
96 inline void SetRevisionUrl(const Aws::String& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = value; }
97 inline void SetRevisionUrl(Aws::String&& value) { m_revisionUrlHasBeenSet = true; m_revisionUrl = std::move(value); }
98 inline void SetRevisionUrl(const char* value) { m_revisionUrlHasBeenSet = true; m_revisionUrl.assign(value); }
99 inline SourceRevision& WithRevisionUrl(const Aws::String& value) { SetRevisionUrl(value); return *this;}
100 inline SourceRevision& WithRevisionUrl(Aws::String&& value) { SetRevisionUrl(std::move(value)); return *this;}
101 inline SourceRevision& WithRevisionUrl(const char* value) { SetRevisionUrl(value); return *this;}
103 private:
104
105 Aws::String m_actionName;
106 bool m_actionNameHasBeenSet = false;
107
108 Aws::String m_revisionId;
109 bool m_revisionIdHasBeenSet = false;
110
111 Aws::String m_revisionSummary;
112 bool m_revisionSummaryHasBeenSet = false;
113
114 Aws::String m_revisionUrl;
115 bool m_revisionUrlHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace CodePipeline
120} // namespace Aws
SourceRevision & WithActionName(const Aws::String &value)
const Aws::String & GetRevisionId() const
SourceRevision & WithRevisionId(const Aws::String &value)
void SetRevisionSummary(Aws::String &&value)
void SetRevisionUrl(const Aws::String &value)
SourceRevision & WithRevisionId(Aws::String &&value)
SourceRevision & WithRevisionSummary(const Aws::String &value)
SourceRevision & WithActionName(const char *value)
SourceRevision & WithActionName(Aws::String &&value)
SourceRevision & WithRevisionUrl(const char *value)
void SetRevisionSummary(const char *value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
SourceRevision & WithRevisionSummary(Aws::String &&value)
const Aws::String & GetRevisionUrl() const
AWS_CODEPIPELINE_API SourceRevision(Aws::Utils::Json::JsonView jsonValue)
SourceRevision & WithRevisionUrl(Aws::String &&value)
SourceRevision & WithRevisionId(const char *value)
void SetActionName(const Aws::String &value)
SourceRevision & WithRevisionUrl(const Aws::String &value)
void SetRevisionSummary(const Aws::String &value)
const Aws::String & GetActionName() const
void SetRevisionId(Aws::String &&value)
void SetActionName(Aws::String &&value)
const Aws::String & GetRevisionSummary() const
SourceRevision & WithRevisionSummary(const char *value)
AWS_CODEPIPELINE_API SourceRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRevisionUrl(Aws::String &&value)
void SetRevisionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue