7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/outposts/model/AssetType.h>
10#include <aws/outposts/model/ComputeAttributes.h>
11#include <aws/outposts/model/AssetLocation.h>
50 template<
typename AssetIdT = Aws::String>
51 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet =
true; m_assetId = std::forward<AssetIdT>(value); }
52 template<
typename AssetIdT = Aws::String>
62 template<
typename RackIdT = Aws::String>
63 void SetRackId(RackIdT&& value) { m_rackIdHasBeenSet =
true; m_rackId = std::forward<RackIdT>(value); }
64 template<
typename RackIdT = Aws::String>
84 template<
typename ComputeAttributesT = ComputeAttributes>
85 void SetComputeAttributes(ComputeAttributesT&& value) { m_computeAttributesHasBeenSet =
true; m_computeAttributes = std::forward<ComputeAttributesT>(value); }
86 template<
typename ComputeAttributesT = ComputeAttributes>
96 template<
typename AssetLocationT = AssetLocation>
97 void SetAssetLocation(AssetLocationT&& value) { m_assetLocationHasBeenSet =
true; m_assetLocation = std::forward<AssetLocationT>(value); }
98 template<
typename AssetLocationT = AssetLocation>
104 bool m_assetIdHasBeenSet =
false;
107 bool m_rackIdHasBeenSet =
false;
110 bool m_assetTypeHasBeenSet =
false;
112 ComputeAttributes m_computeAttributes;
113 bool m_computeAttributesHasBeenSet =
false;
115 AssetLocation m_assetLocation;
116 bool m_assetLocationHasBeenSet =
false;
bool AssetTypeHasBeenSet() const
AWS_OUTPOSTS_API AssetInfo()=default
AssetInfo & WithComputeAttributes(ComputeAttributesT &&value)
const AssetLocation & GetAssetLocation() const
AssetInfo & WithAssetType(AssetType value)
void SetAssetLocation(AssetLocationT &&value)
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
AssetInfo & WithAssetLocation(AssetLocationT &&value)
bool RackIdHasBeenSet() const
const ComputeAttributes & GetComputeAttributes() const
bool AssetLocationHasBeenSet() const
void SetAssetId(AssetIdT &&value)
void SetComputeAttributes(ComputeAttributesT &&value)
AssetInfo & WithAssetId(AssetIdT &&value)
const Aws::String & GetAssetId() const
AssetType GetAssetType() const
AWS_OUTPOSTS_API AssetInfo(Aws::Utils::Json::JsonView jsonValue)
void SetAssetType(AssetType value)
AWS_OUTPOSTS_API AssetInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetInfo & WithRackId(RackIdT &&value)
bool ComputeAttributesHasBeenSet() const
const Aws::String & GetRackId() const
bool AssetIdHasBeenSet() const
void SetRackId(RackIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue