/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a service.See Also:
AWS
* API Reference
The service identifier.
*/ inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } /** *The service identifier.
*/ inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } /** *The service identifier.
*/ inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } /** *The service identifier.
*/ inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } /** *The service identifier.
*/ inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } /** *The service identifier.
*/ inline ServiceInfo& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} /** *The service identifier.
*/ inline ServiceInfo& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} /** *The service identifier.
*/ inline ServiceInfo& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} /** *The service name.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The service name.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The service name.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The service name.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The service name.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The service name.
*/ inline ServiceInfo& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The service name.
*/ inline ServiceInfo& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The service name.
*/ inline ServiceInfo& WithServiceName(const char* value) { SetServiceName(value); return *this;} private: Aws::String m_serviceCode; bool m_serviceCodeHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; }; } // namespace Model } // namespace ServiceQuotas } // namespace Aws