AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExternalEvaluation.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 ExternalEvaluation() = default;
39 AWS_CONFIGSERVICE_API ExternalEvaluation(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONFIGSERVICE_API ExternalEvaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetComplianceResourceType() const { return m_complianceResourceType; }
50 inline bool ComplianceResourceTypeHasBeenSet() const { return m_complianceResourceTypeHasBeenSet; }
51 template<typename ComplianceResourceTypeT = Aws::String>
52 void SetComplianceResourceType(ComplianceResourceTypeT&& value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType = std::forward<ComplianceResourceTypeT>(value); }
53 template<typename ComplianceResourceTypeT = Aws::String>
54 ExternalEvaluation& WithComplianceResourceType(ComplianceResourceTypeT&& value) { SetComplianceResourceType(std::forward<ComplianceResourceTypeT>(value)); return *this;}
56
58
62 inline const Aws::String& GetComplianceResourceId() const { return m_complianceResourceId; }
63 inline bool ComplianceResourceIdHasBeenSet() const { return m_complianceResourceIdHasBeenSet; }
64 template<typename ComplianceResourceIdT = Aws::String>
65 void SetComplianceResourceId(ComplianceResourceIdT&& value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId = std::forward<ComplianceResourceIdT>(value); }
66 template<typename ComplianceResourceIdT = Aws::String>
67 ExternalEvaluation& WithComplianceResourceId(ComplianceResourceIdT&& value) { SetComplianceResourceId(std::forward<ComplianceResourceIdT>(value)); return *this;}
69
71
75 inline ComplianceType GetComplianceType() const { return m_complianceType; }
76 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
77 inline void SetComplianceType(ComplianceType value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
80
82
86 inline const Aws::String& GetAnnotation() const { return m_annotation; }
87 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
88 template<typename AnnotationT = Aws::String>
89 void SetAnnotation(AnnotationT&& value) { m_annotationHasBeenSet = true; m_annotation = std::forward<AnnotationT>(value); }
90 template<typename AnnotationT = Aws::String>
91 ExternalEvaluation& WithAnnotation(AnnotationT&& value) { SetAnnotation(std::forward<AnnotationT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetOrderingTimestamp() const { return m_orderingTimestamp; }
99 inline bool OrderingTimestampHasBeenSet() const { return m_orderingTimestampHasBeenSet; }
100 template<typename OrderingTimestampT = Aws::Utils::DateTime>
101 void SetOrderingTimestamp(OrderingTimestampT&& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = std::forward<OrderingTimestampT>(value); }
102 template<typename OrderingTimestampT = Aws::Utils::DateTime>
103 ExternalEvaluation& WithOrderingTimestamp(OrderingTimestampT&& value) { SetOrderingTimestamp(std::forward<OrderingTimestampT>(value)); return *this;}
105 private:
106
107 Aws::String m_complianceResourceType;
108 bool m_complianceResourceTypeHasBeenSet = false;
109
110 Aws::String m_complianceResourceId;
111 bool m_complianceResourceIdHasBeenSet = false;
112
113 ComplianceType m_complianceType{ComplianceType::NOT_SET};
114 bool m_complianceTypeHasBeenSet = false;
115
116 Aws::String m_annotation;
117 bool m_annotationHasBeenSet = false;
118
119 Aws::Utils::DateTime m_orderingTimestamp{};
120 bool m_orderingTimestampHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace ConfigService
125} // namespace Aws
AWS_CONFIGSERVICE_API ExternalEvaluation(Aws::Utils::Json::JsonView jsonValue)
void SetOrderingTimestamp(OrderingTimestampT &&value)
ExternalEvaluation & WithComplianceResourceType(ComplianceResourceTypeT &&value)
AWS_CONFIGSERVICE_API ExternalEvaluation()=default
AWS_CONFIGSERVICE_API ExternalEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalEvaluation & WithComplianceType(ComplianceType value)
const Aws::String & GetComplianceResourceId() const
const Aws::String & GetComplianceResourceType() const
void SetComplianceResourceType(ComplianceResourceTypeT &&value)
const Aws::Utils::DateTime & GetOrderingTimestamp() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalEvaluation & WithComplianceResourceId(ComplianceResourceIdT &&value)
void SetComplianceResourceId(ComplianceResourceIdT &&value)
ExternalEvaluation & WithOrderingTimestamp(OrderingTimestampT &&value)
ExternalEvaluation & WithAnnotation(AnnotationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue