AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluationResultQualifier.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 <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
35 {
36 public:
37 AWS_CONFIGSERVICE_API EvaluationResultQualifier();
38 AWS_CONFIGSERVICE_API EvaluationResultQualifier(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
48 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
49 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
50 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
51 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
52 inline EvaluationResultQualifier& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
53 inline EvaluationResultQualifier& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
54 inline EvaluationResultQualifier& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
56
58
61 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
62 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
63 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
64 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
65 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
66 inline EvaluationResultQualifier& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
67 inline EvaluationResultQualifier& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
68 inline EvaluationResultQualifier& WithResourceType(const char* value) { SetResourceType(value); return *this;}
70
72
75 inline const Aws::String& GetResourceId() const{ return m_resourceId; }
76 inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; }
77 inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; }
78 inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); }
79 inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); }
80 inline EvaluationResultQualifier& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;}
81 inline EvaluationResultQualifier& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;}
82 inline EvaluationResultQualifier& WithResourceId(const char* value) { SetResourceId(value); return *this;}
84
86
89 inline const EvaluationMode& GetEvaluationMode() const{ return m_evaluationMode; }
90 inline bool EvaluationModeHasBeenSet() const { return m_evaluationModeHasBeenSet; }
91 inline void SetEvaluationMode(const EvaluationMode& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = value; }
92 inline void SetEvaluationMode(EvaluationMode&& value) { m_evaluationModeHasBeenSet = true; m_evaluationMode = std::move(value); }
94 inline EvaluationResultQualifier& WithEvaluationMode(EvaluationMode&& value) { SetEvaluationMode(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_configRuleName;
99 bool m_configRuleNameHasBeenSet = false;
100
101 Aws::String m_resourceType;
102 bool m_resourceTypeHasBeenSet = false;
103
104 Aws::String m_resourceId;
105 bool m_resourceIdHasBeenSet = false;
106
107 EvaluationMode m_evaluationMode;
108 bool m_evaluationModeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ConfigService
113} // namespace Aws
EvaluationResultQualifier & WithResourceId(Aws::String &&value)
AWS_CONFIGSERVICE_API EvaluationResultQualifier(Aws::Utils::Json::JsonView jsonValue)
EvaluationResultQualifier & WithResourceType(Aws::String &&value)
EvaluationResultQualifier & WithResourceId(const Aws::String &value)
EvaluationResultQualifier & WithConfigRuleName(Aws::String &&value)
EvaluationResultQualifier & WithEvaluationMode(const EvaluationMode &value)
AWS_CONFIGSERVICE_API EvaluationResultQualifier & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluationResultQualifier & WithConfigRuleName(const Aws::String &value)
EvaluationResultQualifier & WithConfigRuleName(const char *value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
EvaluationResultQualifier & WithEvaluationMode(EvaluationMode &&value)
EvaluationResultQualifier & WithResourceType(const char *value)
EvaluationResultQualifier & WithResourceType(const Aws::String &value)
EvaluationResultQualifier & WithResourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue