AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Evaluation.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ComplianceType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ConfigService {
22namespace Model {
23
32 public:
33 AWS_CONFIGSERVICE_API Evaluation() = default;
34 AWS_CONFIGSERVICE_API Evaluation(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONFIGSERVICE_API Evaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetComplianceResourceType() const { return m_complianceResourceType; }
43 inline bool ComplianceResourceTypeHasBeenSet() const { return m_complianceResourceTypeHasBeenSet; }
44 template <typename ComplianceResourceTypeT = Aws::String>
45 void SetComplianceResourceType(ComplianceResourceTypeT&& value) {
46 m_complianceResourceTypeHasBeenSet = true;
47 m_complianceResourceType = std::forward<ComplianceResourceTypeT>(value);
48 }
49 template <typename ComplianceResourceTypeT = Aws::String>
50 Evaluation& WithComplianceResourceType(ComplianceResourceTypeT&& value) {
51 SetComplianceResourceType(std::forward<ComplianceResourceTypeT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetComplianceResourceId() const { return m_complianceResourceId; }
61 inline bool ComplianceResourceIdHasBeenSet() const { return m_complianceResourceIdHasBeenSet; }
62 template <typename ComplianceResourceIdT = Aws::String>
63 void SetComplianceResourceId(ComplianceResourceIdT&& value) {
64 m_complianceResourceIdHasBeenSet = true;
65 m_complianceResourceId = std::forward<ComplianceResourceIdT>(value);
66 }
67 template <typename ComplianceResourceIdT = Aws::String>
68 Evaluation& WithComplianceResourceId(ComplianceResourceIdT&& value) {
69 SetComplianceResourceId(std::forward<ComplianceResourceIdT>(value));
70 return *this;
71 }
73
75
86 inline ComplianceType GetComplianceType() const { return m_complianceType; }
87 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
88 inline void SetComplianceType(ComplianceType value) {
89 m_complianceTypeHasBeenSet = true;
90 m_complianceType = value;
91 }
93 SetComplianceType(value);
94 return *this;
95 }
97
99
103 inline const Aws::String& GetAnnotation() const { return m_annotation; }
104 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
105 template <typename AnnotationT = Aws::String>
106 void SetAnnotation(AnnotationT&& value) {
107 m_annotationHasBeenSet = true;
108 m_annotation = std::forward<AnnotationT>(value);
109 }
110 template <typename AnnotationT = Aws::String>
111 Evaluation& WithAnnotation(AnnotationT&& value) {
112 SetAnnotation(std::forward<AnnotationT>(value));
113 return *this;
114 }
116
118
125 inline const Aws::Utils::DateTime& GetOrderingTimestamp() const { return m_orderingTimestamp; }
126 inline bool OrderingTimestampHasBeenSet() const { return m_orderingTimestampHasBeenSet; }
127 template <typename OrderingTimestampT = Aws::Utils::DateTime>
128 void SetOrderingTimestamp(OrderingTimestampT&& value) {
129 m_orderingTimestampHasBeenSet = true;
130 m_orderingTimestamp = std::forward<OrderingTimestampT>(value);
131 }
132 template <typename OrderingTimestampT = Aws::Utils::DateTime>
133 Evaluation& WithOrderingTimestamp(OrderingTimestampT&& value) {
134 SetOrderingTimestamp(std::forward<OrderingTimestampT>(value));
135 return *this;
136 }
138 private:
139 Aws::String m_complianceResourceType;
140
141 Aws::String m_complianceResourceId;
142
143 ComplianceType m_complianceType{ComplianceType::NOT_SET};
144
145 Aws::String m_annotation;
146
147 Aws::Utils::DateTime m_orderingTimestamp{};
148 bool m_complianceResourceTypeHasBeenSet = false;
149 bool m_complianceResourceIdHasBeenSet = false;
150 bool m_complianceTypeHasBeenSet = false;
151 bool m_annotationHasBeenSet = false;
152 bool m_orderingTimestampHasBeenSet = false;
153};
154
155} // namespace Model
156} // namespace ConfigService
157} // namespace Aws
void SetComplianceResourceId(ComplianceResourceIdT &&value)
Definition Evaluation.h:63
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnnotation(AnnotationT &&value)
Definition Evaluation.h:106
ComplianceType GetComplianceType() const
Definition Evaluation.h:86
void SetOrderingTimestamp(OrderingTimestampT &&value)
Definition Evaluation.h:128
const Aws::String & GetAnnotation() const
Definition Evaluation.h:103
const Aws::String & GetComplianceResourceId() const
Definition Evaluation.h:60
Evaluation & WithComplianceType(ComplianceType value)
Definition Evaluation.h:92
const Aws::String & GetComplianceResourceType() const
Definition Evaluation.h:42
void SetComplianceResourceType(ComplianceResourceTypeT &&value)
Definition Evaluation.h:45
AWS_CONFIGSERVICE_API Evaluation()=default
Evaluation & WithComplianceResourceId(ComplianceResourceIdT &&value)
Definition Evaluation.h:68
Evaluation & WithOrderingTimestamp(OrderingTimestampT &&value)
Definition Evaluation.h:133
AWS_CONFIGSERVICE_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetOrderingTimestamp() const
Definition Evaluation.h:125
void SetComplianceType(ComplianceType value)
Definition Evaluation.h:88
Evaluation & WithComplianceResourceType(ComplianceResourceTypeT &&value)
Definition Evaluation.h:50
Evaluation & WithAnnotation(AnnotationT &&value)
Definition Evaluation.h:111
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue