7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CodePipeline {
31 AWS_CODEPIPELINE_API
PipelineVariable(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CODEPIPELINE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
59 template <
typename ValueT = Aws::String>
61 m_valueHasBeenSet =
true;
62 m_value = std::forward<ValueT>(value);
64 template <
typename ValueT = Aws::String>
66 SetValue(std::forward<ValueT>(value));
74 bool m_nameHasBeenSet =
false;
75 bool m_valueHasBeenSet =
false;
PipelineVariable & WithName(NameT &&value)
const Aws::String & GetName() const
void SetValue(ValueT &&value)
AWS_CODEPIPELINE_API PipelineVariable()=default
const Aws::String & GetValue() const
AWS_CODEPIPELINE_API PipelineVariable(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool ValueHasBeenSet() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
PipelineVariable & WithValue(ValueT &&value)
AWS_CODEPIPELINE_API PipelineVariable & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String