AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateAccountAuditConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace IoT
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateAccountAuditConfiguration"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
44  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
45 
51  inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
52 
58  inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
59 
65  inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
66 
72  inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
73 
79  inline UpdateAccountAuditConfigurationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
80 
86  inline UpdateAccountAuditConfigurationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
87 
93  inline UpdateAccountAuditConfigurationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
94 
95 
99  inline const Aws::Map<AuditNotificationType, AuditNotificationTarget>& GetAuditNotificationTargetConfigurations() const{ return m_auditNotificationTargetConfigurations; }
100 
104  inline bool AuditNotificationTargetConfigurationsHasBeenSet() const { return m_auditNotificationTargetConfigurationsHasBeenSet; }
105 
109  inline void SetAuditNotificationTargetConfigurations(const Aws::Map<AuditNotificationType, AuditNotificationTarget>& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations = value; }
110 
114  inline void SetAuditNotificationTargetConfigurations(Aws::Map<AuditNotificationType, AuditNotificationTarget>&& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations = std::move(value); }
115 
119  inline UpdateAccountAuditConfigurationRequest& WithAuditNotificationTargetConfigurations(const Aws::Map<AuditNotificationType, AuditNotificationTarget>& value) { SetAuditNotificationTargetConfigurations(value); return *this;}
120 
124  inline UpdateAccountAuditConfigurationRequest& WithAuditNotificationTargetConfigurations(Aws::Map<AuditNotificationType, AuditNotificationTarget>&& value) { SetAuditNotificationTargetConfigurations(std::move(value)); return *this;}
125 
129  inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(key, value); return *this; }
130 
134  inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(std::move(key), value); return *this; }
135 
139  inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(key, std::move(value)); return *this; }
140 
144  inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(std::move(key), std::move(value)); return *this; }
145 
146 
158  inline const Aws::Map<Aws::String, AuditCheckConfiguration>& GetAuditCheckConfigurations() const{ return m_auditCheckConfigurations; }
159 
171  inline bool AuditCheckConfigurationsHasBeenSet() const { return m_auditCheckConfigurationsHasBeenSet; }
172 
184  inline void SetAuditCheckConfigurations(const Aws::Map<Aws::String, AuditCheckConfiguration>& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations = value; }
185 
197  inline void SetAuditCheckConfigurations(Aws::Map<Aws::String, AuditCheckConfiguration>&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations = std::move(value); }
198 
210  inline UpdateAccountAuditConfigurationRequest& WithAuditCheckConfigurations(const Aws::Map<Aws::String, AuditCheckConfiguration>& value) { SetAuditCheckConfigurations(value); return *this;}
211 
223  inline UpdateAccountAuditConfigurationRequest& WithAuditCheckConfigurations(Aws::Map<Aws::String, AuditCheckConfiguration>&& value) { SetAuditCheckConfigurations(std::move(value)); return *this;}
224 
236  inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const Aws::String& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, value); return *this; }
237 
249  inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(Aws::String&& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(std::move(key), value); return *this; }
250 
262  inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const Aws::String& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
263 
275  inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(Aws::String&& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(std::move(key), std::move(value)); return *this; }
276 
288  inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const char* key, AuditCheckConfiguration&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
289 
301  inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const char* key, const AuditCheckConfiguration& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, value); return *this; }
302 
303  private:
304 
305  Aws::String m_roleArn;
306  bool m_roleArnHasBeenSet;
307 
308  Aws::Map<AuditNotificationType, AuditNotificationTarget> m_auditNotificationTargetConfigurations;
309  bool m_auditNotificationTargetConfigurationsHasBeenSet;
310 
311  Aws::Map<Aws::String, AuditCheckConfiguration> m_auditCheckConfigurations;
312  bool m_auditCheckConfigurationsHasBeenSet;
313  };
314 
315 } // namespace Model
316 } // namespace IoT
317 } // namespace Aws
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & WithAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:223
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:65
Aws::IoT::Model::AuditCheckConfiguration
Definition: AuditCheckConfiguration.h:31
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const Aws::String &key, AuditCheckConfiguration &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:262
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithRoleArn
UpdateAccountAuditConfigurationRequest & WithRoleArn(const Aws::String &value)
Definition: UpdateAccountAuditConfigurationRequest.h:79
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: UpdateAccountAuditConfigurationRequest.h:58
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: UpdateAccountAuditConfigurationRequest.h:44
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithAuditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest & WithAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:124
AuditNotificationTarget.h
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(Aws::String &&key, AuditCheckConfiguration &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:275
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AuditCheckConfigurationsHasBeenSet
bool AuditCheckConfigurationsHasBeenSet() const
Definition: UpdateAccountAuditConfigurationRequest.h:171
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::GetAuditCheckConfigurations
const Aws::Map< Aws::String, AuditCheckConfiguration > & GetAuditCheckConfigurations() const
Definition: UpdateAccountAuditConfigurationRequest.h:158
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetAuditNotificationTargetConfigurations
void SetAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
Definition: UpdateAccountAuditConfigurationRequest.h:109
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetAuditCheckConfigurations
void SetAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
Definition: UpdateAccountAuditConfigurationRequest.h:184
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(Aws::String &&key, const AuditCheckConfiguration &value)
Definition: UpdateAccountAuditConfigurationRequest.h:249
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithRoleArn
UpdateAccountAuditConfigurationRequest & WithRoleArn(const char *value)
Definition: UpdateAccountAuditConfigurationRequest.h:93
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAccountAuditConfigurationRequest.h:34
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetRoleArn
void SetRoleArn(const char *value)
Definition: UpdateAccountAuditConfigurationRequest.h:72
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AuditNotificationTargetConfigurationsHasBeenSet
bool AuditNotificationTargetConfigurationsHasBeenSet() const
Definition: UpdateAccountAuditConfigurationRequest.h:104
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const Aws::String &key, const AuditCheckConfiguration &value)
Definition: UpdateAccountAuditConfigurationRequest.h:236
AuditNotificationType.h
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::RoleArnHasBeenSet
bool RoleArnHasBeenSet() const
Definition: UpdateAccountAuditConfigurationRequest.h:51
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::UpdateAccountAuditConfigurationRequest
UpdateAccountAuditConfigurationRequest()
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithRoleArn
UpdateAccountAuditConfigurationRequest & WithRoleArn(Aws::String &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:86
Aws::IoT::Model::AuditNotificationTarget
Definition: AuditNotificationTarget.h:33
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, AuditNotificationTarget &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:139
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const char *key, AuditCheckConfiguration &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:288
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithAuditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest & WithAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
Definition: UpdateAccountAuditConfigurationRequest.h:119
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const char *key, const AuditCheckConfiguration &value)
Definition: UpdateAccountAuditConfigurationRequest.h:301
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest
Definition: UpdateAccountAuditConfigurationRequest.h:26
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::WithAuditCheckConfigurations
UpdateAccountAuditConfigurationRequest & WithAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
Definition: UpdateAccountAuditConfigurationRequest.h:210
Aws::IoT::Model::AuditNotificationType
AuditNotificationType
Definition: AuditNotificationType.h:17
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetAuditNotificationTargetConfigurations
void SetAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:114
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, const AuditNotificationTarget &value)
Definition: UpdateAccountAuditConfigurationRequest.h:129
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::GetAuditNotificationTargetConfigurations
const Aws::Map< AuditNotificationType, AuditNotificationTarget > & GetAuditNotificationTargetConfigurations() const
Definition: UpdateAccountAuditConfigurationRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, AuditNotificationTarget &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:144
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::AddAuditNotificationTargetConfigurations
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, const AuditNotificationTarget &value)
Definition: UpdateAccountAuditConfigurationRequest.h:134
AuditCheckConfiguration.h
Aws::IoT::Model::UpdateAccountAuditConfigurationRequest::SetAuditCheckConfigurations
void SetAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
Definition: UpdateAccountAuditConfigurationRequest.h:197
IoTRequest.h
AWSMap.h
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h