AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
Mapping.h
1
6#pragma once
7#include <aws/controlcatalog/ControlCatalog_EXPORTS.h>
8#include <aws/controlcatalog/model/FrameworkMappingDetails.h>
9#include <aws/controlcatalog/model/CommonControlMappingDetails.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ControlCatalog
23{
24namespace Model
25{
26
33 class Mapping
34 {
35 public:
36 AWS_CONTROLCATALOG_API Mapping() = default;
37 AWS_CONTROLCATALOG_API Mapping(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONTROLCATALOG_API Mapping& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const FrameworkMappingDetails& GetFramework() const { return m_framework; }
48 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
49 template<typename FrameworkT = FrameworkMappingDetails>
50 void SetFramework(FrameworkT&& value) { m_frameworkHasBeenSet = true; m_framework = std::forward<FrameworkT>(value); }
51 template<typename FrameworkT = FrameworkMappingDetails>
52 Mapping& WithFramework(FrameworkT&& value) { SetFramework(std::forward<FrameworkT>(value)); return *this;}
54
56
60 inline const CommonControlMappingDetails& GetCommonControl() const { return m_commonControl; }
61 inline bool CommonControlHasBeenSet() const { return m_commonControlHasBeenSet; }
62 template<typename CommonControlT = CommonControlMappingDetails>
63 void SetCommonControl(CommonControlT&& value) { m_commonControlHasBeenSet = true; m_commonControl = std::forward<CommonControlT>(value); }
64 template<typename CommonControlT = CommonControlMappingDetails>
65 Mapping& WithCommonControl(CommonControlT&& value) { SetCommonControl(std::forward<CommonControlT>(value)); return *this;}
67 private:
68
69 FrameworkMappingDetails m_framework;
70 bool m_frameworkHasBeenSet = false;
71
72 CommonControlMappingDetails m_commonControl;
73 bool m_commonControlHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ControlCatalog
78} // namespace Aws
AWS_CONTROLCATALOG_API Mapping & operator=(Aws::Utils::Json::JsonView jsonValue)
const CommonControlMappingDetails & GetCommonControl() const
Definition Mapping.h:60
void SetFramework(FrameworkT &&value)
Definition Mapping.h:50
AWS_CONTROLCATALOG_API Mapping(Aws::Utils::Json::JsonView jsonValue)
void SetCommonControl(CommonControlT &&value)
Definition Mapping.h:63
AWS_CONTROLCATALOG_API Aws::Utils::Json::JsonValue Jsonize() const
Mapping & WithCommonControl(CommonControlT &&value)
Definition Mapping.h:65
const FrameworkMappingDetails & GetFramework() const
Definition Mapping.h:47
AWS_CONTROLCATALOG_API Mapping()=default
Mapping & WithFramework(FrameworkT &&value)
Definition Mapping.h:52
Aws::Utils::Json::JsonValue JsonValue