AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatadogConnectorProfileCredentials.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 DatadogConnectorProfileCredentials& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;}
52 inline DatadogConnectorProfileCredentials& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;}
53 inline DatadogConnectorProfileCredentials& WithApiKey(const char* value) { SetApiKey(value); return *this;}
55
57
63 inline const Aws::String& GetApplicationKey() const{ return m_applicationKey; }
64 inline bool ApplicationKeyHasBeenSet() const { return m_applicationKeyHasBeenSet; }
65 inline void SetApplicationKey(const Aws::String& value) { m_applicationKeyHasBeenSet = true; m_applicationKey = value; }
66 inline void SetApplicationKey(Aws::String&& value) { m_applicationKeyHasBeenSet = true; m_applicationKey = std::move(value); }
67 inline void SetApplicationKey(const char* value) { m_applicationKeyHasBeenSet = true; m_applicationKey.assign(value); }
69 inline DatadogConnectorProfileCredentials& WithApplicationKey(Aws::String&& value) { SetApplicationKey(std::move(value)); return *this;}
70 inline DatadogConnectorProfileCredentials& WithApplicationKey(const char* value) { SetApplicationKey(value); return *this;}
72 private:
73
74 Aws::String m_apiKey;
75 bool m_apiKeyHasBeenSet = false;
76
77 Aws::String m_applicationKey;
78 bool m_applicationKeyHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Appflow
83} // namespace Aws
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
DatadogConnectorProfileCredentials & WithApiKey(Aws::String &&value)
DatadogConnectorProfileCredentials & WithApplicationKey(const char *value)
DatadogConnectorProfileCredentials & WithApiKey(const char *value)
AWS_APPFLOW_API DatadogConnectorProfileCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
DatadogConnectorProfileCredentials & WithApplicationKey(Aws::String &&value)
DatadogConnectorProfileCredentials & WithApiKey(const Aws::String &value)
AWS_APPFLOW_API DatadogConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue)
DatadogConnectorProfileCredentials & WithApplicationKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue