AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateRetrieverRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/qbusiness/model/RetrieverConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace QBusiness
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QBUSINESS_API UpdateRetrieverRequest() = 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 "UpdateRetriever"; }
32
33 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template<typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 UpdateRetrieverRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetRetrieverId() const { return m_retrieverId; }
53 inline bool RetrieverIdHasBeenSet() const { return m_retrieverIdHasBeenSet; }
54 template<typename RetrieverIdT = Aws::String>
55 void SetRetrieverId(RetrieverIdT&& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = std::forward<RetrieverIdT>(value); }
56 template<typename RetrieverIdT = Aws::String>
57 UpdateRetrieverRequest& WithRetrieverId(RetrieverIdT&& value) { SetRetrieverId(std::forward<RetrieverIdT>(value)); return *this;}
59
61
62 inline const RetrieverConfiguration& GetConfiguration() const { return m_configuration; }
63 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
64 template<typename ConfigurationT = RetrieverConfiguration>
65 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
66 template<typename ConfigurationT = RetrieverConfiguration>
67 UpdateRetrieverRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDisplayName() const { return m_displayName; }
75 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
76 template<typename DisplayNameT = Aws::String>
77 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
78 template<typename DisplayNameT = Aws::String>
79 UpdateRetrieverRequest& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
81
83
87 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
88 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
89 template<typename RoleArnT = Aws::String>
90 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
91 template<typename RoleArnT = Aws::String>
92 UpdateRetrieverRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
94 private:
95
96 Aws::String m_applicationId;
97 bool m_applicationIdHasBeenSet = false;
98
99 Aws::String m_retrieverId;
100 bool m_retrieverIdHasBeenSet = false;
101
102 RetrieverConfiguration m_configuration;
103 bool m_configurationHasBeenSet = false;
104
105 Aws::String m_displayName;
106 bool m_displayNameHasBeenSet = false;
107
108 Aws::String m_roleArn;
109 bool m_roleArnHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QBusiness
114} // 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