AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
UpdatedDescriptorSource.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 UpdatedDescriptorSource() = default;
32 AWS_AGENTREGISTRYCONTROL_API UpdatedDescriptorSource(Aws::Utils::Json::JsonView jsonValue);
33 AWS_AGENTREGISTRYCONTROL_API UpdatedDescriptorSource& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const DescriptorSource& GetOptionalValue() const { return m_optionalValue; }
42 inline bool OptionalValueHasBeenSet() const { return m_optionalValueHasBeenSet; }
43 template <typename OptionalValueT = DescriptorSource>
44 void SetOptionalValue(OptionalValueT&& value) {
45 m_optionalValueHasBeenSet = true;
46 m_optionalValue = std::forward<OptionalValueT>(value);
47 }
48 template <typename OptionalValueT = DescriptorSource>
49 UpdatedDescriptorSource& WithOptionalValue(OptionalValueT&& value) {
50 SetOptionalValue(std::forward<OptionalValueT>(value));
51 return *this;
52 }
54 private:
55 DescriptorSource m_optionalValue;
56 bool m_optionalValueHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace AgentRegistryControl
61} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API UpdatedDescriptorSource & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdatedDescriptorSource & WithOptionalValue(OptionalValueT &&value)
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API UpdatedDescriptorSource()=default
AWS_AGENTREGISTRYCONTROL_API UpdatedDescriptorSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue