AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateExperienceRequest.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/kendra/KendraRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kendra/model/ExperienceConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace kendra
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KENDRA_API UpdateExperienceRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateExperience"; }
32
33 AWS_KENDRA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template<typename IdT = Aws::String>
45 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
46 template<typename IdT = Aws::String>
47 UpdateExperienceRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 UpdateExperienceRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetIndexId() const { return m_indexId; }
67 inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; }
68 template<typename IndexIdT = Aws::String>
69 void SetIndexId(IndexIdT&& value) { m_indexIdHasBeenSet = true; m_indexId = std::forward<IndexIdT>(value); }
70 template<typename IndexIdT = Aws::String>
71 UpdateExperienceRequest& WithIndexId(IndexIdT&& value) { SetIndexId(std::forward<IndexIdT>(value)); return *this;}
73
75
83 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
84 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
85 template<typename RoleArnT = Aws::String>
86 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
87 template<typename RoleArnT = Aws::String>
88 UpdateExperienceRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
90
92
96 inline const ExperienceConfiguration& GetConfiguration() const { return m_configuration; }
97 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
98 template<typename ConfigurationT = ExperienceConfiguration>
99 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
100 template<typename ConfigurationT = ExperienceConfiguration>
101 UpdateExperienceRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
103
105
108 inline const Aws::String& GetDescription() const { return m_description; }
109 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
110 template<typename DescriptionT = Aws::String>
111 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
112 template<typename DescriptionT = Aws::String>
113 UpdateExperienceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
115 private:
116
117 Aws::String m_id;
118 bool m_idHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_indexId;
124 bool m_indexIdHasBeenSet = false;
125
126 Aws::String m_roleArn;
127 bool m_roleArnHasBeenSet = false;
128
129 ExperienceConfiguration m_configuration;
130 bool m_configurationHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace kendra
138} // 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