AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateRetrieverRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10#include <aws/qbusiness/model/RetrieverConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace QBusiness {
16namespace Model {
17
21 public:
22 AWS_QBUSINESS_API UpdateRetrieverRequest() = 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 "UpdateRetriever"; }
29
30 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
37 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
38 template <typename ApplicationIdT = Aws::String>
40 m_applicationIdHasBeenSet = true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
42 }
43 template <typename ApplicationIdT = Aws::String>
45 SetApplicationId(std::forward<ApplicationIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetRetrieverId() const { return m_retrieverId; }
55 inline bool RetrieverIdHasBeenSet() const { return m_retrieverIdHasBeenSet; }
56 template <typename RetrieverIdT = Aws::String>
58 m_retrieverIdHasBeenSet = true;
59 m_retrieverId = std::forward<RetrieverIdT>(value);
60 }
61 template <typename RetrieverIdT = Aws::String>
63 SetRetrieverId(std::forward<RetrieverIdT>(value));
64 return *this;
65 }
67
69
70 inline const RetrieverConfiguration& GetConfiguration() const { return m_configuration; }
71 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
72 template <typename ConfigurationT = RetrieverConfiguration>
74 m_configurationHasBeenSet = true;
75 m_configuration = std::forward<ConfigurationT>(value);
76 }
77 template <typename ConfigurationT = RetrieverConfiguration>
79 SetConfiguration(std::forward<ConfigurationT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDisplayName() const { return m_displayName; }
89 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
90 template <typename DisplayNameT = Aws::String>
92 m_displayNameHasBeenSet = true;
93 m_displayName = std::forward<DisplayNameT>(value);
94 }
95 template <typename DisplayNameT = Aws::String>
97 SetDisplayName(std::forward<DisplayNameT>(value));
98 return *this;
99 }
101
103
107 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
108 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
109 template <typename RoleArnT = Aws::String>
110 void SetRoleArn(RoleArnT&& value) {
111 m_roleArnHasBeenSet = true;
112 m_roleArn = std::forward<RoleArnT>(value);
113 }
114 template <typename RoleArnT = Aws::String>
116 SetRoleArn(std::forward<RoleArnT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_applicationId;
122 bool m_applicationIdHasBeenSet = false;
123
124 Aws::String m_retrieverId;
125 bool m_retrieverIdHasBeenSet = false;
126
127 RetrieverConfiguration m_configuration;
128 bool m_configurationHasBeenSet = false;
129
130 Aws::String m_displayName;
131 bool m_displayNameHasBeenSet = false;
132
133 Aws::String m_roleArn;
134 bool m_roleArnHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace QBusiness
139} // namespace Aws
UpdateRetrieverRequest & WithRoleArn(RoleArnT &&value)
AWS_QBUSINESS_API UpdateRetrieverRequest()=default
UpdateRetrieverRequest & WithRetrieverId(RetrieverIdT &&value)
const RetrieverConfiguration & GetConfiguration() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdateRetrieverRequest & WithApplicationId(ApplicationIdT &&value)
UpdateRetrieverRequest & WithDisplayName(DisplayNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateRetrieverRequest & WithConfiguration(ConfigurationT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String