AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
SalesforceSourceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/SalesforceAuthType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgent {
21namespace Model {
22
30 public:
31 AWS_BEDROCKAGENT_API SalesforceSourceConfiguration() = default;
34 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
41 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
42 template <typename HostUrlT = Aws::String>
43 void SetHostUrl(HostUrlT&& value) {
44 m_hostUrlHasBeenSet = true;
45 m_hostUrl = std::forward<HostUrlT>(value);
46 }
47 template <typename HostUrlT = Aws::String>
49 SetHostUrl(std::forward<HostUrlT>(value));
50 return *this;
51 }
53
55
59 inline SalesforceAuthType GetAuthType() const { return m_authType; }
60 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
61 inline void SetAuthType(SalesforceAuthType value) {
62 m_authTypeHasBeenSet = true;
63 m_authType = value;
64 }
66 SetAuthType(value);
67 return *this;
68 }
70
72
80 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
81 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
82 template <typename CredentialsSecretArnT = Aws::String>
84 m_credentialsSecretArnHasBeenSet = true;
85 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
86 }
87 template <typename CredentialsSecretArnT = Aws::String>
89 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_hostUrl;
95
97
98 Aws::String m_credentialsSecretArn;
99 bool m_hostUrlHasBeenSet = false;
100 bool m_authTypeHasBeenSet = false;
101 bool m_credentialsSecretArnHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace BedrockAgent
106} // namespace Aws
SalesforceSourceConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
SalesforceSourceConfiguration & WithAuthType(SalesforceAuthType value)
AWS_BEDROCKAGENT_API SalesforceSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API SalesforceSourceConfiguration()=default
AWS_BEDROCKAGENT_API SalesforceSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
SalesforceSourceConfiguration & WithHostUrl(HostUrlT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue