This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

136 lines
4.2 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/service-quotas/ServiceQuotas_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ServiceQuotas
{
namespace Model
{
/**
* <p>A structure that contains the <code>ServiceName</code> and
* <code>ServiceCode</code>. It does not include all details of the service quota.
* To get those values, use the <a>ListServiceQuotas</a> operation. </p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ServiceInfo">AWS
* API Reference</a></p>
*/
class AWS_SERVICEQUOTAS_API ServiceInfo
{
public:
ServiceInfo();
ServiceInfo(Aws::Utils::Json::JsonView jsonValue);
ServiceInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>Specifies the service that you want to use.</p>
*/
inline const Aws::String& GetServiceCode() const{ return m_serviceCode; }
/**
* <p>Specifies the service that you want to use.</p>
*/
inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; }
/**
* <p>Specifies the service that you want to use.</p>
*/
inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; }
/**
* <p>Specifies the service that you want to use.</p>
*/
inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); }
/**
* <p>Specifies the service that you want to use.</p>
*/
inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); }
/**
* <p>Specifies the service that you want to use.</p>
*/
inline ServiceInfo& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;}
/**
* <p>Specifies the service that you want to use.</p>
*/
inline ServiceInfo& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;}
/**
* <p>Specifies the service that you want to use.</p>
*/
inline ServiceInfo& WithServiceCode(const char* value) { SetServiceCode(value); return *this;}
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline const Aws::String& GetServiceName() const{ return m_serviceName; }
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; }
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; }
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); }
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); }
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline ServiceInfo& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;}
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline ServiceInfo& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;}
/**
* <p>The name of the AWS service specified in the increase request. </p>
*/
inline ServiceInfo& WithServiceName(const char* value) { SetServiceName(value); return *this;}
private:
Aws::String m_serviceCode;
bool m_serviceCodeHasBeenSet;
Aws::String m_serviceName;
bool m_serviceNameHasBeenSet;
};
} // namespace Model
} // namespace ServiceQuotas
} // namespace Aws