AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComplianceResourceType(const Aws::String& value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType = value; }
52 inline void SetComplianceResourceType(Aws::String&& value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType = std::move(value); }
53 inline void SetComplianceResourceType(const char* value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType.assign(value); }
55 inline ExternalEvaluation& WithComplianceResourceType(Aws::String&& value) { SetComplianceResourceType(std::move(value)); return *this;}
56 inline ExternalEvaluation& WithComplianceResourceType(const char* value) { SetComplianceResourceType(value); return *this;}
58
60
64 inline const Aws::String& GetComplianceResourceId() const{ return m_complianceResourceId; }
65 inline bool ComplianceResourceIdHasBeenSet() const { return m_complianceResourceIdHasBeenSet; }
66 inline void SetComplianceResourceId(const Aws::String& value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId = value; }
67 inline void SetComplianceResourceId(Aws::String&& value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId = std::move(value); }
68 inline void SetComplianceResourceId(const char* value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId.assign(value); }
70 inline ExternalEvaluation& WithComplianceResourceId(Aws::String&& value) { SetComplianceResourceId(std::move(value)); return *this;}
71 inline ExternalEvaluation& WithComplianceResourceId(const char* value) { SetComplianceResourceId(value); return *this;}
73
75
79 inline const ComplianceType& GetComplianceType() const{ return m_complianceType; }
80 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
81 inline void SetComplianceType(const ComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
82 inline void SetComplianceType(ComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
83 inline ExternalEvaluation& WithComplianceType(const ComplianceType& value) { SetComplianceType(value); return *this;}
84 inline ExternalEvaluation& WithComplianceType(ComplianceType&& value) { SetComplianceType(std::move(value)); return *this;}
86
88
92 inline const Aws::String& GetAnnotation() const{ return m_annotation; }
93 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
94 inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; }
95 inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); }
96 inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); }
97 inline ExternalEvaluation& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;}
98 inline ExternalEvaluation& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;}
99 inline ExternalEvaluation& WithAnnotation(const char* value) { SetAnnotation(value); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetOrderingTimestamp() const{ return m_orderingTimestamp; }
107 inline bool OrderingTimestampHasBeenSet() const { return m_orderingTimestampHasBeenSet; }
108 inline void SetOrderingTimestamp(const Aws::Utils::DateTime& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = value; }
109 inline void SetOrderingTimestamp(Aws::Utils::DateTime&& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = std::move(value); }
111 inline ExternalEvaluation& WithOrderingTimestamp(Aws::Utils::DateTime&& value) { SetOrderingTimestamp(std::move(value)); return *this;}
113 private:
114
115 Aws::String m_complianceResourceType;
116 bool m_complianceResourceTypeHasBeenSet = false;
117
118 Aws::String m_complianceResourceId;
119 bool m_complianceResourceIdHasBeenSet = false;
120
121 ComplianceType m_complianceType;
122 bool m_complianceTypeHasBeenSet = false;
123
124 Aws::String m_annotation;
125 bool m_annotationHasBeenSet = false;
126
127 Aws::Utils::DateTime m_orderingTimestamp;
128 bool m_orderingTimestampHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace ConfigService
133} // namespace Aws
void SetComplianceResourceId(const Aws::String &value)
ExternalEvaluation & WithComplianceResourceType(const Aws::String &value)
ExternalEvaluation & WithOrderingTimestamp(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ExternalEvaluation(Aws::Utils::Json::JsonView jsonValue)
const ComplianceType & GetComplianceType() const
void SetComplianceResourceType(const Aws::String &value)
ExternalEvaluation & WithComplianceResourceId(const Aws::String &value)
ExternalEvaluation & WithAnnotation(const char *value)
void SetOrderingTimestamp(Aws::Utils::DateTime &&value)
ExternalEvaluation & WithAnnotation(const Aws::String &value)
ExternalEvaluation & WithComplianceResourceId(const char *value)
AWS_CONFIGSERVICE_API ExternalEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalEvaluation & WithComplianceType(const ComplianceType &value)
ExternalEvaluation & WithComplianceType(ComplianceType &&value)
const Aws::String & GetComplianceResourceId() const
const Aws::String & GetComplianceResourceType() const
const Aws::Utils::DateTime & GetOrderingTimestamp() const
void SetComplianceType(const ComplianceType &value)
ExternalEvaluation & WithComplianceResourceType(const char *value)
ExternalEvaluation & WithAnnotation(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrderingTimestamp(const Aws::Utils::DateTime &value)
ExternalEvaluation & WithComplianceResourceType(Aws::String &&value)
ExternalEvaluation & WithComplianceResourceId(Aws::String &&value)
ExternalEvaluation & WithOrderingTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue