AWS SDK for C++

AWS SDK for C++ Version 1.11.883

Loading...
Searching...
No Matches
AgUiDescriptor.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/DescriptorSource.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 AgUiDescriptor() = default;
31 AWS_AGENTREGISTRYCONTROL_API AgUiDescriptor(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AGENTREGISTRYCONTROL_API AgUiDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const DescriptorSource& GetSource() const { return m_source; }
38 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
39 template <typename SourceT = DescriptorSource>
40 void SetSource(SourceT&& value) {
41 m_sourceHasBeenSet = true;
42 m_source = std::forward<SourceT>(value);
43 }
44 template <typename SourceT = DescriptorSource>
45 AgUiDescriptor& WithSource(SourceT&& value) {
46 SetSource(std::forward<SourceT>(value));
47 return *this;
48 }
50 private:
51 DescriptorSource m_source;
52 bool m_sourceHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace AgentRegistryControl
57} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API AgUiDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API AgUiDescriptor()=default
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API AgUiDescriptor(Aws::Utils::Json::JsonView jsonValue)
AgUiDescriptor & WithSource(SourceT &&value)
const DescriptorSource & GetSource() const
Aws::Utils::Json::JsonValue JsonValue