AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SourceRevisionOverride.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codepipeline/model/SourceRevisionType.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
39 {
40 public:
41 AWS_CODEPIPELINE_API SourceRevisionOverride() = default;
42 AWS_CODEPIPELINE_API SourceRevisionOverride(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetActionName() const { return m_actionName; }
52 inline bool ActionNameHasBeenSet() const { return m_actionNameHasBeenSet; }
53 template<typename ActionNameT = Aws::String>
54 void SetActionName(ActionNameT&& value) { m_actionNameHasBeenSet = true; m_actionName = std::forward<ActionNameT>(value); }
55 template<typename ActionNameT = Aws::String>
56 SourceRevisionOverride& WithActionName(ActionNameT&& value) { SetActionName(std::forward<ActionNameT>(value)); return *this;}
58
60
64 inline SourceRevisionType GetRevisionType() const { return m_revisionType; }
65 inline bool RevisionTypeHasBeenSet() const { return m_revisionTypeHasBeenSet; }
66 inline void SetRevisionType(SourceRevisionType value) { m_revisionTypeHasBeenSet = true; m_revisionType = value; }
69
71
75 inline const Aws::String& GetRevisionValue() const { return m_revisionValue; }
76 inline bool RevisionValueHasBeenSet() const { return m_revisionValueHasBeenSet; }
77 template<typename RevisionValueT = Aws::String>
78 void SetRevisionValue(RevisionValueT&& value) { m_revisionValueHasBeenSet = true; m_revisionValue = std::forward<RevisionValueT>(value); }
79 template<typename RevisionValueT = Aws::String>
80 SourceRevisionOverride& WithRevisionValue(RevisionValueT&& value) { SetRevisionValue(std::forward<RevisionValueT>(value)); return *this;}
82 private:
83
84 Aws::String m_actionName;
85 bool m_actionNameHasBeenSet = false;
86
88 bool m_revisionTypeHasBeenSet = false;
89
90 Aws::String m_revisionValue;
91 bool m_revisionValueHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace CodePipeline
96} // namespace Aws
SourceRevisionOverride & WithRevisionValue(RevisionValueT &&value)
SourceRevisionOverride & WithActionName(ActionNameT &&value)
SourceRevisionOverride & WithRevisionType(SourceRevisionType value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API SourceRevisionOverride()=default
AWS_CODEPIPELINE_API SourceRevisionOverride(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API SourceRevisionOverride & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue