AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IotSiteWiseAction.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/PutAssetPropertyValueEntry.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API IotSiteWiseAction();
41
42
44
47 inline const Aws::Vector<PutAssetPropertyValueEntry>& GetPutAssetPropertyValueEntries() const{ return m_putAssetPropertyValueEntries; }
48 inline bool PutAssetPropertyValueEntriesHasBeenSet() const { return m_putAssetPropertyValueEntriesHasBeenSet; }
49 inline void SetPutAssetPropertyValueEntries(const Aws::Vector<PutAssetPropertyValueEntry>& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries = value; }
50 inline void SetPutAssetPropertyValueEntries(Aws::Vector<PutAssetPropertyValueEntry>&& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries = std::move(value); }
53 inline IotSiteWiseAction& AddPutAssetPropertyValueEntries(const PutAssetPropertyValueEntry& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries.push_back(value); return *this; }
54 inline IotSiteWiseAction& AddPutAssetPropertyValueEntries(PutAssetPropertyValueEntry&& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries.push_back(std::move(value)); return *this; }
56
58
64 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
65 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
66 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
67 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
68 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
69 inline IotSiteWiseAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
70 inline IotSiteWiseAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
71 inline IotSiteWiseAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
73 private:
74
75 Aws::Vector<PutAssetPropertyValueEntry> m_putAssetPropertyValueEntries;
76 bool m_putAssetPropertyValueEntriesHasBeenSet = false;
77
78 Aws::String m_roleArn;
79 bool m_roleArnHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace IoT
84} // namespace Aws
IotSiteWiseAction & AddPutAssetPropertyValueEntries(PutAssetPropertyValueEntry &&value)
IotSiteWiseAction & WithRoleArn(const char *value)
IotSiteWiseAction & WithRoleArn(Aws::String &&value)
IotSiteWiseAction & WithRoleArn(const Aws::String &value)
IotSiteWiseAction & AddPutAssetPropertyValueEntries(const PutAssetPropertyValueEntry &value)
void SetPutAssetPropertyValueEntries(Aws::Vector< PutAssetPropertyValueEntry > &&value)
const Aws::String & GetRoleArn() const
AWS_IOT_API IotSiteWiseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
void SetPutAssetPropertyValueEntries(const Aws::Vector< PutAssetPropertyValueEntry > &value)
const Aws::Vector< PutAssetPropertyValueEntry > & GetPutAssetPropertyValueEntries() const
AWS_IOT_API IotSiteWiseAction(Aws::Utils::Json::JsonView jsonValue)
IotSiteWiseAction & WithPutAssetPropertyValueEntries(Aws::Vector< PutAssetPropertyValueEntry > &&value)
IotSiteWiseAction & WithPutAssetPropertyValueEntries(const Aws::Vector< PutAssetPropertyValueEntry > &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue