AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_BEDROCKAGENT_API SalesforceSourceConfiguration() = default;
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline SalesforceAuthType GetAuthType() const { return m_authType; }
48 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
49 inline void SetAuthType(SalesforceAuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
52
54
62 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
63 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
64 template<typename CredentialsSecretArnT = Aws::String>
65 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
66 template<typename CredentialsSecretArnT = Aws::String>
67 SalesforceSourceConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
75 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
76 template<typename HostUrlT = Aws::String>
77 void SetHostUrl(HostUrlT&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::forward<HostUrlT>(value); }
78 template<typename HostUrlT = Aws::String>
79 SalesforceSourceConfiguration& WithHostUrl(HostUrlT&& value) { SetHostUrl(std::forward<HostUrlT>(value)); return *this;}
81 private:
82
84 bool m_authTypeHasBeenSet = false;
85
86 Aws::String m_credentialsSecretArn;
87 bool m_credentialsSecretArnHasBeenSet = false;
88
89 Aws::String m_hostUrl;
90 bool m_hostUrlHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace BedrockAgent
95} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue