AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationStatus.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ResourceEvaluationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ConfigService
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CONFIGSERVICE_API EvaluationStatus();
36 AWS_CONFIGSERVICE_API EvaluationStatus(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONFIGSERVICE_API EvaluationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ResourceEvaluationStatus& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const ResourceEvaluationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(ResourceEvaluationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline EvaluationStatus& WithStatus(const ResourceEvaluationStatus& value) { SetStatus(value); return *this;}
51 inline EvaluationStatus& WithStatus(ResourceEvaluationStatus&& value) { SetStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
59 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
60 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
61 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
62 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
63 inline EvaluationStatus& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
64 inline EvaluationStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
65 inline EvaluationStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
67 private:
68
70 bool m_statusHasBeenSet = false;
71
72 Aws::String m_failureReason;
73 bool m_failureReasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ConfigService
78} // namespace Aws
EvaluationStatus & WithFailureReason(const char *value)
EvaluationStatus & WithFailureReason(Aws::String &&value)
void SetStatus(ResourceEvaluationStatus &&value)
const ResourceEvaluationStatus & GetStatus() const
const Aws::String & GetFailureReason() const
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONFIGSERVICE_API EvaluationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationStatus & WithFailureReason(const Aws::String &value)
EvaluationStatus & WithStatus(ResourceEvaluationStatus &&value)
AWS_CONFIGSERVICE_API EvaluationStatus(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const ResourceEvaluationStatus &value)
EvaluationStatus & WithStatus(const ResourceEvaluationStatus &value)
void SetFailureReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue