AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExecutionTrigger.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/TriggerType.h>
9#include <aws/core/utils/memory/stl/AWSString.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 ExecutionTrigger();
37 AWS_CODEPIPELINE_API ExecutionTrigger(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEPIPELINE_API ExecutionTrigger& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const TriggerType& GetTriggerType() const{ return m_triggerType; }
48 inline bool TriggerTypeHasBeenSet() const { return m_triggerTypeHasBeenSet; }
49 inline void SetTriggerType(const TriggerType& value) { m_triggerTypeHasBeenSet = true; m_triggerType = value; }
50 inline void SetTriggerType(TriggerType&& value) { m_triggerTypeHasBeenSet = true; m_triggerType = std::move(value); }
51 inline ExecutionTrigger& WithTriggerType(const TriggerType& value) { SetTriggerType(value); return *this;}
52 inline ExecutionTrigger& WithTriggerType(TriggerType&& value) { SetTriggerType(std::move(value)); return *this;}
54
56
61 inline const Aws::String& GetTriggerDetail() const{ return m_triggerDetail; }
62 inline bool TriggerDetailHasBeenSet() const { return m_triggerDetailHasBeenSet; }
63 inline void SetTriggerDetail(const Aws::String& value) { m_triggerDetailHasBeenSet = true; m_triggerDetail = value; }
64 inline void SetTriggerDetail(Aws::String&& value) { m_triggerDetailHasBeenSet = true; m_triggerDetail = std::move(value); }
65 inline void SetTriggerDetail(const char* value) { m_triggerDetailHasBeenSet = true; m_triggerDetail.assign(value); }
66 inline ExecutionTrigger& WithTriggerDetail(const Aws::String& value) { SetTriggerDetail(value); return *this;}
67 inline ExecutionTrigger& WithTriggerDetail(Aws::String&& value) { SetTriggerDetail(std::move(value)); return *this;}
68 inline ExecutionTrigger& WithTriggerDetail(const char* value) { SetTriggerDetail(value); return *this;}
70 private:
71
72 TriggerType m_triggerType;
73 bool m_triggerTypeHasBeenSet = false;
74
75 Aws::String m_triggerDetail;
76 bool m_triggerDetailHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CodePipeline
81} // namespace Aws
ExecutionTrigger & WithTriggerType(const TriggerType &value)
void SetTriggerType(const TriggerType &value)
const TriggerType & GetTriggerType() const
const Aws::String & GetTriggerDetail() const
ExecutionTrigger & WithTriggerDetail(Aws::String &&value)
ExecutionTrigger & WithTriggerType(TriggerType &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
ExecutionTrigger & WithTriggerDetail(const Aws::String &value)
void SetTriggerDetail(const Aws::String &value)
AWS_CODEPIPELINE_API ExecutionTrigger(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEPIPELINE_API ExecutionTrigger & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionTrigger & WithTriggerDetail(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue