AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const SalesforceAuthType& GetAuthType() const{ return m_authType; }
48 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
49 inline void SetAuthType(const SalesforceAuthType& value) { m_authTypeHasBeenSet = true; m_authType = value; }
50 inline void SetAuthType(SalesforceAuthType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); }
51 inline SalesforceSourceConfiguration& WithAuthType(const SalesforceAuthType& value) { SetAuthType(value); return *this;}
52 inline SalesforceSourceConfiguration& WithAuthType(SalesforceAuthType&& value) { SetAuthType(std::move(value)); return *this;}
54
56
64 inline const Aws::String& GetCredentialsSecretArn() const{ return m_credentialsSecretArn; }
65 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
66 inline void SetCredentialsSecretArn(const Aws::String& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = value; }
67 inline void SetCredentialsSecretArn(Aws::String&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::move(value); }
68 inline void SetCredentialsSecretArn(const char* value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn.assign(value); }
71 inline SalesforceSourceConfiguration& WithCredentialsSecretArn(const char* value) { SetCredentialsSecretArn(value); return *this;}
73
75
78 inline const Aws::String& GetHostUrl() const{ return m_hostUrl; }
79 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
80 inline void SetHostUrl(const Aws::String& value) { m_hostUrlHasBeenSet = true; m_hostUrl = value; }
81 inline void SetHostUrl(Aws::String&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::move(value); }
82 inline void SetHostUrl(const char* value) { m_hostUrlHasBeenSet = true; m_hostUrl.assign(value); }
83 inline SalesforceSourceConfiguration& WithHostUrl(const Aws::String& value) { SetHostUrl(value); return *this;}
84 inline SalesforceSourceConfiguration& WithHostUrl(Aws::String&& value) { SetHostUrl(std::move(value)); return *this;}
85 inline SalesforceSourceConfiguration& WithHostUrl(const char* value) { SetHostUrl(value); return *this;}
87 private:
88
89 SalesforceAuthType m_authType;
90 bool m_authTypeHasBeenSet = false;
91
92 Aws::String m_credentialsSecretArn;
93 bool m_credentialsSecretArnHasBeenSet = false;
94
95 Aws::String m_hostUrl;
96 bool m_hostUrlHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace BedrockAgent
101} // namespace Aws
SalesforceSourceConfiguration & WithCredentialsSecretArn(const Aws::String &value)
SalesforceSourceConfiguration & WithHostUrl(const char *value)
SalesforceSourceConfiguration & WithAuthType(SalesforceAuthType &&value)
SalesforceSourceConfiguration & WithHostUrl(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
SalesforceSourceConfiguration & WithCredentialsSecretArn(const char *value)
SalesforceSourceConfiguration & WithAuthType(const SalesforceAuthType &value)
AWS_BEDROCKAGENT_API SalesforceSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SalesforceSourceConfiguration & WithHostUrl(Aws::String &&value)
SalesforceSourceConfiguration & WithCredentialsSecretArn(Aws::String &&value)
AWS_BEDROCKAGENT_API SalesforceSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue