AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
PipelineTriggerDeclaration.h
1
6#pragma once
7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/GitConfiguration.h>
9#include <aws/codepipeline/model/PipelineTriggerProviderType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
34 public:
35 AWS_CODEPIPELINE_API PipelineTriggerDeclaration() = default;
38 AWS_CODEPIPELINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline PipelineTriggerProviderType GetProviderType() const { return m_providerType; }
46 inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; }
48 m_providerTypeHasBeenSet = true;
49 m_providerType = value;
50 }
52 SetProviderType(value);
53 return *this;
54 }
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) {
66 m_gitConfigurationHasBeenSet = true;
67 m_gitConfiguration = std::forward<GitConfigurationT>(value);
68 }
69 template <typename GitConfigurationT = GitConfiguration>
71 SetGitConfiguration(std::forward<GitConfigurationT>(value));
72 return *this;
73 }
75 private:
77
78 GitConfiguration m_gitConfiguration;
79 bool m_providerTypeHasBeenSet = false;
80 bool m_gitConfigurationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace CodePipeline
85} // 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