/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The name and version of the service dependant on the requested
* service.See Also:
AWS
* API Reference
The name of the dependent service.
*/ inline const ServiceName& GetServiceName() const{ return m_serviceName; } /** *The name of the dependent service.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the dependent service.
*/ inline void SetServiceName(const ServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the dependent service.
*/ inline void SetServiceName(ServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the dependent service.
*/ inline DependentService& WithServiceName(const ServiceName& value) { SetServiceName(value); return *this;} /** *The name of the dependent service.
*/ inline DependentService& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;} /** *The version of the dependent service.
*/ inline const ServiceVersion& GetServiceVersion() const{ return m_serviceVersion; } /** *The version of the dependent service.
*/ inline bool ServiceVersionHasBeenSet() const { return m_serviceVersionHasBeenSet; } /** *The version of the dependent service.
*/ inline void SetServiceVersion(const ServiceVersion& value) { m_serviceVersionHasBeenSet = true; m_serviceVersion = value; } /** *The version of the dependent service.
*/ inline void SetServiceVersion(ServiceVersion&& value) { m_serviceVersionHasBeenSet = true; m_serviceVersion = std::move(value); } /** *The version of the dependent service.
*/ inline DependentService& WithServiceVersion(const ServiceVersion& value) { SetServiceVersion(value); return *this;} /** *The version of the dependent service.
*/ inline DependentService& WithServiceVersion(ServiceVersion&& value) { SetServiceVersion(std::move(value)); return *this;} private: ServiceName m_serviceName; bool m_serviceNameHasBeenSet = false; ServiceVersion m_serviceVersion; bool m_serviceVersionHasBeenSet = false; }; } // namespace Model } // namespace Snowball } // namespace Aws