AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateSettingsRequest.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/AuditManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/auditmanager/model/AssessmentReportsDestination.h>
11#include <aws/core/utils/memory/stl/AWSVector.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 AuditManager
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_AUDITMANAGER_API UpdateSettingsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateSettings"; }
36
37 AWS_AUDITMANAGER_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetSnsTopic() const { return m_snsTopic; }
46 inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
47 template<typename SnsTopicT = Aws::String>
48 void SetSnsTopic(SnsTopicT&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::forward<SnsTopicT>(value); }
49 template<typename SnsTopicT = Aws::String>
50 UpdateSettingsRequest& WithSnsTopic(SnsTopicT&& value) { SetSnsTopic(std::forward<SnsTopicT>(value)); return *this;}
52
54
57 inline const AssessmentReportsDestination& GetDefaultAssessmentReportsDestination() const { return m_defaultAssessmentReportsDestination; }
58 inline bool DefaultAssessmentReportsDestinationHasBeenSet() const { return m_defaultAssessmentReportsDestinationHasBeenSet; }
59 template<typename DefaultAssessmentReportsDestinationT = AssessmentReportsDestination>
60 void SetDefaultAssessmentReportsDestination(DefaultAssessmentReportsDestinationT&& value) { m_defaultAssessmentReportsDestinationHasBeenSet = true; m_defaultAssessmentReportsDestination = std::forward<DefaultAssessmentReportsDestinationT>(value); }
61 template<typename DefaultAssessmentReportsDestinationT = AssessmentReportsDestination>
62 UpdateSettingsRequest& WithDefaultAssessmentReportsDestination(DefaultAssessmentReportsDestinationT&& value) { SetDefaultAssessmentReportsDestination(std::forward<DefaultAssessmentReportsDestinationT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Role>& GetDefaultProcessOwners() const { return m_defaultProcessOwners; }
70 inline bool DefaultProcessOwnersHasBeenSet() const { return m_defaultProcessOwnersHasBeenSet; }
71 template<typename DefaultProcessOwnersT = Aws::Vector<Role>>
72 void SetDefaultProcessOwners(DefaultProcessOwnersT&& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners = std::forward<DefaultProcessOwnersT>(value); }
73 template<typename DefaultProcessOwnersT = Aws::Vector<Role>>
74 UpdateSettingsRequest& WithDefaultProcessOwners(DefaultProcessOwnersT&& value) { SetDefaultProcessOwners(std::forward<DefaultProcessOwnersT>(value)); return *this;}
75 template<typename DefaultProcessOwnersT = Role>
76 UpdateSettingsRequest& AddDefaultProcessOwners(DefaultProcessOwnersT&& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners.emplace_back(std::forward<DefaultProcessOwnersT>(value)); return *this; }
78
80
83 inline const Aws::String& GetKmsKey() const { return m_kmsKey; }
84 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
85 template<typename KmsKeyT = Aws::String>
86 void SetKmsKey(KmsKeyT&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::forward<KmsKeyT>(value); }
87 template<typename KmsKeyT = Aws::String>
88 UpdateSettingsRequest& WithKmsKey(KmsKeyT&& value) { SetKmsKey(std::forward<KmsKeyT>(value)); return *this;}
90
92
103 inline bool GetEvidenceFinderEnabled() const { return m_evidenceFinderEnabled; }
104 inline bool EvidenceFinderEnabledHasBeenSet() const { return m_evidenceFinderEnabledHasBeenSet; }
105 inline void SetEvidenceFinderEnabled(bool value) { m_evidenceFinderEnabledHasBeenSet = true; m_evidenceFinderEnabled = value; }
108
110
115 inline const DeregistrationPolicy& GetDeregistrationPolicy() const { return m_deregistrationPolicy; }
116 inline bool DeregistrationPolicyHasBeenSet() const { return m_deregistrationPolicyHasBeenSet; }
117 template<typename DeregistrationPolicyT = DeregistrationPolicy>
118 void SetDeregistrationPolicy(DeregistrationPolicyT&& value) { m_deregistrationPolicyHasBeenSet = true; m_deregistrationPolicy = std::forward<DeregistrationPolicyT>(value); }
119 template<typename DeregistrationPolicyT = DeregistrationPolicy>
120 UpdateSettingsRequest& WithDeregistrationPolicy(DeregistrationPolicyT&& value) { SetDeregistrationPolicy(std::forward<DeregistrationPolicyT>(value)); return *this;}
122
124
127 inline const DefaultExportDestination& GetDefaultExportDestination() const { return m_defaultExportDestination; }
128 inline bool DefaultExportDestinationHasBeenSet() const { return m_defaultExportDestinationHasBeenSet; }
129 template<typename DefaultExportDestinationT = DefaultExportDestination>
130 void SetDefaultExportDestination(DefaultExportDestinationT&& value) { m_defaultExportDestinationHasBeenSet = true; m_defaultExportDestination = std::forward<DefaultExportDestinationT>(value); }
131 template<typename DefaultExportDestinationT = DefaultExportDestination>
132 UpdateSettingsRequest& WithDefaultExportDestination(DefaultExportDestinationT&& value) { SetDefaultExportDestination(std::forward<DefaultExportDestinationT>(value)); return *this;}
134 private:
135
136 Aws::String m_snsTopic;
137 bool m_snsTopicHasBeenSet = false;
138
139 AssessmentReportsDestination m_defaultAssessmentReportsDestination;
140 bool m_defaultAssessmentReportsDestinationHasBeenSet = false;
141
142 Aws::Vector<Role> m_defaultProcessOwners;
143 bool m_defaultProcessOwnersHasBeenSet = false;
144
145 Aws::String m_kmsKey;
146 bool m_kmsKeyHasBeenSet = false;
147
148 bool m_evidenceFinderEnabled{false};
149 bool m_evidenceFinderEnabledHasBeenSet = false;
150
151 DeregistrationPolicy m_deregistrationPolicy;
152 bool m_deregistrationPolicyHasBeenSet = false;
153
154 DefaultExportDestination m_defaultExportDestination;
155 bool m_defaultExportDestinationHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace AuditManager
160} // namespace Aws
UpdateSettingsRequest & WithSnsTopic(SnsTopicT &&value)
AWS_AUDITMANAGER_API UpdateSettingsRequest()=default
void SetDefaultProcessOwners(DefaultProcessOwnersT &&value)
const DefaultExportDestination & GetDefaultExportDestination() const
UpdateSettingsRequest & WithDefaultAssessmentReportsDestination(DefaultAssessmentReportsDestinationT &&value)
virtual const char * GetServiceRequestName() const override
UpdateSettingsRequest & WithKmsKey(KmsKeyT &&value)
void SetDefaultAssessmentReportsDestination(DefaultAssessmentReportsDestinationT &&value)
UpdateSettingsRequest & WithDefaultExportDestination(DefaultExportDestinationT &&value)
const DeregistrationPolicy & GetDeregistrationPolicy() const
const AssessmentReportsDestination & GetDefaultAssessmentReportsDestination() const
UpdateSettingsRequest & AddDefaultProcessOwners(DefaultProcessOwnersT &&value)
void SetDefaultExportDestination(DefaultExportDestinationT &&value)
UpdateSettingsRequest & WithEvidenceFinderEnabled(bool value)
UpdateSettingsRequest & WithDeregistrationPolicy(DeregistrationPolicyT &&value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
void SetDeregistrationPolicy(DeregistrationPolicyT &&value)
UpdateSettingsRequest & WithDefaultProcessOwners(DefaultProcessOwnersT &&value)
const Aws::Vector< Role > & GetDefaultProcessOwners() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector