AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReadOnlyFieldInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/TaskTemplateFieldIdentifier.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CONNECT_API ReadOnlyFieldInfo();
38 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TaskTemplateFieldIdentifier& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const TaskTemplateFieldIdentifier& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(TaskTemplateFieldIdentifier&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline ReadOnlyFieldInfo& WithId(const TaskTemplateFieldIdentifier& value) { SetId(value); return *this;}
50 inline ReadOnlyFieldInfo& WithId(TaskTemplateFieldIdentifier&& value) { SetId(std::move(value)); return *this;}
52 private:
53
55 bool m_idHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Connect
60} // namespace Aws
AWS_CONNECT_API ReadOnlyFieldInfo(Aws::Utils::Json::JsonView jsonValue)
void SetId(TaskTemplateFieldIdentifier &&value)
const TaskTemplateFieldIdentifier & GetId() const
ReadOnlyFieldInfo & WithId(const TaskTemplateFieldIdentifier &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API ReadOnlyFieldInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ReadOnlyFieldInfo & WithId(TaskTemplateFieldIdentifier &&value)
void SetId(const TaskTemplateFieldIdentifier &value)
Aws::Utils::Json::JsonValue JsonValue