AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
ControlReferenceDetail.h
1
6#pragma once
7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/LinkSource.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace Assurance {
21namespace Model {
22
30 public:
31 AWS_ASSURANCE_API ControlReferenceDetail() = default;
32 AWS_ASSURANCE_API ControlReferenceDetail(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_ASSURANCE_API ControlReferenceDetail& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const Aws::String& GetFramework() const { return m_framework; }
41 inline bool FrameworkHasBeenSet() const { return m_frameworkHasBeenSet; }
42 template <typename FrameworkT = Aws::String>
43 void SetFramework(FrameworkT&& value) {
44 m_frameworkHasBeenSet = true;
45 m_framework = std::forward<FrameworkT>(value);
46 }
47 template <typename FrameworkT = Aws::String>
49 SetFramework(std::forward<FrameworkT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetFrameworkVersion() const { return m_frameworkVersion; }
59 inline bool FrameworkVersionHasBeenSet() const { return m_frameworkVersionHasBeenSet; }
60 template <typename FrameworkVersionT = Aws::String>
61 void SetFrameworkVersion(FrameworkVersionT&& value) {
62 m_frameworkVersionHasBeenSet = true;
63 m_frameworkVersion = std::forward<FrameworkVersionT>(value);
64 }
65 template <typename FrameworkVersionT = Aws::String>
66 ControlReferenceDetail& WithFrameworkVersion(FrameworkVersionT&& value) {
67 SetFrameworkVersion(std::forward<FrameworkVersionT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetControlId() const { return m_controlId; }
77 inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; }
78 template <typename ControlIdT = Aws::String>
79 void SetControlId(ControlIdT&& value) {
80 m_controlIdHasBeenSet = true;
81 m_controlId = std::forward<ControlIdT>(value);
82 }
83 template <typename ControlIdT = Aws::String>
85 SetControlId(std::forward<ControlIdT>(value));
86 return *this;
87 }
89
91
97 inline LinkSource GetLinkSource() const { return m_linkSource; }
98 inline bool LinkSourceHasBeenSet() const { return m_linkSourceHasBeenSet; }
99 inline void SetLinkSource(LinkSource value) {
100 m_linkSourceHasBeenSet = true;
101 m_linkSource = value;
102 }
104 SetLinkSource(value);
105 return *this;
106 }
108 private:
109 Aws::String m_framework;
110
111 Aws::String m_frameworkVersion;
112
113 Aws::String m_controlId;
114
115 LinkSource m_linkSource{LinkSource::NOT_SET};
116 bool m_frameworkHasBeenSet = false;
117 bool m_frameworkVersionHasBeenSet = false;
118 bool m_controlIdHasBeenSet = false;
119 bool m_linkSourceHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Assurance
124} // namespace Aws
AWS_ASSURANCE_API ControlReferenceDetail(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ControlReferenceDetail & WithFrameworkVersion(FrameworkVersionT &&value)
void SetFrameworkVersion(FrameworkVersionT &&value)
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ControlReferenceDetail & WithFramework(FrameworkT &&value)
ControlReferenceDetail & WithControlId(ControlIdT &&value)
ControlReferenceDetail & WithLinkSource(LinkSource value)
AWS_ASSURANCE_API ControlReferenceDetail & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_ASSURANCE_API ControlReferenceDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String