AWS SDK for C++  1.8.129
AWS SDK for C++
BatchDisassociateProjectAssetsResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTSiteWise
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<AssetErrorDetails>& GetErrors() const{ return m_errors; }
40 
44  inline void SetErrors(const Aws::Vector<AssetErrorDetails>& value) { m_errors = value; }
45 
49  inline void SetErrors(Aws::Vector<AssetErrorDetails>&& value) { m_errors = std::move(value); }
50 
54  inline BatchDisassociateProjectAssetsResult& WithErrors(const Aws::Vector<AssetErrorDetails>& value) { SetErrors(value); return *this;}
55 
59  inline BatchDisassociateProjectAssetsResult& WithErrors(Aws::Vector<AssetErrorDetails>&& value) { SetErrors(std::move(value)); return *this;}
60 
64  inline BatchDisassociateProjectAssetsResult& AddErrors(const AssetErrorDetails& value) { m_errors.push_back(value); return *this; }
65 
69  inline BatchDisassociateProjectAssetsResult& AddErrors(AssetErrorDetails&& value) { m_errors.push_back(std::move(value)); return *this; }
70 
71  private:
72 
74  };
75 
76 } // namespace Model
77 } // namespace IoTSiteWise
78 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::WithErrors
BatchDisassociateProjectAssetsResult & WithErrors(Aws::Vector< AssetErrorDetails > &&value)
Definition: BatchDisassociateProjectAssetsResult.h:59
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::BatchDisassociateProjectAssetsResult
BatchDisassociateProjectAssetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::BatchDisassociateProjectAssetsResult
BatchDisassociateProjectAssetsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::SetErrors
void SetErrors(Aws::Vector< AssetErrorDetails > &&value)
Definition: BatchDisassociateProjectAssetsResult.h:49
Aws::IoTSiteWise::Model::AssetErrorDetails
Definition: AssetErrorDetails.h:34
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::GetErrors
const Aws::Vector< AssetErrorDetails > & GetErrors() const
Definition: BatchDisassociateProjectAssetsResult.h:39
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::operator=
BatchDisassociateProjectAssetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::WithErrors
BatchDisassociateProjectAssetsResult & WithErrors(const Aws::Vector< AssetErrorDetails > &value)
Definition: BatchDisassociateProjectAssetsResult.h:54
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult
Definition: BatchDisassociateProjectAssetsResult.h:29
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::AddErrors
BatchDisassociateProjectAssetsResult & AddErrors(const AssetErrorDetails &value)
Definition: BatchDisassociateProjectAssetsResult.h:64
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::AddErrors
BatchDisassociateProjectAssetsResult & AddErrors(AssetErrorDetails &&value)
Definition: BatchDisassociateProjectAssetsResult.h:69
AssetErrorDetails.h
Aws::IoTSiteWise::Model::BatchDisassociateProjectAssetsResult::SetErrors
void SetErrors(const Aws::Vector< AssetErrorDetails > &value)
Definition: BatchDisassociateProjectAssetsResult.h:44