AWS SDK for C++  1.9.129
AWS SDK for C++
OpenSearchAction.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 
49  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
50 
54  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
55 
59  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
60 
64  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
65 
69  inline OpenSearchAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
70 
74  inline OpenSearchAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
75 
79  inline OpenSearchAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
80 
81 
85  inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
86 
90  inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
91 
95  inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
96 
100  inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
101 
105  inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
106 
110  inline OpenSearchAction& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
111 
115  inline OpenSearchAction& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
116 
120  inline OpenSearchAction& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
121 
122 
126  inline const Aws::String& GetIndex() const{ return m_index; }
127 
131  inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
132 
136  inline void SetIndex(const Aws::String& value) { m_indexHasBeenSet = true; m_index = value; }
137 
141  inline void SetIndex(Aws::String&& value) { m_indexHasBeenSet = true; m_index = std::move(value); }
142 
146  inline void SetIndex(const char* value) { m_indexHasBeenSet = true; m_index.assign(value); }
147 
151  inline OpenSearchAction& WithIndex(const Aws::String& value) { SetIndex(value); return *this;}
152 
156  inline OpenSearchAction& WithIndex(Aws::String&& value) { SetIndex(std::move(value)); return *this;}
157 
161  inline OpenSearchAction& WithIndex(const char* value) { SetIndex(value); return *this;}
162 
163 
167  inline const Aws::String& GetType() const{ return m_type; }
168 
172  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
173 
177  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
178 
182  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
183 
187  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
188 
192  inline OpenSearchAction& WithType(const Aws::String& value) { SetType(value); return *this;}
193 
197  inline OpenSearchAction& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
198 
202  inline OpenSearchAction& WithType(const char* value) { SetType(value); return *this;}
203 
204 
208  inline const Aws::String& GetId() const{ return m_id; }
209 
213  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
214 
218  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
219 
223  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
224 
228  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
229 
233  inline OpenSearchAction& WithId(const Aws::String& value) { SetId(value); return *this;}
234 
238  inline OpenSearchAction& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
239 
243  inline OpenSearchAction& WithId(const char* value) { SetId(value); return *this;}
244 
245  private:
246 
247  Aws::String m_roleArn;
248  bool m_roleArnHasBeenSet;
249 
250  Aws::String m_endpoint;
251  bool m_endpointHasBeenSet;
252 
253  Aws::String m_index;
254  bool m_indexHasBeenSet;
255 
256  Aws::String m_type;
257  bool m_typeHasBeenSet;
258 
259  Aws::String m_id;
260  bool m_idHasBeenSet;
261  };
262 
263 } // namespace Model
264 } // namespace IoT
265 } // namespace Aws
Aws::IoT::Model::OpenSearchAction::WithRoleArn
OpenSearchAction & WithRoleArn(const Aws::String &value)
Definition: OpenSearchAction.h:69
Aws::IoT::Model::OpenSearchAction::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: OpenSearchAction.h:44
Aws::IoT::Model::OpenSearchAction::SetIndex
void SetIndex(Aws::String &&value)
Definition: OpenSearchAction.h:141
Aws::IoT::Model::OpenSearchAction::SetIndex
void SetIndex(const char *value)
Definition: OpenSearchAction.h:146
Aws::IoT::Model::OpenSearchAction
Definition: OpenSearchAction.h:33
Aws::IoT::Model::OpenSearchAction::WithIndex
OpenSearchAction & WithIndex(const char *value)
Definition: OpenSearchAction.h:161
Aws::IoT::Model::OpenSearchAction::WithEndpoint
OpenSearchAction & WithEndpoint(const Aws::String &value)
Definition: OpenSearchAction.h:110
Aws::IoT::Model::OpenSearchAction::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::OpenSearchAction::WithEndpoint
OpenSearchAction & WithEndpoint(Aws::String &&value)
Definition: OpenSearchAction.h:115
Aws::IoT::Model::OpenSearchAction::WithId
OpenSearchAction & WithId(Aws::String &&value)
Definition: OpenSearchAction.h:238
Aws::IoT::Model::OpenSearchAction::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: OpenSearchAction.h:172
Aws::IoT::Model::OpenSearchAction::SetIndex
void SetIndex(const Aws::String &value)
Definition: OpenSearchAction.h:136
Aws::IoT::Model::OpenSearchAction::SetType
void SetType(const char *value)
Definition: OpenSearchAction.h:187
Aws::IoT::Model::OpenSearchAction::WithId
OpenSearchAction & WithId(const char *value)
Definition: OpenSearchAction.h:243
Aws::IoT::Model::OpenSearchAction::WithIndex
OpenSearchAction & WithIndex(const Aws::String &value)
Definition: OpenSearchAction.h:151
Aws::IoT::Model::OpenSearchAction::GetEndpoint
const Aws::String & GetEndpoint() const
Definition: OpenSearchAction.h:85
Aws::IoT::Model::OpenSearchAction::SetEndpoint
void SetEndpoint(Aws::String &&value)
Definition: OpenSearchAction.h:100
Aws::IoT::Model::OpenSearchAction::GetType
const Aws::String & GetType() const
Definition: OpenSearchAction.h:167
Aws::IoT::Model::OpenSearchAction::EndpointHasBeenSet
bool EndpointHasBeenSet() const
Definition: OpenSearchAction.h:90
Aws::IoT::Model::OpenSearchAction::IdHasBeenSet
bool IdHasBeenSet() const
Definition: OpenSearchAction.h:213
Aws::IoT::Model::OpenSearchAction::WithType
OpenSearchAction & WithType(const char *value)
Definition: OpenSearchAction.h:202
Aws::IoT::Model::OpenSearchAction::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: OpenSearchAction.h:54
Aws::IoT::Model::OpenSearchAction::WithType
OpenSearchAction & WithType(const Aws::String &value)
Definition: OpenSearchAction.h:192
Aws::IoT::Model::OpenSearchAction::WithRoleArn
OpenSearchAction & WithRoleArn(const char *value)
Definition: OpenSearchAction.h:79
Aws::IoT::Model::OpenSearchAction::IndexHasBeenSet
bool IndexHasBeenSet() const
Definition: OpenSearchAction.h:131
Aws::IoT::Model::OpenSearchAction::operator=
OpenSearchAction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::OpenSearchAction::GetIndex
const Aws::String & GetIndex() const
Definition: OpenSearchAction.h:126
Aws::IoT::Model::OpenSearchAction::SetEndpoint
void SetEndpoint(const char *value)
Definition: OpenSearchAction.h:105
Aws::IoT::Model::OpenSearchAction::WithIndex
OpenSearchAction & WithIndex(Aws::String &&value)
Definition: OpenSearchAction.h:156
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::OpenSearchAction::WithEndpoint
OpenSearchAction & WithEndpoint(const char *value)
Definition: OpenSearchAction.h:120
Aws::IoT::Model::OpenSearchAction::SetId
void SetId(const char *value)
Definition: OpenSearchAction.h:228
Aws::IoT::Model::OpenSearchAction::SetType
void SetType(const Aws::String &value)
Definition: OpenSearchAction.h:177
Aws::IoT::Model::OpenSearchAction::WithType
OpenSearchAction & WithType(Aws::String &&value)
Definition: OpenSearchAction.h:197
Aws::IoT::Model::OpenSearchAction::GetId
const Aws::String & GetId() const
Definition: OpenSearchAction.h:208
Aws::IoT::Model::OpenSearchAction::SetId
void SetId(Aws::String &&value)
Definition: OpenSearchAction.h:223
Aws::IoT::Model::OpenSearchAction::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: OpenSearchAction.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::OpenSearchAction::SetEndpoint
void SetEndpoint(const Aws::String &value)
Definition: OpenSearchAction.h:95
Aws::IoT::Model::OpenSearchAction::OpenSearchAction
OpenSearchAction()
Aws::IoT::Model::OpenSearchAction::OpenSearchAction
OpenSearchAction(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::OpenSearchAction::SetType
void SetType(Aws::String &&value)
Definition: OpenSearchAction.h:182
Aws::IoT::Model::OpenSearchAction::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: OpenSearchAction.h:59
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::OpenSearchAction::WithRoleArn
OpenSearchAction & WithRoleArn(Aws::String &&value)
Definition: OpenSearchAction.h:74
Aws::IoT::Model::OpenSearchAction::SetId
void SetId(const Aws::String &value)
Definition: OpenSearchAction.h:218
Aws::IoT::Model::OpenSearchAction::WithId
OpenSearchAction & WithId(const Aws::String &value)
Definition: OpenSearchAction.h:233
Aws::IoT::Model::OpenSearchAction::SetRoleArn
void SetRoleArn(const char *value)
Definition: OpenSearchAction.h:64
IoT_EXPORTS.h