AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AmplitudeConnectorProfileCredentials.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Appflow
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetApiKey() const{ return m_apiKey; }
47 inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; }
48 inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; }
49 inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); }
50 inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); }
51 inline AmplitudeConnectorProfileCredentials& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;}
52 inline AmplitudeConnectorProfileCredentials& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;}
53 inline AmplitudeConnectorProfileCredentials& WithApiKey(const char* value) { SetApiKey(value); return *this;}
55
57
60 inline const Aws::String& GetSecretKey() const{ return m_secretKey; }
61 inline bool SecretKeyHasBeenSet() const { return m_secretKeyHasBeenSet; }
62 inline void SetSecretKey(const Aws::String& value) { m_secretKeyHasBeenSet = true; m_secretKey = value; }
63 inline void SetSecretKey(Aws::String&& value) { m_secretKeyHasBeenSet = true; m_secretKey = std::move(value); }
64 inline void SetSecretKey(const char* value) { m_secretKeyHasBeenSet = true; m_secretKey.assign(value); }
65 inline AmplitudeConnectorProfileCredentials& WithSecretKey(const Aws::String& value) { SetSecretKey(value); return *this;}
66 inline AmplitudeConnectorProfileCredentials& WithSecretKey(Aws::String&& value) { SetSecretKey(std::move(value)); return *this;}
67 inline AmplitudeConnectorProfileCredentials& WithSecretKey(const char* value) { SetSecretKey(value); return *this;}
69 private:
70
71 Aws::String m_apiKey;
72 bool m_apiKeyHasBeenSet = false;
73
74 Aws::String m_secretKey;
75 bool m_secretKeyHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Appflow
80} // namespace Aws
AmplitudeConnectorProfileCredentials & WithSecretKey(Aws::String &&value)
AmplitudeConnectorProfileCredentials & WithApiKey(Aws::String &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AmplitudeConnectorProfileCredentials & WithSecretKey(const Aws::String &value)
AWS_APPFLOW_API AmplitudeConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
AmplitudeConnectorProfileCredentials & WithApiKey(const char *value)
AmplitudeConnectorProfileCredentials & WithSecretKey(const char *value)
AWS_APPFLOW_API AmplitudeConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
AmplitudeConnectorProfileCredentials & WithApiKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue