/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object which details a discovered Linux subscription.See
* Also:
AWS
* API Reference
The total amount of running instances using this subscription.
*/ inline long long GetInstanceCount() const{ return m_instanceCount; } /** *The total amount of running instances using this subscription.
*/ inline bool InstanceCountHasBeenSet() const { return m_instanceCountHasBeenSet; } /** *The total amount of running instances using this subscription.
*/ inline void SetInstanceCount(long long value) { m_instanceCountHasBeenSet = true; m_instanceCount = value; } /** *The total amount of running instances using this subscription.
*/ inline Subscription& WithInstanceCount(long long value) { SetInstanceCount(value); return *this;} /** *The name of the subscription.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the subscription.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the subscription.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the subscription.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the subscription.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the subscription.
*/ inline Subscription& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the subscription.
*/ inline Subscription& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the subscription.
*/ inline Subscription& WithName(const char* value) { SetName(value); return *this;} /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline Subscription& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline Subscription& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of subscription. The type can be subscription-included with Amazon * EC2, Bring Your Own Subscription model (BYOS), or from the Amazon Web Services * Marketplace. Certain subscriptions may use licensing from the Amazon Web * Services Marketplace as well as OS licensing from Amazon EC2 or BYOS.
*/ inline Subscription& WithType(const char* value) { SetType(value); return *this;} private: long long m_instanceCount; bool m_instanceCountHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace LicenseManagerLinuxSubscriptions } // namespace Aws