AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DynatraceServiceAuthorizationConfig.h
1
6#pragma once
7#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
8#include <aws/devops-agent/model/DynatraceOAuthClientCredentialsConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DevOpsAgent {
20namespace Model {
21
29 public:
30 AWS_DEVOPSAGENT_API DynatraceServiceAuthorizationConfig() = default;
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const DynatraceOAuthClientCredentialsConfig& GetOAuthClientCredentials() const { return m_oAuthClientCredentials; }
40 inline bool OAuthClientCredentialsHasBeenSet() const { return m_oAuthClientCredentialsHasBeenSet; }
41 template <typename OAuthClientCredentialsT = DynatraceOAuthClientCredentialsConfig>
42 void SetOAuthClientCredentials(OAuthClientCredentialsT&& value) {
43 m_oAuthClientCredentialsHasBeenSet = true;
44 m_oAuthClientCredentials = std::forward<OAuthClientCredentialsT>(value);
45 }
46 template <typename OAuthClientCredentialsT = DynatraceOAuthClientCredentialsConfig>
48 SetOAuthClientCredentials(std::forward<OAuthClientCredentialsT>(value));
49 return *this;
50 }
52 private:
53 DynatraceOAuthClientCredentialsConfig m_oAuthClientCredentials;
54 bool m_oAuthClientCredentialsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace DevOpsAgent
59} // namespace Aws
const DynatraceOAuthClientCredentialsConfig & GetOAuthClientCredentials() const
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API DynatraceServiceAuthorizationConfig(Aws::Utils::Json::JsonView jsonValue)
DynatraceServiceAuthorizationConfig & WithOAuthClientCredentials(OAuthClientCredentialsT &&value)
AWS_DEVOPSAGENT_API DynatraceServiceAuthorizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API DynatraceServiceAuthorizationConfig()=default
Aws::Utils::Json::JsonValue JsonValue