AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InspectorServiceAttributes.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INSPECTOR_API InspectorServiceAttributes();
38 AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetSchemaVersion() const{ return m_schemaVersion; }
46 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
47 inline void SetSchemaVersion(int value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
48 inline InspectorServiceAttributes& WithSchemaVersion(int value) { SetSchemaVersion(value); return *this;}
50
52
55 inline const Aws::String& GetAssessmentRunArn() const{ return m_assessmentRunArn; }
56 inline bool AssessmentRunArnHasBeenSet() const { return m_assessmentRunArnHasBeenSet; }
57 inline void SetAssessmentRunArn(const Aws::String& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = value; }
58 inline void SetAssessmentRunArn(Aws::String&& value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn = std::move(value); }
59 inline void SetAssessmentRunArn(const char* value) { m_assessmentRunArnHasBeenSet = true; m_assessmentRunArn.assign(value); }
61 inline InspectorServiceAttributes& WithAssessmentRunArn(Aws::String&& value) { SetAssessmentRunArn(std::move(value)); return *this;}
62 inline InspectorServiceAttributes& WithAssessmentRunArn(const char* value) { SetAssessmentRunArn(value); return *this;}
64
66
69 inline const Aws::String& GetRulesPackageArn() const{ return m_rulesPackageArn; }
70 inline bool RulesPackageArnHasBeenSet() const { return m_rulesPackageArnHasBeenSet; }
71 inline void SetRulesPackageArn(const Aws::String& value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn = value; }
72 inline void SetRulesPackageArn(Aws::String&& value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn = std::move(value); }
73 inline void SetRulesPackageArn(const char* value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn.assign(value); }
75 inline InspectorServiceAttributes& WithRulesPackageArn(Aws::String&& value) { SetRulesPackageArn(std::move(value)); return *this;}
76 inline InspectorServiceAttributes& WithRulesPackageArn(const char* value) { SetRulesPackageArn(value); return *this;}
78 private:
79
80 int m_schemaVersion;
81 bool m_schemaVersionHasBeenSet = false;
82
83 Aws::String m_assessmentRunArn;
84 bool m_assessmentRunArnHasBeenSet = false;
85
86 Aws::String m_rulesPackageArn;
87 bool m_rulesPackageArnHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Inspector
92} // namespace Aws
InspectorServiceAttributes & WithAssessmentRunArn(const char *value)
AWS_INSPECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
InspectorServiceAttributes & WithAssessmentRunArn(const Aws::String &value)
InspectorServiceAttributes & WithRulesPackageArn(const char *value)
AWS_INSPECTOR_API InspectorServiceAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR_API InspectorServiceAttributes(Aws::Utils::Json::JsonView jsonValue)
InspectorServiceAttributes & WithRulesPackageArn(const Aws::String &value)
InspectorServiceAttributes & WithSchemaVersion(int value)
InspectorServiceAttributes & WithAssessmentRunArn(Aws::String &&value)
InspectorServiceAttributes & WithRulesPackageArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue