AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DynatraceServiceDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
9#include <aws/devops-agent/model/DynatraceServiceAuthorizationConfig.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DevOpsAgent {
21namespace Model {
22
30 public:
31 AWS_DEVOPSAGENT_API DynatraceServiceDetails() = default;
34 AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountUrn() const { return m_accountUrn; }
41 inline bool AccountUrnHasBeenSet() const { return m_accountUrnHasBeenSet; }
42 template <typename AccountUrnT = Aws::String>
43 void SetAccountUrn(AccountUrnT&& value) {
44 m_accountUrnHasBeenSet = true;
45 m_accountUrn = std::forward<AccountUrnT>(value);
46 }
47 template <typename AccountUrnT = Aws::String>
49 SetAccountUrn(std::forward<AccountUrnT>(value));
50 return *this;
51 }
53
55
59 inline const DynatraceServiceAuthorizationConfig& GetAuthorizationConfig() const { return m_authorizationConfig; }
60 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
61 template <typename AuthorizationConfigT = DynatraceServiceAuthorizationConfig>
62 void SetAuthorizationConfig(AuthorizationConfigT&& value) {
63 m_authorizationConfigHasBeenSet = true;
64 m_authorizationConfig = std::forward<AuthorizationConfigT>(value);
65 }
66 template <typename AuthorizationConfigT = DynatraceServiceAuthorizationConfig>
67 DynatraceServiceDetails& WithAuthorizationConfig(AuthorizationConfigT&& value) {
68 SetAuthorizationConfig(std::forward<AuthorizationConfigT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_accountUrn;
74
75 DynatraceServiceAuthorizationConfig m_authorizationConfig;
76 bool m_accountUrnHasBeenSet = false;
77 bool m_authorizationConfigHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace DevOpsAgent
82} // namespace Aws
DynatraceServiceDetails & WithAccountUrn(AccountUrnT &&value)
void SetAuthorizationConfig(AuthorizationConfigT &&value)
AWS_DEVOPSAGENT_API DynatraceServiceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVOPSAGENT_API DynatraceServiceDetails()=default
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVOPSAGENT_API DynatraceServiceDetails(Aws::Utils::Json::JsonView jsonValue)
const DynatraceServiceAuthorizationConfig & GetAuthorizationConfig() const
DynatraceServiceDetails & WithAuthorizationConfig(AuthorizationConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue