AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourceEvaluation.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/EvaluationMode.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
34 {
35 public:
36 AWS_CONFIGSERVICE_API ResourceEvaluation();
37 AWS_CONFIGSERVICE_API ResourceEvaluation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API ResourceEvaluation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetResourceEvaluationId() const{ return m_resourceEvaluationId; }
47 inline bool ResourceEvaluationIdHasBeenSet() const { return m_resourceEvaluationIdHasBeenSet; }
48 inline void SetResourceEvaluationId(const Aws::String& value) { m_resourceEvaluationIdHasBeenSet = true; m_resourceEvaluationId = value; }
49 inline void SetResourceEvaluationId(Aws::String&& value) { m_resourceEvaluationIdHasBeenSet = true; m_resourceEvaluationId = std::move(value); }
50 inline void SetResourceEvaluationId(const char* value) { m_resourceEvaluationIdHasBeenSet = true; m_resourceEvaluationId.assign(value); }
52 inline ResourceEvaluation& WithResourceEvaluationId(Aws::String&& value) { SetResourceEvaluationId(std::move(value)); return *this;}
53 inline ResourceEvaluation& WithResourceEvaluationId(const char* value) { SetResourceEvaluationId(value); return *this;}
55
57
60 inline const EvaluationMode& GetEvaluationMode() const{ return m_evaluationMode; }
61 inline bool EvaluationModeHasBeenSet() const { return m_evaluationModeHasBeenSet; }
62 inline void SetEvaluationMode(const EvaluationMode& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = value; }
63 inline void SetEvaluationMode(EvaluationMode&& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = std::move(value); }
64 inline ResourceEvaluation& WithEvaluationMode(const EvaluationMode& value) { SetEvaluationMode(value); return *this;}
65 inline ResourceEvaluation& WithEvaluationMode(EvaluationMode&& value) { SetEvaluationMode(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetEvaluationStartTimestamp() const{ return m_evaluationStartTimestamp; }
73 inline bool EvaluationStartTimestampHasBeenSet() const { return m_evaluationStartTimestampHasBeenSet; }
74 inline void SetEvaluationStartTimestamp(const Aws::Utils::DateTime& value) { m_evaluationStartTimestampHasBeenSet = true; m_evaluationStartTimestamp = value; }
75 inline void SetEvaluationStartTimestamp(Aws::Utils::DateTime&& value) { m_evaluationStartTimestampHasBeenSet = true; m_evaluationStartTimestamp = std::move(value); }
79 private:
80
81 Aws::String m_resourceEvaluationId;
82 bool m_resourceEvaluationIdHasBeenSet = false;
83
84 EvaluationMode m_evaluationMode;
85 bool m_evaluationModeHasBeenSet = false;
86
87 Aws::Utils::DateTime m_evaluationStartTimestamp;
88 bool m_evaluationStartTimestampHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ConfigService
93} // namespace Aws
ResourceEvaluation & WithResourceEvaluationId(Aws::String &&value)
const EvaluationMode & GetEvaluationMode() const
AWS_CONFIGSERVICE_API ResourceEvaluation(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluationStartTimestamp(const Aws::Utils::DateTime &value)
AWS_CONFIGSERVICE_API ResourceEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
ResourceEvaluation & WithResourceEvaluationId(const char *value)
ResourceEvaluation & WithResourceEvaluationId(const Aws::String &value)
ResourceEvaluation & WithEvaluationStartTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetResourceEvaluationId() const
ResourceEvaluation & WithEvaluationMode(EvaluationMode &&value)
ResourceEvaluation & WithEvaluationStartTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetEvaluationStartTimestamp() const
void SetEvaluationMode(const EvaluationMode &value)
void SetEvaluationStartTimestamp(Aws::Utils::DateTime &&value)
void SetResourceEvaluationId(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceEvaluation & WithEvaluationMode(const EvaluationMode &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue