AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssetModelResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotsitewise/model/AssetModelStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoTSiteWise
25{
26namespace Model
27{
29 {
30 public:
31 AWS_IOTSITEWISE_API CreateAssetModelResult();
34
35
37
41 inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
42 inline void SetAssetModelId(const Aws::String& value) { m_assetModelId = value; }
43 inline void SetAssetModelId(Aws::String&& value) { m_assetModelId = std::move(value); }
44 inline void SetAssetModelId(const char* value) { m_assetModelId.assign(value); }
45 inline CreateAssetModelResult& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
46 inline CreateAssetModelResult& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
47 inline CreateAssetModelResult& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
49
51
58 inline const Aws::String& GetAssetModelArn() const{ return m_assetModelArn; }
59 inline void SetAssetModelArn(const Aws::String& value) { m_assetModelArn = value; }
60 inline void SetAssetModelArn(Aws::String&& value) { m_assetModelArn = std::move(value); }
61 inline void SetAssetModelArn(const char* value) { m_assetModelArn.assign(value); }
62 inline CreateAssetModelResult& WithAssetModelArn(const Aws::String& value) { SetAssetModelArn(value); return *this;}
63 inline CreateAssetModelResult& WithAssetModelArn(Aws::String&& value) { SetAssetModelArn(std::move(value)); return *this;}
64 inline CreateAssetModelResult& WithAssetModelArn(const char* value) { SetAssetModelArn(value); return *this;}
66
68
72 inline const AssetModelStatus& GetAssetModelStatus() const{ return m_assetModelStatus; }
73 inline void SetAssetModelStatus(const AssetModelStatus& value) { m_assetModelStatus = value; }
74 inline void SetAssetModelStatus(AssetModelStatus&& value) { m_assetModelStatus = std::move(value); }
76 inline CreateAssetModelResult& WithAssetModelStatus(AssetModelStatus&& value) { SetAssetModelStatus(std::move(value)); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline CreateAssetModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline CreateAssetModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline CreateAssetModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_assetModelId;
92
93 Aws::String m_assetModelArn;
94
95 AssetModelStatus m_assetModelStatus;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace IoTSiteWise
102} // namespace Aws
CreateAssetModelResult & WithRequestId(const Aws::String &value)
CreateAssetModelResult & WithRequestId(const char *value)
void SetAssetModelStatus(const AssetModelStatus &value)
CreateAssetModelResult & WithAssetModelStatus(const AssetModelStatus &value)
CreateAssetModelResult & WithAssetModelId(const Aws::String &value)
CreateAssetModelResult & WithAssetModelArn(Aws::String &&value)
CreateAssetModelResult & WithAssetModelArn(const Aws::String &value)
CreateAssetModelResult & WithRequestId(Aws::String &&value)
CreateAssetModelResult & WithAssetModelId(Aws::String &&value)
AWS_IOTSITEWISE_API CreateAssetModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetModelResult & WithAssetModelArn(const char *value)
CreateAssetModelResult & WithAssetModelId(const char *value)
AWS_IOTSITEWISE_API CreateAssetModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetModelResult & WithAssetModelStatus(AssetModelStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue