AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElasticsearchAction.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
38 {
39 public:
40 AWS_IOT_API ElasticsearchAction();
44
45
47
50 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
51 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
52 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
53 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
54 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
55 inline ElasticsearchAction& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
56 inline ElasticsearchAction& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
57 inline ElasticsearchAction& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
59
61
64 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
65 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
66 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
67 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
68 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
69 inline ElasticsearchAction& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
70 inline ElasticsearchAction& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
71 inline ElasticsearchAction& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
73
75
78 inline const Aws::String& GetIndex() const{ return m_index; }
79 inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; }
80 inline void SetIndex(const Aws::String& value) { m_indexHasBeenSet = true; m_index = value; }
81 inline void SetIndex(Aws::String&& value) { m_indexHasBeenSet = true; m_index = std::move(value); }
82 inline void SetIndex(const char* value) { m_indexHasBeenSet = true; m_index.assign(value); }
83 inline ElasticsearchAction& WithIndex(const Aws::String& value) { SetIndex(value); return *this;}
84 inline ElasticsearchAction& WithIndex(Aws::String&& value) { SetIndex(std::move(value)); return *this;}
85 inline ElasticsearchAction& WithIndex(const char* value) { SetIndex(value); return *this;}
87
89
92 inline const Aws::String& GetType() const{ return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
95 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
96 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
97 inline ElasticsearchAction& WithType(const Aws::String& value) { SetType(value); return *this;}
98 inline ElasticsearchAction& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
99 inline ElasticsearchAction& WithType(const char* value) { SetType(value); return *this;}
101
103
106 inline const Aws::String& GetId() const{ return m_id; }
107 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
108 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
109 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
110 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
111 inline ElasticsearchAction& WithId(const Aws::String& value) { SetId(value); return *this;}
112 inline ElasticsearchAction& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 inline ElasticsearchAction& WithId(const char* value) { SetId(value); return *this;}
115 private:
116
117 Aws::String m_roleArn;
118 bool m_roleArnHasBeenSet = false;
119
120 Aws::String m_endpoint;
121 bool m_endpointHasBeenSet = false;
122
123 Aws::String m_index;
124 bool m_indexHasBeenSet = false;
125
126 Aws::String m_type;
127 bool m_typeHasBeenSet = false;
128
129 Aws::String m_id;
130 bool m_idHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace IoT
135} // namespace Aws
const Aws::String & GetRoleArn() const
void SetId(const Aws::String &value)
ElasticsearchAction & WithType(const char *value)
const Aws::String & GetType() const
void SetIndex(const Aws::String &value)
AWS_IOT_API ElasticsearchAction & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchAction & WithIndex(const Aws::String &value)
AWS_IOT_API ElasticsearchAction(Aws::Utils::Json::JsonView jsonValue)
void SetEndpoint(const Aws::String &value)
ElasticsearchAction & WithEndpoint(const char *value)
ElasticsearchAction & WithId(const char *value)
ElasticsearchAction & WithRoleArn(Aws::String &&value)
ElasticsearchAction & WithRoleArn(const Aws::String &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchAction & WithType(Aws::String &&value)
ElasticsearchAction & WithType(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
ElasticsearchAction & WithEndpoint(Aws::String &&value)
const Aws::String & GetIndex() const
ElasticsearchAction & WithId(Aws::String &&value)
const Aws::String & GetEndpoint() const
ElasticsearchAction & WithRoleArn(const char *value)
ElasticsearchAction & WithIndex(Aws::String &&value)
void SetType(const Aws::String &value)
ElasticsearchAction & WithIndex(const char *value)
ElasticsearchAction & WithId(const Aws::String &value)
ElasticsearchAction & WithEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue