AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Resource.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_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 AuditManager
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_AUDITMANAGER_API Resource();
36 AWS_AUDITMANAGER_API Resource(Aws::Utils::Json::JsonView jsonValue);
37 AWS_AUDITMANAGER_API Resource& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline Resource& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline Resource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline Resource& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline const Aws::String& GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
62 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
63 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
64 inline Resource& WithValue(const Aws::String& value) { SetValue(value); return *this;}
65 inline Resource& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
66 inline Resource& WithValue(const char* value) { SetValue(value); return *this;}
68
70
84 inline const Aws::String& GetComplianceCheck() const{ return m_complianceCheck; }
85 inline bool ComplianceCheckHasBeenSet() const { return m_complianceCheckHasBeenSet; }
86 inline void SetComplianceCheck(const Aws::String& value) { m_complianceCheckHasBeenSet = true; m_complianceCheck = value; }
87 inline void SetComplianceCheck(Aws::String&& value) { m_complianceCheckHasBeenSet = true; m_complianceCheck = std::move(value); }
88 inline void SetComplianceCheck(const char* value) { m_complianceCheckHasBeenSet = true; m_complianceCheck.assign(value); }
89 inline Resource& WithComplianceCheck(const Aws::String& value) { SetComplianceCheck(value); return *this;}
90 inline Resource& WithComplianceCheck(Aws::String&& value) { SetComplianceCheck(std::move(value)); return *this;}
91 inline Resource& WithComplianceCheck(const char* value) { SetComplianceCheck(value); return *this;}
93 private:
94
95 Aws::String m_arn;
96 bool m_arnHasBeenSet = false;
97
98 Aws::String m_value;
99 bool m_valueHasBeenSet = false;
100
101 Aws::String m_complianceCheck;
102 bool m_complianceCheckHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace AuditManager
107} // namespace Aws
Resource & WithValue(Aws::String &&value)
Definition Resource.h:65
Resource & WithArn(const Aws::String &value)
Definition Resource.h:50
void SetComplianceCheck(const char *value)
Definition Resource.h:88
Resource & WithValue(const Aws::String &value)
Definition Resource.h:64
void SetComplianceCheck(Aws::String &&value)
Definition Resource.h:87
const Aws::String & GetComplianceCheck() const
Definition Resource.h:84
const Aws::String & GetValue() const
Definition Resource.h:59
Resource & WithArn(const char *value)
Definition Resource.h:52
void SetValue(const Aws::String &value)
Definition Resource.h:61
AWS_AUDITMANAGER_API Resource(Aws::Utils::Json::JsonView jsonValue)
Resource & WithArn(Aws::String &&value)
Definition Resource.h:51
void SetValue(Aws::String &&value)
Definition Resource.h:62
AWS_AUDITMANAGER_API Resource()
void SetArn(const char *value)
Definition Resource.h:49
Resource & WithComplianceCheck(Aws::String &&value)
Definition Resource.h:90
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComplianceCheck(const Aws::String &value)
Definition Resource.h:86
void SetArn(const Aws::String &value)
Definition Resource.h:47
Resource & WithComplianceCheck(const Aws::String &value)
Definition Resource.h:89
void SetValue(const char *value)
Definition Resource.h:63
AWS_AUDITMANAGER_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & WithValue(const char *value)
Definition Resource.h:66
const Aws::String & GetArn() const
Definition Resource.h:45
Resource & WithComplianceCheck(const char *value)
Definition Resource.h:91
void SetArn(Aws::String &&value)
Definition Resource.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue