AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssetModelCompositeModelResult.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotsitewise/model/AssetModelStatus.h>
11#include <aws/iotsitewise/model/AssetModelCompositeModelPathSegment.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTSiteWise
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::String& GetAssetModelCompositeModelId() const{ return m_assetModelCompositeModelId; }
44 inline void SetAssetModelCompositeModelId(const Aws::String& value) { m_assetModelCompositeModelId = value; }
45 inline void SetAssetModelCompositeModelId(Aws::String&& value) { m_assetModelCompositeModelId = std::move(value); }
46 inline void SetAssetModelCompositeModelId(const char* value) { m_assetModelCompositeModelId.assign(value); }
51
53
56 inline const Aws::Vector<AssetModelCompositeModelPathSegment>& GetAssetModelCompositeModelPath() const{ return m_assetModelCompositeModelPath; }
57 inline void SetAssetModelCompositeModelPath(const Aws::Vector<AssetModelCompositeModelPathSegment>& value) { m_assetModelCompositeModelPath = value; }
58 inline void SetAssetModelCompositeModelPath(Aws::Vector<AssetModelCompositeModelPathSegment>&& value) { m_assetModelCompositeModelPath = std::move(value); }
61 inline CreateAssetModelCompositeModelResult& AddAssetModelCompositeModelPath(const AssetModelCompositeModelPathSegment& value) { m_assetModelCompositeModelPath.push_back(value); return *this; }
62 inline CreateAssetModelCompositeModelResult& AddAssetModelCompositeModelPath(AssetModelCompositeModelPathSegment&& value) { m_assetModelCompositeModelPath.push_back(std::move(value)); return *this; }
64
66
67 inline const AssetModelStatus& GetAssetModelStatus() const{ return m_assetModelStatus; }
68 inline void SetAssetModelStatus(const AssetModelStatus& value) { m_assetModelStatus = value; }
69 inline void SetAssetModelStatus(AssetModelStatus&& value) { m_assetModelStatus = std::move(value); }
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline CreateAssetModelCompositeModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline CreateAssetModelCompositeModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline CreateAssetModelCompositeModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84 private:
85
86 Aws::String m_assetModelCompositeModelId;
87
88 Aws::Vector<AssetModelCompositeModelPathSegment> m_assetModelCompositeModelPath;
89
90 AssetModelStatus m_assetModelStatus;
91
92 Aws::String m_requestId;
93 };
94
95} // namespace Model
96} // namespace IoTSiteWise
97} // namespace Aws
AWS_IOTSITEWISE_API CreateAssetModelCompositeModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAssetModelCompositeModelResult & WithAssetModelStatus(const AssetModelStatus &value)
CreateAssetModelCompositeModelResult & WithAssetModelCompositeModelPath(const Aws::Vector< AssetModelCompositeModelPathSegment > &value)
void SetAssetModelCompositeModelPath(const Aws::Vector< AssetModelCompositeModelPathSegment > &value)
CreateAssetModelCompositeModelResult & WithRequestId(Aws::String &&value)
CreateAssetModelCompositeModelResult & WithRequestId(const char *value)
CreateAssetModelCompositeModelResult & WithRequestId(const Aws::String &value)
const Aws::Vector< AssetModelCompositeModelPathSegment > & GetAssetModelCompositeModelPath() const
CreateAssetModelCompositeModelResult & WithAssetModelCompositeModelId(Aws::String &&value)
CreateAssetModelCompositeModelResult & AddAssetModelCompositeModelPath(const AssetModelCompositeModelPathSegment &value)
CreateAssetModelCompositeModelResult & AddAssetModelCompositeModelPath(AssetModelCompositeModelPathSegment &&value)
CreateAssetModelCompositeModelResult & WithAssetModelCompositeModelPath(Aws::Vector< AssetModelCompositeModelPathSegment > &&value)
CreateAssetModelCompositeModelResult & WithAssetModelStatus(AssetModelStatus &&value)
void SetAssetModelCompositeModelPath(Aws::Vector< AssetModelCompositeModelPathSegment > &&value)
CreateAssetModelCompositeModelResult & WithAssetModelCompositeModelId(const char *value)
CreateAssetModelCompositeModelResult & WithAssetModelCompositeModelId(const Aws::String &value)
AWS_IOTSITEWISE_API CreateAssetModelCompositeModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue