AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
45 inline UpdateRetrieverRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
46 inline UpdateRetrieverRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
47 inline UpdateRetrieverRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline const Aws::String& GetRetrieverId() const{ return m_retrieverId; }
55 inline bool RetrieverIdHasBeenSet() const { return m_retrieverIdHasBeenSet; }
56 inline void SetRetrieverId(const Aws::String& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = value; }
57 inline void SetRetrieverId(Aws::String&& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = std::move(value); }
58 inline void SetRetrieverId(const char* value) { m_retrieverIdHasBeenSet = true; m_retrieverId.assign(value); }
59 inline UpdateRetrieverRequest& WithRetrieverId(const Aws::String& value) { SetRetrieverId(value); return *this;}
60 inline UpdateRetrieverRequest& WithRetrieverId(Aws::String&& value) { SetRetrieverId(std::move(value)); return *this;}
61 inline UpdateRetrieverRequest& WithRetrieverId(const char* value) { SetRetrieverId(value); return *this;}
63
65
66 inline const RetrieverConfiguration& GetConfiguration() const{ return m_configuration; }
67 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
68 inline void SetConfiguration(const RetrieverConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
69 inline void SetConfiguration(RetrieverConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
71 inline UpdateRetrieverRequest& WithConfiguration(RetrieverConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
73
75
78 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
79 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
80 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
81 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
82 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
83 inline UpdateRetrieverRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
84 inline UpdateRetrieverRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
85 inline UpdateRetrieverRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
87
89
93 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
94 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
95 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
96 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
97 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
98 inline UpdateRetrieverRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
99 inline UpdateRetrieverRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
100 inline UpdateRetrieverRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
102 private:
103
104 Aws::String m_applicationId;
105 bool m_applicationIdHasBeenSet = false;
106
107 Aws::String m_retrieverId;
108 bool m_retrieverIdHasBeenSet = false;
109
110 RetrieverConfiguration m_configuration;
111 bool m_configurationHasBeenSet = false;
112
113 Aws::String m_displayName;
114 bool m_displayNameHasBeenSet = false;
115
116 Aws::String m_roleArn;
117 bool m_roleArnHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace QBusiness
122} // namespace Aws
UpdateRetrieverRequest & WithRoleArn(Aws::String &&value)
UpdateRetrieverRequest & WithRetrieverId(const char *value)
UpdateRetrieverRequest & WithRoleArn(const Aws::String &value)
UpdateRetrieverRequest & WithDisplayName(const char *value)
void SetConfiguration(const RetrieverConfiguration &value)
UpdateRetrieverRequest & WithConfiguration(RetrieverConfiguration &&value)
const RetrieverConfiguration & GetConfiguration() const
AWS_QBUSINESS_API Aws::String SerializePayload() const override
UpdateRetrieverRequest & WithApplicationId(const char *value)
UpdateRetrieverRequest & WithRoleArn(const char *value)
UpdateRetrieverRequest & WithApplicationId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateRetrieverRequest & WithConfiguration(const RetrieverConfiguration &value)
UpdateRetrieverRequest & WithDisplayName(const Aws::String &value)
UpdateRetrieverRequest & WithRetrieverId(const Aws::String &value)
UpdateRetrieverRequest & WithRetrieverId(Aws::String &&value)
UpdateRetrieverRequest & WithDisplayName(Aws::String &&value)
UpdateRetrieverRequest & WithApplicationId(const Aws::String &value)
void SetConfiguration(RetrieverConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String