AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
PagerDutyAuthorizationConfig.h
1
6#pragma once
7#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
8#include <aws/devops-agent/model/PagerDutyOAuthClientCredentialsConfig.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 PagerDutyAuthorizationConfig() = default;
33 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const PagerDutyOAuthClientCredentialsConfig& GetOAuthClientCredentials() const { return m_oAuthClientCredentials; }
40 inline bool OAuthClientCredentialsHasBeenSet() const { return m_oAuthClientCredentialsHasBeenSet; }
41 template <typename OAuthClientCredentialsT = PagerDutyOAuthClientCredentialsConfig>
42 void SetOAuthClientCredentials(OAuthClientCredentialsT&& value) {
43 m_oAuthClientCredentialsHasBeenSet = true;
44 m_oAuthClientCredentials = std::forward<OAuthClientCredentialsT>(value);
45 }
46 template <typename OAuthClientCredentialsT = PagerDutyOAuthClientCredentialsConfig>
47 PagerDutyAuthorizationConfig& WithOAuthClientCredentials(OAuthClientCredentialsT&& value) {
48 SetOAuthClientCredentials(std::forward<OAuthClientCredentialsT>(value));
49 return *this;
50 }
52 private:
53 PagerDutyOAuthClientCredentialsConfig m_oAuthClientCredentials;
54 bool m_oAuthClientCredentialsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace DevOpsAgent
59} // namespace Aws
const PagerDutyOAuthClientCredentialsConfig & GetOAuthClientCredentials() const
PagerDutyAuthorizationConfig & WithOAuthClientCredentials(OAuthClientCredentialsT &&value)
AWS_DEVOPSAGENT_API PagerDutyAuthorizationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API PagerDutyAuthorizationConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API PagerDutyAuthorizationConfig()=default
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue