AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSnsTopic(const Aws::String& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
48 inline void SetSnsTopic(Aws::String&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::move(value); }
49 inline void SetSnsTopic(const char* value) { m_snsTopicHasBeenSet = true; m_snsTopic.assign(value); }
50 inline UpdateSettingsRequest& WithSnsTopic(const Aws::String& value) { SetSnsTopic(value); return *this;}
51 inline UpdateSettingsRequest& WithSnsTopic(Aws::String&& value) { SetSnsTopic(std::move(value)); return *this;}
52 inline UpdateSettingsRequest& WithSnsTopic(const char* value) { SetSnsTopic(value); return *this;}
54
56
59 inline const AssessmentReportsDestination& GetDefaultAssessmentReportsDestination() const{ return m_defaultAssessmentReportsDestination; }
60 inline bool DefaultAssessmentReportsDestinationHasBeenSet() const { return m_defaultAssessmentReportsDestinationHasBeenSet; }
61 inline void SetDefaultAssessmentReportsDestination(const AssessmentReportsDestination& value) { m_defaultAssessmentReportsDestinationHasBeenSet = true; m_defaultAssessmentReportsDestination = value; }
62 inline void SetDefaultAssessmentReportsDestination(AssessmentReportsDestination&& value) { m_defaultAssessmentReportsDestinationHasBeenSet = true; m_defaultAssessmentReportsDestination = std::move(value); }
66
68
71 inline const Aws::Vector<Role>& GetDefaultProcessOwners() const{ return m_defaultProcessOwners; }
72 inline bool DefaultProcessOwnersHasBeenSet() const { return m_defaultProcessOwnersHasBeenSet; }
73 inline void SetDefaultProcessOwners(const Aws::Vector<Role>& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners = value; }
74 inline void SetDefaultProcessOwners(Aws::Vector<Role>&& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners = std::move(value); }
77 inline UpdateSettingsRequest& AddDefaultProcessOwners(const Role& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners.push_back(value); return *this; }
78 inline UpdateSettingsRequest& AddDefaultProcessOwners(Role&& value) { m_defaultProcessOwnersHasBeenSet = true; m_defaultProcessOwners.push_back(std::move(value)); return *this; }
80
82
85 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
86 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
87 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
88 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
89 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
90 inline UpdateSettingsRequest& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
91 inline UpdateSettingsRequest& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
92 inline UpdateSettingsRequest& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
94
96
107 inline bool GetEvidenceFinderEnabled() const{ return m_evidenceFinderEnabled; }
108 inline bool EvidenceFinderEnabledHasBeenSet() const { return m_evidenceFinderEnabledHasBeenSet; }
109 inline void SetEvidenceFinderEnabled(bool value) { m_evidenceFinderEnabledHasBeenSet = true; m_evidenceFinderEnabled = value; }
112
114
119 inline const DeregistrationPolicy& GetDeregistrationPolicy() const{ return m_deregistrationPolicy; }
120 inline bool DeregistrationPolicyHasBeenSet() const { return m_deregistrationPolicyHasBeenSet; }
121 inline void SetDeregistrationPolicy(const DeregistrationPolicy& value) { m_deregistrationPolicyHasBeenSet = true; m_deregistrationPolicy = value; }
122 inline void SetDeregistrationPolicy(DeregistrationPolicy&& value) { m_deregistrationPolicyHasBeenSet = true; m_deregistrationPolicy = std::move(value); }
126
128
131 inline const DefaultExportDestination& GetDefaultExportDestination() const{ return m_defaultExportDestination; }
132 inline bool DefaultExportDestinationHasBeenSet() const { return m_defaultExportDestinationHasBeenSet; }
133 inline void SetDefaultExportDestination(const DefaultExportDestination& value) { m_defaultExportDestinationHasBeenSet = true; m_defaultExportDestination = value; }
134 inline void SetDefaultExportDestination(DefaultExportDestination&& value) { m_defaultExportDestinationHasBeenSet = true; m_defaultExportDestination = std::move(value); }
138 private:
139
140 Aws::String m_snsTopic;
141 bool m_snsTopicHasBeenSet = false;
142
143 AssessmentReportsDestination m_defaultAssessmentReportsDestination;
144 bool m_defaultAssessmentReportsDestinationHasBeenSet = false;
145
146 Aws::Vector<Role> m_defaultProcessOwners;
147 bool m_defaultProcessOwnersHasBeenSet = false;
148
149 Aws::String m_kmsKey;
150 bool m_kmsKeyHasBeenSet = false;
151
152 bool m_evidenceFinderEnabled;
153 bool m_evidenceFinderEnabledHasBeenSet = false;
154
155 DeregistrationPolicy m_deregistrationPolicy;
156 bool m_deregistrationPolicyHasBeenSet = false;
157
158 DefaultExportDestination m_defaultExportDestination;
159 bool m_defaultExportDestinationHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace AuditManager
164} // namespace Aws
void SetDefaultAssessmentReportsDestination(AssessmentReportsDestination &&value)
UpdateSettingsRequest & AddDefaultProcessOwners(Role &&value)
void SetDefaultProcessOwners(Aws::Vector< Role > &&value)
UpdateSettingsRequest & WithSnsTopic(const char *value)
UpdateSettingsRequest & WithDeregistrationPolicy(DeregistrationPolicy &&value)
UpdateSettingsRequest & WithDeregistrationPolicy(const DeregistrationPolicy &value)
UpdateSettingsRequest & WithDefaultExportDestination(DefaultExportDestination &&value)
const DefaultExportDestination & GetDefaultExportDestination() const
virtual const char * GetServiceRequestName() const override
UpdateSettingsRequest & WithDefaultAssessmentReportsDestination(const AssessmentReportsDestination &value)
UpdateSettingsRequest & WithKmsKey(Aws::String &&value)
UpdateSettingsRequest & WithSnsTopic(Aws::String &&value)
void SetDefaultProcessOwners(const Aws::Vector< Role > &value)
void SetDeregistrationPolicy(DeregistrationPolicy &&value)
UpdateSettingsRequest & WithDefaultProcessOwners(Aws::Vector< Role > &&value)
UpdateSettingsRequest & WithKmsKey(const char *value)
const DeregistrationPolicy & GetDeregistrationPolicy() const
UpdateSettingsRequest & WithDefaultProcessOwners(const Aws::Vector< Role > &value)
const AssessmentReportsDestination & GetDefaultAssessmentReportsDestination() const
void SetDefaultExportDestination(DefaultExportDestination &&value)
UpdateSettingsRequest & AddDefaultProcessOwners(const Role &value)
UpdateSettingsRequest & WithKmsKey(const Aws::String &value)
void SetDefaultExportDestination(const DefaultExportDestination &value)
UpdateSettingsRequest & WithDefaultAssessmentReportsDestination(AssessmentReportsDestination &&value)
UpdateSettingsRequest & WithEvidenceFinderEnabled(bool value)
AWS_AUDITMANAGER_API Aws::String SerializePayload() const override
UpdateSettingsRequest & WithSnsTopic(const Aws::String &value)
void SetDefaultAssessmentReportsDestination(const AssessmentReportsDestination &value)
void SetDeregistrationPolicy(const DeregistrationPolicy &value)
UpdateSettingsRequest & WithDefaultExportDestination(const DefaultExportDestination &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