7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/EnvironmentVariableType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
34 AWS_CODEBUILD_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename NameT = Aws::String>
44 m_nameHasBeenSet =
true;
45 m_name = std::forward<NameT>(value);
47 template <
typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
66 template <
typename ValueT = Aws::String>
68 m_valueHasBeenSet =
true;
69 m_value = std::forward<ValueT>(value);
71 template <
typename ValueT = Aws::String>
73 SetValue(std::forward<ValueT>(value));
100 m_typeHasBeenSet =
true;
114 bool m_nameHasBeenSet =
false;
115 bool m_valueHasBeenSet =
false;
116 bool m_typeHasBeenSet =
false;
const Aws::String & GetValue() const
EnvironmentVariable & WithValue(ValueT &&value)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_CODEBUILD_API EnvironmentVariable(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ValueHasBeenSet() const
AWS_CODEBUILD_API EnvironmentVariable & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
EnvironmentVariable & WithType(EnvironmentVariableType value)
void SetValue(ValueT &&value)
EnvironmentVariable & WithName(NameT &&value)
void SetName(NameT &&value)
AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetType(EnvironmentVariableType value)
EnvironmentVariableType GetType() const
bool TypeHasBeenSet() const
AWS_CODEBUILD_API EnvironmentVariable()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String