7#include <aws/crt/cbor/Cbor.h>
8#include <aws/snowball/Snowball_EXPORTS.h>
9#include <aws/snowball/model/ServiceName.h>
10#include <aws/snowball/model/ServiceVersion.h>
32 AWS_SNOWBALL_API
DependentService(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_SNOWBALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_serviceNameHasBeenSet =
true;
44 m_serviceName = value;
58 template <
typename ServiceVersionT = ServiceVersion>
60 m_serviceVersionHasBeenSet =
true;
61 m_serviceVersion = std::forward<ServiceVersionT>(value);
63 template <
typename ServiceVersionT = ServiceVersion>
72 ServiceVersion m_serviceVersion;
73 bool m_serviceNameHasBeenSet =
false;
74 bool m_serviceVersionHasBeenSet =
false;
void SetServiceName(ServiceName value)
bool ServiceVersionHasBeenSet() const
ServiceName GetServiceName() const
AWS_SNOWBALL_API DependentService(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DependentService & WithServiceVersion(ServiceVersionT &&value)
const ServiceVersion & GetServiceVersion() const
AWS_SNOWBALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
DependentService & WithServiceName(ServiceName value)
AWS_SNOWBALL_API DependentService & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ServiceNameHasBeenSet() const
void SetServiceVersion(ServiceVersionT &&value)
AWS_SNOWBALL_API DependentService()=default