AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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