AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAccountAuditConfigurationRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iot/model/AuditNotificationType.h>
12#include <aws/iot/model/AuditNotificationTarget.h>
13#include <aws/iot/model/AuditCheckConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace IoT
19{
20namespace 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_IOT_API Aws::String SerializePayload() const override;
37
38
40
45 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
47 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
50 inline UpdateAccountAuditConfigurationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline UpdateAccountAuditConfigurationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline UpdateAccountAuditConfigurationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
59 inline const Aws::Map<AuditNotificationType, AuditNotificationTarget>& GetAuditNotificationTargetConfigurations() const{ return m_auditNotificationTargetConfigurations; }
60 inline bool AuditNotificationTargetConfigurationsHasBeenSet() const { return m_auditNotificationTargetConfigurationsHasBeenSet; }
61 inline void SetAuditNotificationTargetConfigurations(const Aws::Map<AuditNotificationType, AuditNotificationTarget>& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations = value; }
62 inline void SetAuditNotificationTargetConfigurations(Aws::Map<AuditNotificationType, AuditNotificationTarget>&& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations = std::move(value); }
65 inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(key, value); return *this; }
66 inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(std::move(key), value); return *this; }
67 inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(key, std::move(value)); return *this; }
68 inline UpdateAccountAuditConfigurationRequest& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurationsHasBeenSet = true; m_auditNotificationTargetConfigurations.emplace(std::move(key), std::move(value)); return *this; }
70
72
83 inline const Aws::Map<Aws::String, AuditCheckConfiguration>& GetAuditCheckConfigurations() const{ return m_auditCheckConfigurations; }
84 inline bool AuditCheckConfigurationsHasBeenSet() const { return m_auditCheckConfigurationsHasBeenSet; }
85 inline void SetAuditCheckConfigurations(const Aws::Map<Aws::String, AuditCheckConfiguration>& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations = value; }
86 inline void SetAuditCheckConfigurations(Aws::Map<Aws::String, AuditCheckConfiguration>&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations = std::move(value); }
89 inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const Aws::String& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, value); return *this; }
90 inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(Aws::String&& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(std::move(key), value); return *this; }
91 inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const Aws::String& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
92 inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(Aws::String&& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(std::move(key), std::move(value)); return *this; }
93 inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const char* key, AuditCheckConfiguration&& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
94 inline UpdateAccountAuditConfigurationRequest& AddAuditCheckConfigurations(const char* key, const AuditCheckConfiguration& value) { m_auditCheckConfigurationsHasBeenSet = true; m_auditCheckConfigurations.emplace(key, value); return *this; }
96 private:
97
98 Aws::String m_roleArn;
99 bool m_roleArnHasBeenSet = false;
100
101 Aws::Map<AuditNotificationType, AuditNotificationTarget> m_auditNotificationTargetConfigurations;
102 bool m_auditNotificationTargetConfigurationsHasBeenSet = false;
103
104 Aws::Map<Aws::String, AuditCheckConfiguration> m_auditCheckConfigurations;
105 bool m_auditCheckConfigurationsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace IoT
110} // namespace Aws
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const Aws::String &key, AuditCheckConfiguration &&value)
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const char *key, AuditCheckConfiguration &&value)
UpdateAccountAuditConfigurationRequest & WithRoleArn(const char *value)
UpdateAccountAuditConfigurationRequest & WithAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
AWS_IOT_API Aws::String SerializePayload() const override
UpdateAccountAuditConfigurationRequest & WithRoleArn(Aws::String &&value)
void SetAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
void SetAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, const AuditNotificationTarget &value)
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, AuditNotificationTarget &&value)
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(Aws::String &&key, const AuditCheckConfiguration &value)
UpdateAccountAuditConfigurationRequest & WithRoleArn(const Aws::String &value)
const Aws::Map< AuditNotificationType, AuditNotificationTarget > & GetAuditNotificationTargetConfigurations() const
UpdateAccountAuditConfigurationRequest & WithAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(Aws::String &&key, AuditCheckConfiguration &&value)
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const Aws::String &key, const AuditCheckConfiguration &value)
void SetAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, const AuditNotificationTarget &value)
UpdateAccountAuditConfigurationRequest & AddAuditCheckConfigurations(const char *key, const AuditCheckConfiguration &value)
UpdateAccountAuditConfigurationRequest & WithAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
UpdateAccountAuditConfigurationRequest & WithAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
void SetAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
UpdateAccountAuditConfigurationRequest & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, AuditNotificationTarget &&value)
const Aws::Map< Aws::String, AuditCheckConfiguration > & GetAuditCheckConfigurations() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String