7#include <aws/license-manager-linux-subscriptions/LicenseManagerLinuxSubscriptions_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace LicenseManagerLinuxSubscriptions
36 AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API
Instance();
50 inline void SetAccountID(
const char* value) { m_accountIDHasBeenSet =
true; m_accountID.assign(value); }
64 inline void SetAmiId(
const char* value) { m_amiIdHasBeenSet =
true; m_amiId.assign(value); }
79 inline void SetDualSubscription(
const char* value) { m_dualSubscriptionHasBeenSet =
true; m_dualSubscription.assign(value); }
93 inline void SetInstanceID(
const char* value) { m_instanceIDHasBeenSet =
true; m_instanceID.assign(value); }
107 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
121 inline void SetLastUpdatedTime(
const char* value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime.assign(value); }
135 inline void SetOsVersion(
const char* value) { m_osVersionHasBeenSet =
true; m_osVersion.assign(value); }
155 inline Instance&
AddProductCode(
const char* value) { m_productCodeHasBeenSet =
true; m_productCode.push_back(value);
return *
this; }
166 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
196 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
210 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
257 inline void SetUsageOperation(
const char* value) { m_usageOperationHasBeenSet =
true; m_usageOperation.assign(value); }
265 bool m_accountIDHasBeenSet =
false;
268 bool m_amiIdHasBeenSet =
false;
271 bool m_dualSubscriptionHasBeenSet =
false;
274 bool m_instanceIDHasBeenSet =
false;
277 bool m_instanceTypeHasBeenSet =
false;
280 bool m_lastUpdatedTimeHasBeenSet =
false;
283 bool m_osVersionHasBeenSet =
false;
286 bool m_productCodeHasBeenSet =
false;
289 bool m_regionHasBeenSet =
false;
292 bool m_registeredWithSubscriptionProviderHasBeenSet =
false;
295 bool m_statusHasBeenSet =
false;
298 bool m_subscriptionNameHasBeenSet =
false;
301 bool m_subscriptionProviderCreateTimeHasBeenSet =
false;
304 bool m_subscriptionProviderUpdateTimeHasBeenSet =
false;
307 bool m_usageOperationHasBeenSet =
false;
void SetProductCode(Aws::Vector< Aws::String > &&value)
void SetSubscriptionProviderCreateTime(const char *value)
Instance & WithSubscriptionProviderUpdateTime(const char *value)
Instance & WithStatus(const Aws::String &value)
void SetRegion(const Aws::String &value)
Instance & WithRegisteredWithSubscriptionProvider(const Aws::String &value)
bool InstanceTypeHasBeenSet() const
void SetOsVersion(const Aws::String &value)
void SetSubscriptionProviderCreateTime(Aws::String &&value)
void SetInstanceID(Aws::String &&value)
bool OsVersionHasBeenSet() const
Instance & WithProductCode(Aws::Vector< Aws::String > &&value)
Instance & WithSubscriptionProviderCreateTime(const Aws::String &value)
Instance & WithAmiId(const Aws::String &value)
Instance & WithRegion(Aws::String &&value)
void SetUsageOperation(const Aws::String &value)
Instance & WithProductCode(const Aws::Vector< Aws::String > &value)
void SetSubscriptionName(const char *value)
void SetInstanceID(const char *value)
Instance & WithOsVersion(const char *value)
void SetOsVersion(Aws::String &&value)
bool SubscriptionNameHasBeenSet() const
void SetOsVersion(const char *value)
Instance & WithLastUpdatedTime(const char *value)
Instance & WithDualSubscription(Aws::String &&value)
Instance & WithSubscriptionProviderUpdateTime(Aws::String &&value)
bool RegisteredWithSubscriptionProviderHasBeenSet() const
Instance & WithUsageOperation(const Aws::String &value)
void SetRegion(Aws::String &&value)
Instance & WithDualSubscription(const char *value)
Instance & WithAccountID(const Aws::String &value)
const Aws::String & GetStatus() const
const Aws::String & GetSubscriptionName() const
void SetProductCode(const Aws::Vector< Aws::String > &value)
const Aws::String & GetRegisteredWithSubscriptionProvider() const
void SetInstanceType(const char *value)
void SetAmiId(const char *value)
Instance & WithInstanceID(Aws::String &&value)
bool AmiIdHasBeenSet() const
bool DualSubscriptionHasBeenSet() const
void SetSubscriptionName(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetRegisteredWithSubscriptionProvider(const char *value)
bool UsageOperationHasBeenSet() const
const Aws::String & GetSubscriptionProviderUpdateTime() const
const Aws::String & GetRegion() const
void SetDualSubscription(const char *value)
void SetUsageOperation(const char *value)
Instance & WithInstanceType(const Aws::String &value)
const Aws::String & GetAccountID() const
Instance & WithLastUpdatedTime(const Aws::String &value)
const Aws::String & GetInstanceID() const
Instance & WithInstanceID(const Aws::String &value)
const Aws::String & GetUsageOperation() const
Instance & WithSubscriptionName(Aws::String &&value)
Instance & AddProductCode(Aws::String &&value)
void SetSubscriptionProviderUpdateTime(Aws::String &&value)
Instance & WithUsageOperation(const char *value)
const Aws::Vector< Aws::String > & GetProductCode() const
Instance & AddProductCode(const Aws::String &value)
void SetSubscriptionProviderCreateTime(const Aws::String &value)
void SetSubscriptionProviderUpdateTime(const Aws::String &value)
Instance & WithOsVersion(Aws::String &&value)
Instance & WithStatus(Aws::String &&value)
bool AccountIDHasBeenSet() const
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Instance & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceType(Aws::String &&value)
void SetStatus(const char *value)
Instance & WithLastUpdatedTime(Aws::String &&value)
Instance & WithSubscriptionProviderCreateTime(Aws::String &&value)
void SetDualSubscription(const Aws::String &value)
void SetAccountID(const char *value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Instance()
Instance & WithRegion(const char *value)
bool SubscriptionProviderCreateTimeHasBeenSet() const
bool InstanceIDHasBeenSet() const
const Aws::String & GetSubscriptionProviderCreateTime() const
bool StatusHasBeenSet() const
bool RegionHasBeenSet() const
Instance & WithAmiId(Aws::String &&value)
void SetSubscriptionProviderUpdateTime(const char *value)
void SetLastUpdatedTime(const char *value)
const Aws::String & GetAmiId() const
Instance & WithUsageOperation(Aws::String &&value)
Instance & WithAccountID(Aws::String &&value)
void SetSubscriptionName(const Aws::String &value)
Instance & WithSubscriptionName(const char *value)
Instance & WithAmiId(const char *value)
void SetStatus(const Aws::String &value)
Instance & WithSubscriptionProviderUpdateTime(const Aws::String &value)
void SetRegion(const char *value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Instance(Aws::Utils::Json::JsonView jsonValue)
bool LastUpdatedTimeHasBeenSet() const
void SetLastUpdatedTime(Aws::String &&value)
Instance & WithRegisteredWithSubscriptionProvider(const char *value)
const Aws::String & GetDualSubscription() const
Instance & AddProductCode(const char *value)
Instance & WithInstanceID(const char *value)
void SetAmiId(const Aws::String &value)
Instance & WithDualSubscription(const Aws::String &value)
Instance & WithOsVersion(const Aws::String &value)
void SetAccountID(Aws::String &&value)
Instance & WithSubscriptionProviderCreateTime(const char *value)
Instance & WithRegisteredWithSubscriptionProvider(Aws::String &&value)
void SetLastUpdatedTime(const Aws::String &value)
bool SubscriptionProviderUpdateTimeHasBeenSet() const
const Aws::String & GetOsVersion() const
void SetRegisteredWithSubscriptionProvider(const Aws::String &value)
Instance & WithSubscriptionName(const Aws::String &value)
void SetDualSubscription(Aws::String &&value)
Instance & WithInstanceType(Aws::String &&value)
Instance & WithRegion(const Aws::String &value)
const Aws::String & GetLastUpdatedTime() const
void SetUsageOperation(Aws::String &&value)
const Aws::String & GetInstanceType() const
bool ProductCodeHasBeenSet() const
void SetInstanceType(const Aws::String &value)
void SetAmiId(Aws::String &&value)
Instance & WithInstanceType(const char *value)
void SetAccountID(const Aws::String &value)
void SetInstanceID(const Aws::String &value)
AWS_LICENSEMANAGERLINUXSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Instance & WithAccountID(const char *value)
void SetRegisteredWithSubscriptionProvider(Aws::String &&value)
Instance & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue