AWS SDK for C++  1.9.15
AWS SDK for C++
BatchPutAssetPropertyValueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace IoTSiteWise
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "BatchPutAssetPropertyValue"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
40  inline const Aws::Vector<PutAssetPropertyValueEntry>& GetEntries() const{ return m_entries; }
41 
46  inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
47 
52  inline void SetEntries(const Aws::Vector<PutAssetPropertyValueEntry>& value) { m_entriesHasBeenSet = true; m_entries = value; }
53 
58  inline void SetEntries(Aws::Vector<PutAssetPropertyValueEntry>&& value) { m_entriesHasBeenSet = true; m_entries = std::move(value); }
59 
64  inline BatchPutAssetPropertyValueRequest& WithEntries(const Aws::Vector<PutAssetPropertyValueEntry>& value) { SetEntries(value); return *this;}
65 
70  inline BatchPutAssetPropertyValueRequest& WithEntries(Aws::Vector<PutAssetPropertyValueEntry>&& value) { SetEntries(std::move(value)); return *this;}
71 
76  inline BatchPutAssetPropertyValueRequest& AddEntries(const PutAssetPropertyValueEntry& value) { m_entriesHasBeenSet = true; m_entries.push_back(value); return *this; }
77 
82  inline BatchPutAssetPropertyValueRequest& AddEntries(PutAssetPropertyValueEntry&& value) { m_entriesHasBeenSet = true; m_entries.push_back(std::move(value)); return *this; }
83 
84  private:
85 
87  bool m_entriesHasBeenSet;
88  };
89 
90 } // namespace Model
91 } // namespace IoTSiteWise
92 } // namespace Aws
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest
Definition: BatchPutAssetPropertyValueRequest.h:23
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::WithEntries
BatchPutAssetPropertyValueRequest & WithEntries(const Aws::Vector< PutAssetPropertyValueEntry > &value)
Definition: BatchPutAssetPropertyValueRequest.h:64
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchPutAssetPropertyValueRequest.h:31
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::WithEntries
BatchPutAssetPropertyValueRequest & WithEntries(Aws::Vector< PutAssetPropertyValueEntry > &&value)
Definition: BatchPutAssetPropertyValueRequest.h:70
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::SetEntries
void SetEntries(const Aws::Vector< PutAssetPropertyValueEntry > &value)
Definition: BatchPutAssetPropertyValueRequest.h:52
Aws::IoTSiteWise::Model::PutAssetPropertyValueEntry
Definition: PutAssetPropertyValueEntry.h:37
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::AddEntries
BatchPutAssetPropertyValueRequest & AddEntries(const PutAssetPropertyValueEntry &value)
Definition: BatchPutAssetPropertyValueRequest.h:76
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::AddEntries
BatchPutAssetPropertyValueRequest & AddEntries(PutAssetPropertyValueEntry &&value)
Definition: BatchPutAssetPropertyValueRequest.h:82
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::GetEntries
const Aws::Vector< PutAssetPropertyValueEntry > & GetEntries() const
Definition: BatchPutAssetPropertyValueRequest.h:40
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::BatchPutAssetPropertyValueRequest
BatchPutAssetPropertyValueRequest()
PutAssetPropertyValueEntry.h
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::SetEntries
void SetEntries(Aws::Vector< PutAssetPropertyValueEntry > &&value)
Definition: BatchPutAssetPropertyValueRequest.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::BatchPutAssetPropertyValueRequest::EntriesHasBeenSet
bool EntriesHasBeenSet() const
Definition: BatchPutAssetPropertyValueRequest.h:46