AWS SDK for C++

AWS SDK for C++ Version 1.11.883

Loading...
Searching...
No Matches
HttpDescriptor.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
30 public:
31 AWS_AGENTREGISTRYCONTROL_API HttpDescriptor() = default;
32 AWS_AGENTREGISTRYCONTROL_API HttpDescriptor(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API HttpDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const DescriptorSource& GetSource() const { return m_source; }
39 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
40 template <typename SourceT = DescriptorSource>
41 void SetSource(SourceT&& value) {
42 m_sourceHasBeenSet = true;
43 m_source = std::forward<SourceT>(value);
44 }
45 template <typename SourceT = DescriptorSource>
46 HttpDescriptor& WithSource(SourceT&& value) {
47 SetSource(std::forward<SourceT>(value));
48 return *this;
49 }
51 private:
52 DescriptorSource m_source;
53 bool m_sourceHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace AgentRegistryControl
58} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API HttpDescriptor(Aws::Utils::Json::JsonView jsonValue)
HttpDescriptor & WithSource(SourceT &&value)
AWS_AGENTREGISTRYCONTROL_API HttpDescriptor()=default
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
const DescriptorSource & GetSource() const
AWS_AGENTREGISTRYCONTROL_API HttpDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue