7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/ResourceType.h>
21namespace LicenseManager {
42 template <
typename ResourceIdT = Aws::String>
44 m_resourceIdHasBeenSet =
true;
45 m_resourceId = std::forward<ResourceIdT>(value);
47 template <
typename ResourceIdT = Aws::String>
61 m_resourceTypeHasBeenSet =
true;
62 m_resourceType = value;
76 template <
typename ResourceArnT = Aws::String>
78 m_resourceArnHasBeenSet =
true;
79 m_resourceArn = std::forward<ResourceArnT>(value);
81 template <
typename ResourceArnT = Aws::String>
94 template <
typename PlatformT = Aws::String>
96 m_platformHasBeenSet =
true;
97 m_platform = std::forward<PlatformT>(value);
99 template <
typename PlatformT = Aws::String>
112 template <
typename PlatformVersionT = Aws::String>
114 m_platformVersionHasBeenSet =
true;
115 m_platformVersion = std::forward<PlatformVersionT>(value);
117 template <
typename PlatformVersionT = Aws::String>
130 template <
typename ResourceOwningAccountIdT = Aws::String>
132 m_resourceOwningAccountIdHasBeenSet =
true;
133 m_resourceOwningAccountId = std::forward<ResourceOwningAccountIdT>(value);
135 template <
typename ResourceOwningAccountIdT = Aws::String>
148 template <
typename MarketplaceProductCodesT = Aws::Vector<Aws::String>>
150 m_marketplaceProductCodesHasBeenSet =
true;
151 m_marketplaceProductCodes = std::forward<MarketplaceProductCodesT>(value);
153 template <
typename MarketplaceProductCodesT = Aws::Vector<Aws::String>>
158 template <
typename MarketplaceProductCodesT = Aws::String>
160 m_marketplaceProductCodesHasBeenSet =
true;
161 m_marketplaceProductCodes.emplace_back(std::forward<MarketplaceProductCodesT>(value));
173 template <
typename UsageOperationT = Aws::String>
175 m_usageOperationHasBeenSet =
true;
176 m_usageOperation = std::forward<UsageOperationT>(value);
178 template <
typename UsageOperationT = Aws::String>
191 template <
typename AmiIdT = Aws::String>
193 m_amiIdHasBeenSet =
true;
194 m_amiId = std::forward<AmiIdT>(value);
196 template <
typename AmiIdT = Aws::String>
198 SetAmiId(std::forward<AmiIdT>(value));
209 template <
typename HostIdT = Aws::String>
211 m_hostIdHasBeenSet =
true;
212 m_hostId = std::forward<HostIdT>(value);
214 template <
typename HostIdT = Aws::String>
227 template <
typename RegionT = Aws::String>
229 m_regionHasBeenSet =
true;
230 m_region = std::forward<RegionT>(value);
232 template <
typename RegionT = Aws::String>
245 template <
typename InstanceTypeT = Aws::String>
247 m_instanceTypeHasBeenSet =
true;
248 m_instanceType = std::forward<InstanceTypeT>(value);
250 template <
typename InstanceTypeT = Aws::String>
280 bool m_resourceIdHasBeenSet =
false;
281 bool m_resourceTypeHasBeenSet =
false;
282 bool m_resourceArnHasBeenSet =
false;
283 bool m_platformHasBeenSet =
false;
284 bool m_platformVersionHasBeenSet =
false;
285 bool m_resourceOwningAccountIdHasBeenSet =
false;
286 bool m_marketplaceProductCodesHasBeenSet =
false;
287 bool m_usageOperationHasBeenSet =
false;
288 bool m_amiIdHasBeenSet =
false;
289 bool m_hostIdHasBeenSet =
false;
290 bool m_regionHasBeenSet =
false;
291 bool m_instanceTypeHasBeenSet =
false;
bool ResourceIdHasBeenSet() const
void SetPlatformVersion(PlatformVersionT &&value)
const Aws::String & GetAmiId() const
void SetRegion(RegionT &&value)
const Aws::String & GetResourceOwningAccountId() const
ResourceInventory & WithResourceType(ResourceType value)
ResourceInventory & WithRegion(RegionT &&value)
void SetMarketplaceProductCodes(MarketplaceProductCodesT &&value)
ResourceInventory & WithMarketplaceProductCodes(MarketplaceProductCodesT &&value)
bool ResourceOwningAccountIdHasBeenSet() const
void SetPlatform(PlatformT &&value)
const Aws::String & GetResourceArn() const
ResourceInventory & WithResourceOwningAccountId(ResourceOwningAccountIdT &&value)
const Aws::String & GetInstanceType() const
bool HostIdHasBeenSet() const
const Aws::String & GetPlatformVersion() const
ResourceInventory & WithPlatformVersion(PlatformVersionT &&value)
ResourceInventory & WithResourceArn(ResourceArnT &&value)
bool PlatformHasBeenSet() const
void SetHostId(HostIdT &&value)
void SetAmiId(AmiIdT &&value)
AWS_LICENSEMANAGER_API ResourceInventory(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API ResourceInventory & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceType(ResourceType value)
const Aws::String & GetPlatform() const
bool UsageOperationHasBeenSet() const
bool MarketplaceProductCodesHasBeenSet() const
const Aws::String & GetHostId() const
ResourceInventory & WithUsageOperation(UsageOperationT &&value)
const Aws::String & GetUsageOperation() const
ResourceInventory & WithInstanceType(InstanceTypeT &&value)
const Aws::String & GetRegion() const
bool PlatformVersionHasBeenSet() const
bool AmiIdHasBeenSet() const
bool InstanceTypeHasBeenSet() const
ResourceInventory & WithPlatform(PlatformT &&value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceInventory & WithAmiId(AmiIdT &&value)
ResourceInventory & WithResourceId(ResourceIdT &&value)
void SetInstanceType(InstanceTypeT &&value)
void SetUsageOperation(UsageOperationT &&value)
AWS_LICENSEMANAGER_API ResourceInventory()=default
void SetResourceOwningAccountId(ResourceOwningAccountIdT &&value)
const Aws::String & GetResourceId() const
const Aws::Vector< Aws::String > & GetMarketplaceProductCodes() const
bool RegionHasBeenSet() const
void SetResourceArn(ResourceArnT &&value)
ResourceInventory & AddMarketplaceProductCodes(MarketplaceProductCodesT &&value)
void SetResourceId(ResourceIdT &&value)
bool ResourceArnHasBeenSet() const
ResourceType GetResourceType() const
ResourceInventory & WithHostId(HostIdT &&value)
bool ResourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue