AWS SDK for C++  1.9.129
AWS SDK for C++
IotSiteWiseAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::Vector<PutAssetPropertyValueEntry>& GetPutAssetPropertyValueEntries() const{ return m_putAssetPropertyValueEntries; }
47 
51  inline bool PutAssetPropertyValueEntriesHasBeenSet() const { return m_putAssetPropertyValueEntriesHasBeenSet; }
52 
56  inline void SetPutAssetPropertyValueEntries(const Aws::Vector<PutAssetPropertyValueEntry>& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries = value; }
57 
61  inline void SetPutAssetPropertyValueEntries(Aws::Vector<PutAssetPropertyValueEntry>&& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries = std::move(value); }
62 
66  inline IotSiteWiseAction& WithPutAssetPropertyValueEntries(const Aws::Vector<PutAssetPropertyValueEntry>& value) { SetPutAssetPropertyValueEntries(value); return *this;}
67 
71  inline IotSiteWiseAction& WithPutAssetPropertyValueEntries(Aws::Vector<PutAssetPropertyValueEntry>&& value) { SetPutAssetPropertyValueEntries(std::move(value)); return *this;}
72 
76  inline IotSiteWiseAction& AddPutAssetPropertyValueEntries(const PutAssetPropertyValueEntry& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries.push_back(value); return *this; }
77 
81  inline IotSiteWiseAction& AddPutAssetPropertyValueEntries(PutAssetPropertyValueEntry&& value) { m_putAssetPropertyValueEntriesHasBeenSet = true; m_putAssetPropertyValueEntries.push_back(std::move(value)); return *this; }
82 
83 
90  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
91 
98  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
99 
106  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
107 
114  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
115 
122  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
123 
130  inline IotSiteWiseAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
131 
138  inline IotSiteWiseAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
139 
146  inline IotSiteWiseAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
147 
148  private:
149 
150  Aws::Vector<PutAssetPropertyValueEntry> m_putAssetPropertyValueEntries;
151  bool m_putAssetPropertyValueEntriesHasBeenSet;
152 
153  Aws::String m_roleArn;
154  bool m_roleArnHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace IoT
159 } // namespace Aws
Aws::IoT::Model::IotSiteWiseAction::SetPutAssetPropertyValueEntries
void SetPutAssetPropertyValueEntries(const Aws::Vector< PutAssetPropertyValueEntry > &value)
Definition: IotSiteWiseAction.h:56
Aws::IoT::Model::IotSiteWiseAction::PutAssetPropertyValueEntriesHasBeenSet
bool PutAssetPropertyValueEntriesHasBeenSet() const
Definition: IotSiteWiseAction.h:51
Aws::IoT::Model::IotSiteWiseAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: IotSiteWiseAction.h:98
Aws::IoT::Model::IotSiteWiseAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: IotSiteWiseAction.h:106
Aws::IoT::Model::IotSiteWiseAction::IotSiteWiseAction
IotSiteWiseAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::IotSiteWiseAction::IotSiteWiseAction
IotSiteWiseAction()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::IotSiteWiseAction::WithPutAssetPropertyValueEntries
IotSiteWiseAction & WithPutAssetPropertyValueEntries(const Aws::Vector< PutAssetPropertyValueEntry > &value)
Definition: IotSiteWiseAction.h:66
AWSVector.h
Aws::IoT::Model::IotSiteWiseAction::WithPutAssetPropertyValueEntries
IotSiteWiseAction & WithPutAssetPropertyValueEntries(Aws::Vector< PutAssetPropertyValueEntry > &&value)
Definition: IotSiteWiseAction.h:71
Aws::IoT::Model::IotSiteWiseAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: IotSiteWiseAction.h:114
Aws::IoT::Model::IotSiteWiseAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: IotSiteWiseAction.h:122
Aws::IoT::Model::PutAssetPropertyValueEntry
Definition: PutAssetPropertyValueEntry.h:35
Aws::IoT::Model::IotSiteWiseAction::WithRoleArn
IotSiteWiseAction & WithRoleArn(const char *value)
Definition: IotSiteWiseAction.h:146
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::IotSiteWiseAction::WithRoleArn
IotSiteWiseAction & WithRoleArn(Aws::String &&value)
Definition: IotSiteWiseAction.h:138
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
PutAssetPropertyValueEntry.h
Aws::IoT::Model::IotSiteWiseAction::AddPutAssetPropertyValueEntries
IotSiteWiseAction & AddPutAssetPropertyValueEntries(PutAssetPropertyValueEntry &&value)
Definition: IotSiteWiseAction.h:81
Aws::IoT::Model::IotSiteWiseAction::operator=
IotSiteWiseAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::IotSiteWiseAction
Definition: IotSiteWiseAction.h:35
Aws::IoT::Model::IotSiteWiseAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: IotSiteWiseAction.h:90
Aws::IoT::Model::IotSiteWiseAction::WithRoleArn
IotSiteWiseAction & WithRoleArn(const Aws::String &value)
Definition: IotSiteWiseAction.h:130
Aws::IoT::Model::IotSiteWiseAction::AddPutAssetPropertyValueEntries
IotSiteWiseAction & AddPutAssetPropertyValueEntries(const PutAssetPropertyValueEntry &value)
Definition: IotSiteWiseAction.h:76
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::IotSiteWiseAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::IotSiteWiseAction::SetPutAssetPropertyValueEntries
void SetPutAssetPropertyValueEntries(Aws::Vector< PutAssetPropertyValueEntry > &&value)
Definition: IotSiteWiseAction.h:61
Aws::IoT::Model::IotSiteWiseAction::GetPutAssetPropertyValueEntries
const Aws::Vector< PutAssetPropertyValueEntry > & GetPutAssetPropertyValueEntries() const
Definition: IotSiteWiseAction.h:46
IoT_EXPORTS.h