AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComplianceResourceType(const Aws::String& value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType = value; }
51 inline void SetComplianceResourceType(Aws::String&& value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType = std::move(value); }
52 inline void SetComplianceResourceType(const char* value) { m_complianceResourceTypeHasBeenSet = true; m_complianceResourceType.assign(value); }
53 inline Evaluation& WithComplianceResourceType(const Aws::String& value) { SetComplianceResourceType(value); return *this;}
54 inline Evaluation& WithComplianceResourceType(Aws::String&& value) { SetComplianceResourceType(std::move(value)); return *this;}
55 inline Evaluation& WithComplianceResourceType(const char* value) { SetComplianceResourceType(value); return *this;}
57
59
62 inline const Aws::String& GetComplianceResourceId() const{ return m_complianceResourceId; }
63 inline bool ComplianceResourceIdHasBeenSet() const { return m_complianceResourceIdHasBeenSet; }
64 inline void SetComplianceResourceId(const Aws::String& value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId = value; }
65 inline void SetComplianceResourceId(Aws::String&& value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId = std::move(value); }
66 inline void SetComplianceResourceId(const char* value) { m_complianceResourceIdHasBeenSet = true; m_complianceResourceId.assign(value); }
67 inline Evaluation& WithComplianceResourceId(const Aws::String& value) { SetComplianceResourceId(value); return *this;}
68 inline Evaluation& WithComplianceResourceId(Aws::String&& value) { SetComplianceResourceId(std::move(value)); return *this;}
69 inline Evaluation& WithComplianceResourceId(const char* value) { SetComplianceResourceId(value); return *this;}
71
73
84 inline const ComplianceType& GetComplianceType() const{ return m_complianceType; }
85 inline bool ComplianceTypeHasBeenSet() const { return m_complianceTypeHasBeenSet; }
86 inline void SetComplianceType(const ComplianceType& value) { m_complianceTypeHasBeenSet = true; m_complianceType = value; }
87 inline void SetComplianceType(ComplianceType&& value) { m_complianceTypeHasBeenSet = true; m_complianceType = std::move(value); }
88 inline Evaluation& WithComplianceType(const ComplianceType& value) { SetComplianceType(value); return *this;}
89 inline Evaluation& WithComplianceType(ComplianceType&& value) { SetComplianceType(std::move(value)); return *this;}
91
93
97 inline const Aws::String& GetAnnotation() const{ return m_annotation; }
98 inline bool AnnotationHasBeenSet() const { return m_annotationHasBeenSet; }
99 inline void SetAnnotation(const Aws::String& value) { m_annotationHasBeenSet = true; m_annotation = value; }
100 inline void SetAnnotation(Aws::String&& value) { m_annotationHasBeenSet = true; m_annotation = std::move(value); }
101 inline void SetAnnotation(const char* value) { m_annotationHasBeenSet = true; m_annotation.assign(value); }
102 inline Evaluation& WithAnnotation(const Aws::String& value) { SetAnnotation(value); return *this;}
103 inline Evaluation& WithAnnotation(Aws::String&& value) { SetAnnotation(std::move(value)); return *this;}
104 inline Evaluation& WithAnnotation(const char* value) { SetAnnotation(value); return *this;}
106
108
115 inline const Aws::Utils::DateTime& GetOrderingTimestamp() const{ return m_orderingTimestamp; }
116 inline bool OrderingTimestampHasBeenSet() const { return m_orderingTimestampHasBeenSet; }
117 inline void SetOrderingTimestamp(const Aws::Utils::DateTime& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = value; }
118 inline void SetOrderingTimestamp(Aws::Utils::DateTime&& value) { m_orderingTimestampHasBeenSet = true; m_orderingTimestamp = std::move(value); }
119 inline Evaluation& WithOrderingTimestamp(const Aws::Utils::DateTime& value) { SetOrderingTimestamp(value); return *this;}
120 inline Evaluation& WithOrderingTimestamp(Aws::Utils::DateTime&& value) { SetOrderingTimestamp(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_complianceResourceType;
125 bool m_complianceResourceTypeHasBeenSet = false;
126
127 Aws::String m_complianceResourceId;
128 bool m_complianceResourceIdHasBeenSet = false;
129
130 ComplianceType m_complianceType;
131 bool m_complianceTypeHasBeenSet = false;
132
133 Aws::String m_annotation;
134 bool m_annotationHasBeenSet = false;
135
136 Aws::Utils::DateTime m_orderingTimestamp;
137 bool m_orderingTimestampHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ConfigService
142} // namespace Aws
void SetAnnotation(const Aws::String &value)
Definition Evaluation.h:99
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComplianceResourceId(const Aws::String &value)
Definition Evaluation.h:64
AWS_CONFIGSERVICE_API Evaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
Evaluation & WithOrderingTimestamp(Aws::Utils::DateTime &&value)
Definition Evaluation.h:120
void SetComplianceType(ComplianceType &&value)
Definition Evaluation.h:87
void SetOrderingTimestamp(Aws::Utils::DateTime &&value)
Definition Evaluation.h:118
Evaluation & WithComplianceResourceId(const char *value)
Definition Evaluation.h:69
void SetComplianceType(const ComplianceType &value)
Definition Evaluation.h:86
Evaluation & WithComplianceResourceType(const char *value)
Definition Evaluation.h:55
Evaluation & WithComplianceType(ComplianceType &&value)
Definition Evaluation.h:89
Evaluation & WithComplianceType(const ComplianceType &value)
Definition Evaluation.h:88
const Aws::String & GetAnnotation() const
Definition Evaluation.h:97
const Aws::String & GetComplianceResourceId() const
Definition Evaluation.h:62
void SetAnnotation(const char *value)
Definition Evaluation.h:101
const Aws::String & GetComplianceResourceType() const
Definition Evaluation.h:48
void SetComplianceResourceType(Aws::String &&value)
Definition Evaluation.h:51
void SetComplianceResourceType(const char *value)
Definition Evaluation.h:52
Evaluation & WithOrderingTimestamp(const Aws::Utils::DateTime &value)
Definition Evaluation.h:119
void SetOrderingTimestamp(const Aws::Utils::DateTime &value)
Definition Evaluation.h:117
AWS_CONFIGSERVICE_API Evaluation()
Evaluation & WithComplianceResourceId(const Aws::String &value)
Definition Evaluation.h:67
void SetAnnotation(Aws::String &&value)
Definition Evaluation.h:100
AWS_CONFIGSERVICE_API Evaluation(Aws::Utils::Json::JsonView jsonValue)
Evaluation & WithAnnotation(const Aws::String &value)
Definition Evaluation.h:102
void SetComplianceResourceId(Aws::String &&value)
Definition Evaluation.h:65
Evaluation & WithComplianceResourceId(Aws::String &&value)
Definition Evaluation.h:68
const Aws::Utils::DateTime & GetOrderingTimestamp() const
Definition Evaluation.h:115
Evaluation & WithComplianceResourceType(Aws::String &&value)
Definition Evaluation.h:54
const ComplianceType & GetComplianceType() const
Definition Evaluation.h:84
Evaluation & WithAnnotation(const char *value)
Definition Evaluation.h:104
void SetComplianceResourceType(const Aws::String &value)
Definition Evaluation.h:50
void SetComplianceResourceId(const char *value)
Definition Evaluation.h:66
Evaluation & WithAnnotation(Aws::String &&value)
Definition Evaluation.h:103
Evaluation & WithComplianceResourceType(const Aws::String &value)
Definition Evaluation.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue