AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
SourceDetails.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/AgentCoreGatewaySourceDetails.h>
9#include <aws/agent-registry-control/model/AgentCoreRuntimeSourceDetails.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 SourceDetails() = default;
33 AWS_AGENTREGISTRYCONTROL_API SourceDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API SourceDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const AgentCoreRuntimeSourceDetails& GetAgentcoreRuntime() const { return m_agentcoreRuntime; }
44 inline bool AgentcoreRuntimeHasBeenSet() const { return m_agentcoreRuntimeHasBeenSet; }
45 template <typename AgentcoreRuntimeT = AgentCoreRuntimeSourceDetails>
46 void SetAgentcoreRuntime(AgentcoreRuntimeT&& value) {
47 m_agentcoreRuntimeHasBeenSet = true;
48 m_agentcoreRuntime = std::forward<AgentcoreRuntimeT>(value);
49 }
50 template <typename AgentcoreRuntimeT = AgentCoreRuntimeSourceDetails>
51 SourceDetails& WithAgentcoreRuntime(AgentcoreRuntimeT&& value) {
52 SetAgentcoreRuntime(std::forward<AgentcoreRuntimeT>(value));
53 return *this;
54 }
56
58
63 inline const AgentCoreGatewaySourceDetails& GetAgentcoreGateway() const { return m_agentcoreGateway; }
64 inline bool AgentcoreGatewayHasBeenSet() const { return m_agentcoreGatewayHasBeenSet; }
65 template <typename AgentcoreGatewayT = AgentCoreGatewaySourceDetails>
66 void SetAgentcoreGateway(AgentcoreGatewayT&& value) {
67 m_agentcoreGatewayHasBeenSet = true;
68 m_agentcoreGateway = std::forward<AgentcoreGatewayT>(value);
69 }
70 template <typename AgentcoreGatewayT = AgentCoreGatewaySourceDetails>
71 SourceDetails& WithAgentcoreGateway(AgentcoreGatewayT&& value) {
72 SetAgentcoreGateway(std::forward<AgentcoreGatewayT>(value));
73 return *this;
74 }
76 private:
77 AgentCoreRuntimeSourceDetails m_agentcoreRuntime;
78
79 AgentCoreGatewaySourceDetails m_agentcoreGateway;
80 bool m_agentcoreRuntimeHasBeenSet = false;
81 bool m_agentcoreGatewayHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace AgentRegistryControl
86} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API SourceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const AgentCoreRuntimeSourceDetails & GetAgentcoreRuntime() const
SourceDetails & WithAgentcoreGateway(AgentcoreGatewayT &&value)
AWS_AGENTREGISTRYCONTROL_API SourceDetails(Aws::Utils::Json::JsonView jsonValue)
void SetAgentcoreGateway(AgentcoreGatewayT &&value)
const AgentCoreGatewaySourceDetails & GetAgentcoreGateway() const
SourceDetails & WithAgentcoreRuntime(AgentcoreRuntimeT &&value)
AWS_AGENTREGISTRYCONTROL_API SourceDetails()=default
void SetAgentcoreRuntime(AgentcoreRuntimeT &&value)
Aws::Utils::Json::JsonValue JsonValue