AWS SDK for C++

AWS SDK for C++ Version 1.11.935

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#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace CodePipeline {
21namespace Model {
22
34 public:
35 AWS_CODEPIPELINE_API PipelineTriggerDeclaration() = default;
36 AWS_CODEPIPELINE_API PipelineTriggerDeclaration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_CODEPIPELINE_API PipelineTriggerDeclaration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
38 AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) 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 }
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
PipelineTriggerDeclaration & WithProviderType(PipelineTriggerProviderType value)
AWS_CODEPIPELINE_API PipelineTriggerDeclaration()=default
PipelineTriggerDeclaration & WithGitConfiguration(GitConfigurationT &&value)
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_CODEPIPELINE_API PipelineTriggerDeclaration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEPIPELINE_API PipelineTriggerDeclaration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)