AWS SDK for C++

AWS SDK for C++ Version 1.11.883

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
39 inline const AgentCoreRuntimeSourceDetails& GetAgentcoreRuntime() const { return m_agentcoreRuntime; }
40 inline bool AgentcoreRuntimeHasBeenSet() const { return m_agentcoreRuntimeHasBeenSet; }
41 template <typename AgentcoreRuntimeT = AgentCoreRuntimeSourceDetails>
42 void SetAgentcoreRuntime(AgentcoreRuntimeT&& value) {
43 m_agentcoreRuntimeHasBeenSet = true;
44 m_agentcoreRuntime = std::forward<AgentcoreRuntimeT>(value);
45 }
46 template <typename AgentcoreRuntimeT = AgentCoreRuntimeSourceDetails>
47 SourceDetails& WithAgentcoreRuntime(AgentcoreRuntimeT&& value) {
48 SetAgentcoreRuntime(std::forward<AgentcoreRuntimeT>(value));
49 return *this;
50 }
52
54
55 inline const AgentCoreGatewaySourceDetails& GetAgentcoreGateway() const { return m_agentcoreGateway; }
56 inline bool AgentcoreGatewayHasBeenSet() const { return m_agentcoreGatewayHasBeenSet; }
57 template <typename AgentcoreGatewayT = AgentCoreGatewaySourceDetails>
58 void SetAgentcoreGateway(AgentcoreGatewayT&& value) {
59 m_agentcoreGatewayHasBeenSet = true;
60 m_agentcoreGateway = std::forward<AgentcoreGatewayT>(value);
61 }
62 template <typename AgentcoreGatewayT = AgentCoreGatewaySourceDetails>
63 SourceDetails& WithAgentcoreGateway(AgentcoreGatewayT&& value) {
64 SetAgentcoreGateway(std::forward<AgentcoreGatewayT>(value));
65 return *this;
66 }
68 private:
69 AgentCoreRuntimeSourceDetails m_agentcoreRuntime;
70
71 AgentCoreGatewaySourceDetails m_agentcoreGateway;
72 bool m_agentcoreRuntimeHasBeenSet = false;
73 bool m_agentcoreGatewayHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace AgentRegistryControl
78} // 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