AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Evaluation.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/ComplianceType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConfigService
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_CONFIGSERVICE_API Evaluation() = default;
39 AWS_CONFIGSERVICE_API Evaluation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONFIGSERVICE_API Evaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetComplianceResourceType() const { return m_complianceResourceType; }
49 inline bool ComplianceResourceTypeHasBeenSet() const { return m_complianceResourceTypeHasBeenSet; }
50 template<typename ComplianceResourceTypeT = Aws::String>
51 void SetComplianceResourceType(ComplianceResourceTypeT&& value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType = std::forward<ComplianceResourceTypeT>(value); }
52 template<typename ComplianceResourceTypeT = Aws::String>
53 Evaluation& WithComplianceResourceType(ComplianceResourceTypeT&& value) { SetComplianceResourceType(std::forward<ComplianceResourceTypeT>(value)); return *this;}
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) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId = std::forward<ComplianceResourceIdT>(value); }
64 template<typename ComplianceResourceIdT = Aws::String>
65 Evaluation& WithComplianceResourceId(ComplianceResourceIdT&& value) { SetComplianceResourceId(std::forward<ComplianceResourceIdT>(value)); return *this;}
67
69
80 inline ComplianceType GetComplianceType() const { return m_complianceType; }
81 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
82 inline void SetComplianceType(ComplianceType value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
83 inline Evaluation& WithComplianceType(ComplianceType value) { SetComplianceType(value); return *this;}
85
87
91 inline const Aws::String& GetAnnotation() const { return m_annotation; }
92 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
93 template<typename AnnotationT = Aws::String>
94 void SetAnnotation(AnnotationT&& value) { m_annotationHasBeenSet = true; m_annotation = std::forward<AnnotationT>(value); }
95 template<typename AnnotationT = Aws::String>
96 Evaluation& WithAnnotation(AnnotationT&& value) { SetAnnotation(std::forward<AnnotationT>(value)); return *this;}
98
100
107 inline const Aws::Utils::DateTime& GetOrderingTimestamp() const { return m_orderingTimestamp; }
108 inline bool OrderingTimestampHasBeenSet() const { return m_orderingTimestampHasBeenSet; }
109 template<typename OrderingTimestampT = Aws::Utils::DateTime>
110 void SetOrderingTimestamp(OrderingTimestampT&& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = std::forward<OrderingTimestampT>(value); }
111 template<typename OrderingTimestampT = Aws::Utils::DateTime>
112 Evaluation& WithOrderingTimestamp(OrderingTimestampT&& value) { SetOrderingTimestamp(std::forward<OrderingTimestampT>(value)); return *this;}
114 private:
115
116 Aws::String m_complianceResourceType;
117 bool m_complianceResourceTypeHasBeenSet = false;
118
119 Aws::String m_complianceResourceId;
120 bool m_complianceResourceIdHasBeenSet = false;
121
122 ComplianceType m_complianceType{ComplianceType::NOT_SET};
123 bool m_complianceTypeHasBeenSet = false;
124
125 Aws::String m_annotation;
126 bool m_annotationHasBeenSet = false;
127
128 Aws::Utils::DateTime m_orderingTimestamp{};
129 bool m_orderingTimestampHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace ConfigService
134} // 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:94
ComplianceType GetComplianceType() const
Definition Evaluation.h:80
void SetOrderingTimestamp(OrderingTimestampT &&value)
Definition Evaluation.h:110
const Aws::String & GetAnnotation() const
Definition Evaluation.h:91
const Aws::String & GetComplianceResourceId() const
Definition Evaluation.h:60
Evaluation & WithComplianceType(ComplianceType value)
Definition Evaluation.h:83
const Aws::String & GetComplianceResourceType() const
Definition Evaluation.h:48
void SetComplianceResourceType(ComplianceResourceTypeT &&value)
Definition Evaluation.h:51
AWS_CONFIGSERVICE_API Evaluation()=default
Evaluation & WithComplianceResourceId(ComplianceResourceIdT &&value)
Definition Evaluation.h:65
Evaluation & WithOrderingTimestamp(OrderingTimestampT &&value)
Definition Evaluation.h:112
AWS_CONFIGSERVICE_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetOrderingTimestamp() const
Definition Evaluation.h:107
void SetComplianceType(ComplianceType value)
Definition Evaluation.h:82
Evaluation & WithComplianceResourceType(ComplianceResourceTypeT &&value)
Definition Evaluation.h:53
Evaluation & WithAnnotation(AnnotationT &&value)
Definition Evaluation.h:96
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue