AWS SDK for C++

AWS SDK for C++ Version 1.11.867

Loading...
Searching...
No Matches
CustomDescriptor.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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
28 public:
29 AWS_AGENTREGISTRYCONTROL_API CustomDescriptor() = default;
30 AWS_AGENTREGISTRYCONTROL_API CustomDescriptor(Aws::Utils::Json::JsonView jsonValue);
31 AWS_AGENTREGISTRYCONTROL_API CustomDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
36 inline const Aws::String& GetData() const { return m_data; }
37 inline bool DataHasBeenSet() const { return m_dataHasBeenSet; }
38 template <typename DataT = Aws::String>
39 void SetData(DataT&& value) {
40 m_dataHasBeenSet = true;
41 m_data = std::forward<DataT>(value);
42 }
43 template <typename DataT = Aws::String>
44 CustomDescriptor& WithData(DataT&& value) {
45 SetData(std::forward<DataT>(value));
46 return *this;
47 }
49 private:
50 Aws::String m_data;
51 bool m_dataHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace AgentRegistryControl
56} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API CustomDescriptor(Aws::Utils::Json::JsonView jsonValue)
AWS_AGENTREGISTRYCONTROL_API CustomDescriptor()=default
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AGENTREGISTRYCONTROL_API CustomDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue