AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PipelineTriggerDeclaration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/PipelineTriggerProviderType.h>
9#include <aws/codepipeline/model/GitConfiguration.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
38 {
39 public:
40 AWS_CODEPIPELINE_API PipelineTriggerDeclaration();
43 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const PipelineTriggerProviderType& GetProviderType() const{ return m_providerType; }
52 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
53 inline void SetProviderType(const PipelineTriggerProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
54 inline void SetProviderType(PipelineTriggerProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); }
58
60
64 inline const GitConfiguration& GetGitConfiguration() const{ return m_gitConfiguration; }
65 inline bool GitConfigurationHasBeenSet() const { return m_gitConfigurationHasBeenSet; }
66 inline void SetGitConfiguration(const GitConfiguration& value) { m_gitConfigurationHasBeenSet = true; m_gitConfiguration = value; }
67 inline void SetGitConfiguration(GitConfiguration&& value) { m_gitConfigurationHasBeenSet = true; m_gitConfiguration = std::move(value); }
69 inline PipelineTriggerDeclaration& WithGitConfiguration(GitConfiguration&& value) { SetGitConfiguration(std::move(value)); return *this;}
71 private:
72
73 PipelineTriggerProviderType m_providerType;
74 bool m_providerTypeHasBeenSet = false;
75
76 GitConfiguration m_gitConfiguration;
77 bool m_gitConfigurationHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CodePipeline
82} // namespace Aws
void SetProviderType(const PipelineTriggerProviderType &value)
PipelineTriggerDeclaration & WithProviderType(PipelineTriggerProviderType &&value)
AWS_CODEPIPELINE_API PipelineTriggerDeclaration(Aws::Utils::Json::JsonView jsonValue)
PipelineTriggerDeclaration & WithGitConfiguration(const GitConfiguration &value)
void SetProviderType(PipelineTriggerProviderType &&value)
const PipelineTriggerProviderType & GetProviderType() const
PipelineTriggerDeclaration & WithProviderType(const PipelineTriggerProviderType &value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
PipelineTriggerDeclaration & WithGitConfiguration(GitConfiguration &&value)
AWS_CODEPIPELINE_API PipelineTriggerDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue