AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
DescriptorSource.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/DescriptorSourceFromUrl.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 DescriptorSource() = default;
31 AWS_AGENTREGISTRYCONTROL_API DescriptorSource(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AGENTREGISTRYCONTROL_API DescriptorSource& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const DescriptorSourceFromUrl& GetFromUrl() const { return m_fromUrl; }
41 inline bool FromUrlHasBeenSet() const { return m_fromUrlHasBeenSet; }
42 template <typename FromUrlT = DescriptorSourceFromUrl>
43 void SetFromUrl(FromUrlT&& value) {
44 m_fromUrlHasBeenSet = true;
45 m_fromUrl = std::forward<FromUrlT>(value);
46 }
47 template <typename FromUrlT = DescriptorSourceFromUrl>
48 DescriptorSource& WithFromUrl(FromUrlT&& value) {
49 SetFromUrl(std::forward<FromUrlT>(value));
50 return *this;
51 }
53 private:
55 bool m_fromUrlHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace AgentRegistryControl
60} // namespace Aws
const DescriptorSourceFromUrl & GetFromUrl() const
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API DescriptorSource()=default
AWS_AGENTREGISTRYCONTROL_API DescriptorSource(Aws::Utils::Json::JsonView jsonValue)
DescriptorSource & WithFromUrl(FromUrlT &&value)
AWS_AGENTREGISTRYCONTROL_API DescriptorSource & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue