AWS SDK for C++

AWS SDK for C++ Version 1.11.866

Loading...
Searching...
No Matches
DiscoveryConfiguration.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/AuthorizerConfiguration.h>
9#include <aws/agent-registry-control/model/RegistryAuthorizerType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AgentRegistryControl {
21namespace Model {
22
31 public:
32 AWS_AGENTREGISTRYCONTROL_API DiscoveryConfiguration() = default;
33 AWS_AGENTREGISTRYCONTROL_API DiscoveryConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API DiscoveryConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const AuthorizerConfiguration& GetAuthorizerConfiguration() const { return m_authorizerConfiguration; }
43 inline bool AuthorizerConfigurationHasBeenSet() const { return m_authorizerConfigurationHasBeenSet; }
44 template <typename AuthorizerConfigurationT = AuthorizerConfiguration>
45 void SetAuthorizerConfiguration(AuthorizerConfigurationT&& value) {
46 m_authorizerConfigurationHasBeenSet = true;
47 m_authorizerConfiguration = std::forward<AuthorizerConfigurationT>(value);
48 }
49 template <typename AuthorizerConfigurationT = AuthorizerConfiguration>
50 DiscoveryConfiguration& WithAuthorizerConfiguration(AuthorizerConfigurationT&& value) {
51 SetAuthorizerConfiguration(std::forward<AuthorizerConfigurationT>(value));
52 return *this;
53 }
55
57
61 inline RegistryAuthorizerType GetAuthorizerType() const { return m_authorizerType; }
62 inline bool AuthorizerTypeHasBeenSet() const { return m_authorizerTypeHasBeenSet; }
64 m_authorizerTypeHasBeenSet = true;
65 m_authorizerType = value;
66 }
68 SetAuthorizerType(value);
69 return *this;
70 }
72 private:
73 AuthorizerConfiguration m_authorizerConfiguration;
74
76 bool m_authorizerConfigurationHasBeenSet = false;
77 bool m_authorizerTypeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace AgentRegistryControl
82} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API DiscoveryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DiscoveryConfiguration & WithAuthorizerConfiguration(AuthorizerConfigurationT &&value)
DiscoveryConfiguration & WithAuthorizerType(RegistryAuthorizerType value)
AWS_AGENTREGISTRYCONTROL_API DiscoveryConfiguration()=default
void SetAuthorizerConfiguration(AuthorizerConfigurationT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API DiscoveryConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AuthorizerConfiguration & GetAuthorizerConfiguration() const
Aws::Utils::Json::JsonValue JsonValue