AWS SDK for C++

AWS SDK for C++ Version 1.11.883

Loading...
Searching...
No Matches
AutoDetectionConfiguration.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/AutoDetectionScope.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AgentRegistryControl {
20namespace Model {
21
29 public:
30 AWS_AGENTREGISTRYCONTROL_API AutoDetectionConfiguration() = default;
31 AWS_AGENTREGISTRYCONTROL_API AutoDetectionConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AGENTREGISTRYCONTROL_API AutoDetectionConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline AutoDetectionScope GetScope() const { return m_scope; }
42 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
43 inline void SetScope(AutoDetectionScope value) {
44 m_scopeHasBeenSet = true;
45 m_scope = value;
46 }
48 SetScope(value);
49 return *this;
50 }
52
54
59 inline bool GetEnabled() const { return m_enabled; }
60 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
61 inline void SetEnabled(bool value) {
62 m_enabledHasBeenSet = true;
63 m_enabled = value;
64 }
66 SetEnabled(value);
67 return *this;
68 }
70 private:
72
73 bool m_enabled{false};
74 bool m_scopeHasBeenSet = false;
75 bool m_enabledHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AgentRegistryControl
80} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API AutoDetectionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API AutoDetectionConfiguration()=default
AutoDetectionConfiguration & WithScope(AutoDetectionScope value)
AWS_AGENTREGISTRYCONTROL_API AutoDetectionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue