AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Settings.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/auditmanager/model/AssessmentReportsDestination.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/auditmanager/model/EvidenceFinderEnablement.h>
12#include <aws/auditmanager/model/DeregistrationPolicy.h>
13#include <aws/auditmanager/model/DefaultExportDestination.h>
14#include <aws/auditmanager/model/Role.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace AuditManager
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_AUDITMANAGER_API Settings();
42 AWS_AUDITMANAGER_API Settings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_AUDITMANAGER_API Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline bool GetIsAwsOrgEnabled() const{ return m_isAwsOrgEnabled; }
52 inline bool IsAwsOrgEnabledHasBeenSet() const { return m_isAwsOrgEnabledHasBeenSet; }
53 inline void SetIsAwsOrgEnabled(bool value) { m_isAwsOrgEnabledHasBeenSet = true; m_isAwsOrgEnabled = value; }
54 inline Settings& WithIsAwsOrgEnabled(bool value) { SetIsAwsOrgEnabled(value); return *this;}
56
58
61 inline const Aws::String& GetSnsTopic() const{ return m_snsTopic; }
62 inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
63 inline void SetSnsTopic(const Aws::String& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
64 inline void SetSnsTopic(Aws::String&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::move(value); }
65 inline void SetSnsTopic(const char* value) { m_snsTopicHasBeenSet = true; m_snsTopic.assign(value); }
66 inline Settings& WithSnsTopic(const Aws::String& value) { SetSnsTopic(value); return *this;}
67 inline Settings& WithSnsTopic(Aws::String&& value) { SetSnsTopic(std::move(value)); return *this;}
68 inline Settings& WithSnsTopic(const char* value) { SetSnsTopic(value); return *this;}
70
72
75 inline const AssessmentReportsDestination& GetDefaultAssessmentReportsDestination() const{ return m_defaultAssessmentReportsDestination; }
76 inline bool DefaultAssessmentReportsDestinationHasBeenSet() const { return m_defaultAssessmentReportsDestinationHasBeenSet; }
77 inline void SetDefaultAssessmentReportsDestination(const AssessmentReportsDestination& value) { m_defaultAssessmentReportsDestinationHasBeenSet = true; m_defaultAssessmentReportsDestination = value; }
78 inline void SetDefaultAssessmentReportsDestination(AssessmentReportsDestination&& value) { m_defaultAssessmentReportsDestinationHasBeenSet = true; m_defaultAssessmentReportsDestination = std::move(value); }
82
84
87 inline const Aws::Vector<Role>& GetDefaultProcessOwners() const{ return m_defaultProcessOwners; }
88 inline bool DefaultProcessOwnersHasBeenSet() const { return m_defaultProcessOwnersHasBeenSet; }
89 inline void SetDefaultProcessOwners(const Aws::Vector<Role>& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners = value; }
90 inline void SetDefaultProcessOwners(Aws::Vector<Role>&& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners = std::move(value); }
91 inline Settings& WithDefaultProcessOwners(const Aws::Vector<Role>& value) { SetDefaultProcessOwners(value); return *this;}
92 inline Settings& WithDefaultProcessOwners(Aws::Vector<Role>&& value) { SetDefaultProcessOwners(std::move(value)); return *this;}
93 inline Settings& AddDefaultProcessOwners(const Role& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners.push_back(value); return *this; }
94 inline Settings& AddDefaultProcessOwners(Role&& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners.push_back(std::move(value)); return *this; }
96
98
101 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
102 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
103 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
104 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
105 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
106 inline Settings& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
107 inline Settings& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
108 inline Settings& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
110
112
115 inline const EvidenceFinderEnablement& GetEvidenceFinderEnablement() const{ return m_evidenceFinderEnablement; }
116 inline bool EvidenceFinderEnablementHasBeenSet() const { return m_evidenceFinderEnablementHasBeenSet; }
117 inline void SetEvidenceFinderEnablement(const EvidenceFinderEnablement& value) { m_evidenceFinderEnablementHasBeenSet = true; m_evidenceFinderEnablement = value; }
118 inline void SetEvidenceFinderEnablement(EvidenceFinderEnablement&& value) { m_evidenceFinderEnablementHasBeenSet = true; m_evidenceFinderEnablement = std::move(value); }
122
124
129 inline const DeregistrationPolicy& GetDeregistrationPolicy() const{ return m_deregistrationPolicy; }
130 inline bool DeregistrationPolicyHasBeenSet() const { return m_deregistrationPolicyHasBeenSet; }
131 inline void SetDeregistrationPolicy(const DeregistrationPolicy& value) { m_deregistrationPolicyHasBeenSet = true; m_deregistrationPolicy = value; }
132 inline void SetDeregistrationPolicy(DeregistrationPolicy&& value) { m_deregistrationPolicyHasBeenSet = true; m_deregistrationPolicy = std::move(value); }
134 inline Settings& WithDeregistrationPolicy(DeregistrationPolicy&& value) { SetDeregistrationPolicy(std::move(value)); return *this;}
136
138
141 inline const DefaultExportDestination& GetDefaultExportDestination() const{ return m_defaultExportDestination; }
142 inline bool DefaultExportDestinationHasBeenSet() const { return m_defaultExportDestinationHasBeenSet; }
143 inline void SetDefaultExportDestination(const DefaultExportDestination& value) { m_defaultExportDestinationHasBeenSet = true; m_defaultExportDestination = value; }
144 inline void SetDefaultExportDestination(DefaultExportDestination&& value) { m_defaultExportDestinationHasBeenSet = true; m_defaultExportDestination = std::move(value); }
148 private:
149
150 bool m_isAwsOrgEnabled;
151 bool m_isAwsOrgEnabledHasBeenSet = false;
152
153 Aws::String m_snsTopic;
154 bool m_snsTopicHasBeenSet = false;
155
156 AssessmentReportsDestination m_defaultAssessmentReportsDestination;
157 bool m_defaultAssessmentReportsDestinationHasBeenSet = false;
158
159 Aws::Vector<Role> m_defaultProcessOwners;
160 bool m_defaultProcessOwnersHasBeenSet = false;
161
162 Aws::String m_kmsKey;
163 bool m_kmsKeyHasBeenSet = false;
164
165 EvidenceFinderEnablement m_evidenceFinderEnablement;
166 bool m_evidenceFinderEnablementHasBeenSet = false;
167
168 DeregistrationPolicy m_deregistrationPolicy;
169 bool m_deregistrationPolicyHasBeenSet = false;
170
171 DefaultExportDestination m_defaultExportDestination;
172 bool m_defaultExportDestinationHasBeenSet = false;
173 };
174
175} // namespace Model
176} // namespace AuditManager
177} // namespace Aws
void SetKmsKey(Aws::String &&value)
Definition Settings.h:104
bool DefaultExportDestinationHasBeenSet() const
Definition Settings.h:142
void SetDefaultExportDestination(DefaultExportDestination &&value)
Definition Settings.h:144
Settings & WithEvidenceFinderEnablement(EvidenceFinderEnablement &&value)
Definition Settings.h:120
Settings & WithDefaultAssessmentReportsDestination(const AssessmentReportsDestination &value)
Definition Settings.h:79
void SetDefaultProcessOwners(Aws::Vector< Role > &&value)
Definition Settings.h:90
AWS_AUDITMANAGER_API Settings(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultProcessOwners(const Aws::Vector< Role > &value)
Definition Settings.h:89
void SetEvidenceFinderEnablement(EvidenceFinderEnablement &&value)
Definition Settings.h:118
const EvidenceFinderEnablement & GetEvidenceFinderEnablement() const
Definition Settings.h:115
Settings & WithDefaultProcessOwners(Aws::Vector< Role > &&value)
Definition Settings.h:92
bool DefaultAssessmentReportsDestinationHasBeenSet() const
Definition Settings.h:76
const DefaultExportDestination & GetDefaultExportDestination() const
Definition Settings.h:141
AWS_AUDITMANAGER_API Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultAssessmentReportsDestination(const AssessmentReportsDestination &value)
Definition Settings.h:77
Settings & WithDefaultAssessmentReportsDestination(AssessmentReportsDestination &&value)
Definition Settings.h:80
const Aws::Vector< Role > & GetDefaultProcessOwners() const
Definition Settings.h:87
const Aws::String & GetSnsTopic() const
Definition Settings.h:61
const Aws::String & GetKmsKey() const
Definition Settings.h:101
void SetDeregistrationPolicy(DeregistrationPolicy &&value)
Definition Settings.h:132
void SetSnsTopic(Aws::String &&value)
Definition Settings.h:64
void SetSnsTopic(const Aws::String &value)
Definition Settings.h:63
Settings & WithDefaultExportDestination(DefaultExportDestination &&value)
Definition Settings.h:146
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
Settings & WithKmsKey(Aws::String &&value)
Definition Settings.h:107
Settings & WithDefaultExportDestination(const DefaultExportDestination &value)
Definition Settings.h:145
Settings & WithSnsTopic(Aws::String &&value)
Definition Settings.h:67
AWS_AUDITMANAGER_API Settings()
Settings & WithKmsKey(const Aws::String &value)
Definition Settings.h:106
Settings & WithSnsTopic(const Aws::String &value)
Definition Settings.h:66
bool DefaultProcessOwnersHasBeenSet() const
Definition Settings.h:88
bool EvidenceFinderEnablementHasBeenSet() const
Definition Settings.h:116
Settings & WithIsAwsOrgEnabled(bool value)
Definition Settings.h:54
void SetIsAwsOrgEnabled(bool value)
Definition Settings.h:53
void SetKmsKey(const char *value)
Definition Settings.h:105
void SetDefaultExportDestination(const DefaultExportDestination &value)
Definition Settings.h:143
Settings & WithDeregistrationPolicy(DeregistrationPolicy &&value)
Definition Settings.h:134
bool DeregistrationPolicyHasBeenSet() const
Definition Settings.h:130
Settings & WithDefaultProcessOwners(const Aws::Vector< Role > &value)
Definition Settings.h:91
Settings & AddDefaultProcessOwners(Role &&value)
Definition Settings.h:94
const DeregistrationPolicy & GetDeregistrationPolicy() const
Definition Settings.h:129
Settings & WithSnsTopic(const char *value)
Definition Settings.h:68
Settings & WithDeregistrationPolicy(const DeregistrationPolicy &value)
Definition Settings.h:133
void SetDeregistrationPolicy(const DeregistrationPolicy &value)
Definition Settings.h:131
const AssessmentReportsDestination & GetDefaultAssessmentReportsDestination() const
Definition Settings.h:75
void SetSnsTopic(const char *value)
Definition Settings.h:65
void SetEvidenceFinderEnablement(const EvidenceFinderEnablement &value)
Definition Settings.h:117
void SetKmsKey(const Aws::String &value)
Definition Settings.h:103
void SetDefaultAssessmentReportsDestination(AssessmentReportsDestination &&value)
Definition Settings.h:78
Settings & WithKmsKey(const char *value)
Definition Settings.h:108
Settings & AddDefaultProcessOwners(const Role &value)
Definition Settings.h:93
Settings & WithEvidenceFinderEnablement(const EvidenceFinderEnablement &value)
Definition Settings.h:119
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue