AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
UpdateExperienceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/ExperienceConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace kendra {
16namespace Model {
17
21 public:
22 AWS_KENDRA_API UpdateExperienceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateExperience"; }
29
30 AWS_KENDRA_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetId() const { return m_id; }
39 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
40 template <typename IdT = Aws::String>
41 void SetId(IdT&& value) {
42 m_idHasBeenSet = true;
43 m_id = std::forward<IdT>(value);
44 }
45 template <typename IdT = Aws::String>
47 SetId(std::forward<IdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetIndexId() const { return m_indexId; }
75 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
76 template <typename IndexIdT = Aws::String>
77 void SetIndexId(IndexIdT&& value) {
78 m_indexIdHasBeenSet = true;
79 m_indexId = std::forward<IndexIdT>(value);
80 }
81 template <typename IndexIdT = Aws::String>
83 SetIndexId(std::forward<IndexIdT>(value));
84 return *this;
85 }
87
89
97 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
98 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
99 template <typename RoleArnT = Aws::String>
100 void SetRoleArn(RoleArnT&& value) {
101 m_roleArnHasBeenSet = true;
102 m_roleArn = std::forward<RoleArnT>(value);
103 }
104 template <typename RoleArnT = Aws::String>
106 SetRoleArn(std::forward<RoleArnT>(value));
107 return *this;
108 }
110
112
116 inline const ExperienceConfiguration& GetConfiguration() const { return m_configuration; }
117 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
118 template <typename ConfigurationT = ExperienceConfiguration>
119 void SetConfiguration(ConfigurationT&& value) {
120 m_configurationHasBeenSet = true;
121 m_configuration = std::forward<ConfigurationT>(value);
122 }
123 template <typename ConfigurationT = ExperienceConfiguration>
125 SetConfiguration(std::forward<ConfigurationT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetDescription() const { return m_description; }
135 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
136 template <typename DescriptionT = Aws::String>
137 void SetDescription(DescriptionT&& value) {
138 m_descriptionHasBeenSet = true;
139 m_description = std::forward<DescriptionT>(value);
140 }
141 template <typename DescriptionT = Aws::String>
143 SetDescription(std::forward<DescriptionT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_id;
149 bool m_idHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_indexId;
155 bool m_indexIdHasBeenSet = false;
156
157 Aws::String m_roleArn;
158 bool m_roleArnHasBeenSet = false;
159
160 ExperienceConfiguration m_configuration;
161 bool m_configurationHasBeenSet = false;
162
163 Aws::String m_description;
164 bool m_descriptionHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace kendra
169} // namespace Aws
UpdateExperienceRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateExperienceRequest & WithIndexId(IndexIdT &&value)
UpdateExperienceRequest & WithConfiguration(ConfigurationT &&value)
const ExperienceConfiguration & GetConfiguration() const
UpdateExperienceRequest & WithRoleArn(RoleArnT &&value)
AWS_KENDRA_API Aws::String SerializePayload() const override
UpdateExperienceRequest & WithId(IdT &&value)
UpdateExperienceRequest & WithName(NameT &&value)
AWS_KENDRA_API UpdateExperienceRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String