AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssetResult.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/AssetStatus.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 CreateAssetResult();
34
35
37
41 inline const Aws::String& GetAssetId() const{ return m_assetId; }
42 inline void SetAssetId(const Aws::String& value) { m_assetId = value; }
43 inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); }
44 inline void SetAssetId(const char* value) { m_assetId.assign(value); }
45 inline CreateAssetResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
46 inline CreateAssetResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
47 inline CreateAssetResult& WithAssetId(const char* value) { SetAssetId(value); return *this;}
49
51
58 inline const Aws::String& GetAssetArn() const{ return m_assetArn; }
59 inline void SetAssetArn(const Aws::String& value) { m_assetArn = value; }
60 inline void SetAssetArn(Aws::String&& value) { m_assetArn = std::move(value); }
61 inline void SetAssetArn(const char* value) { m_assetArn.assign(value); }
62 inline CreateAssetResult& WithAssetArn(const Aws::String& value) { SetAssetArn(value); return *this;}
63 inline CreateAssetResult& WithAssetArn(Aws::String&& value) { SetAssetArn(std::move(value)); return *this;}
64 inline CreateAssetResult& WithAssetArn(const char* value) { SetAssetArn(value); return *this;}
66
68
72 inline const AssetStatus& GetAssetStatus() const{ return m_assetStatus; }
73 inline void SetAssetStatus(const AssetStatus& value) { m_assetStatus = value; }
74 inline void SetAssetStatus(AssetStatus&& value) { m_assetStatus = std::move(value); }
75 inline CreateAssetResult& WithAssetStatus(const AssetStatus& value) { SetAssetStatus(value); return *this;}
76 inline CreateAssetResult& WithAssetStatus(AssetStatus&& value) { SetAssetStatus(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 CreateAssetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline CreateAssetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline CreateAssetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_assetId;
92
93 Aws::String m_assetArn;
94
95 AssetStatus m_assetStatus;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace IoTSiteWise
102} // namespace Aws
CreateAssetResult & WithAssetId(Aws::String &&value)
CreateAssetResult & WithRequestId(const Aws::String &value)
void SetAssetArn(const Aws::String &value)
CreateAssetResult & WithAssetArn(const Aws::String &value)
CreateAssetResult & WithAssetArn(const char *value)
CreateAssetResult & WithAssetArn(Aws::String &&value)
void SetAssetStatus(const AssetStatus &value)
CreateAssetResult & WithAssetStatus(const AssetStatus &value)
AWS_IOTSITEWISE_API CreateAssetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssetId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
CreateAssetResult & WithRequestId(const char *value)
CreateAssetResult & WithAssetId(const char *value)
AWS_IOTSITEWISE_API CreateAssetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetResult & WithAssetStatus(AssetStatus &&value)
CreateAssetResult & WithRequestId(Aws::String &&value)
CreateAssetResult & WithAssetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue