AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
43 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline PipelineTriggerProviderType GetProviderType() const { return m_providerType; }
52 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
53 inline void SetProviderType(PipelineTriggerProviderType value) { m_providerTypeHasBeenSet = true; m_providerType = value; }
56
58
62 inline const GitConfiguration& GetGitConfiguration() const { return m_gitConfiguration; }
63 inline bool GitConfigurationHasBeenSet() const { return m_gitConfigurationHasBeenSet; }
64 template<typename GitConfigurationT = GitConfiguration>
65 void SetGitConfiguration(GitConfigurationT&& value) { m_gitConfigurationHasBeenSet = true; m_gitConfiguration = std::forward<GitConfigurationT>(value); }
66 template<typename GitConfigurationT = GitConfiguration>
67 PipelineTriggerDeclaration& WithGitConfiguration(GitConfigurationT&& value) { SetGitConfiguration(std::forward<GitConfigurationT>(value)); return *this;}
69 private:
70
72 bool m_providerTypeHasBeenSet = false;
73
74 GitConfiguration m_gitConfiguration;
75 bool m_gitConfigurationHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CodePipeline
80} // namespace Aws
AWS_CODEPIPELINE_API PipelineTriggerDeclaration(Aws::Utils::Json::JsonView jsonValue)
PipelineTriggerDeclaration & WithProviderType(PipelineTriggerProviderType value)
AWS_CODEPIPELINE_API PipelineTriggerDeclaration()=default
PipelineTriggerDeclaration & WithGitConfiguration(GitConfigurationT &&value)
AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEPIPELINE_API PipelineTriggerDeclaration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue