AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateAssetResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoTSiteWise
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const AssetStatus& GetAssetStatus() const{ return m_assetStatus; }
40 
45  inline void SetAssetStatus(const AssetStatus& value) { m_assetStatus = value; }
46 
51  inline void SetAssetStatus(AssetStatus&& value) { m_assetStatus = std::move(value); }
52 
57  inline UpdateAssetResult& WithAssetStatus(const AssetStatus& value) { SetAssetStatus(value); return *this;}
58 
63  inline UpdateAssetResult& WithAssetStatus(AssetStatus&& value) { SetAssetStatus(std::move(value)); return *this;}
64 
65  private:
66 
67  AssetStatus m_assetStatus;
68  };
69 
70 } // namespace Model
71 } // namespace IoTSiteWise
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::UpdateAssetResult::SetAssetStatus
void SetAssetStatus(AssetStatus &&value)
Definition: UpdateAssetResult.h:51
Aws::IoTSiteWise::Model::UpdateAssetResult::UpdateAssetResult
UpdateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
IoTSiteWise_EXPORTS.h
AssetStatus.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::UpdateAssetResult::GetAssetStatus
const AssetStatus & GetAssetStatus() const
Definition: UpdateAssetResult.h:39
Aws::IoTSiteWise::Model::UpdateAssetResult::UpdateAssetResult
UpdateAssetResult()
Aws::IoTSiteWise::Model::UpdateAssetResult::WithAssetStatus
UpdateAssetResult & WithAssetStatus(AssetStatus &&value)
Definition: UpdateAssetResult.h:63
Aws::IoTSiteWise::Model::UpdateAssetResult::WithAssetStatus
UpdateAssetResult & WithAssetStatus(const AssetStatus &value)
Definition: UpdateAssetResult.h:57
Aws::IoTSiteWise::Model::UpdateAssetResult::operator=
UpdateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::AssetStatus
Definition: AssetStatus.h:37
Aws::IoTSiteWise::Model::UpdateAssetResult::SetAssetStatus
void SetAssetStatus(const AssetStatus &value)
Definition: UpdateAssetResult.h:45
Aws::IoTSiteWise::Model::UpdateAssetResult
Definition: UpdateAssetResult.h:28