AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAccountAuditConfigurationResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iot/model/AuditNotificationType.h>
11#include <aws/iot/model/AuditNotificationTarget.h>
12#include <aws/iot/model/AuditCheckConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoT
28{
29namespace Model
30{
32 {
33 public:
37
38
40
46 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
47 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
48 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
49 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
50 inline DescribeAccountAuditConfigurationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
51 inline DescribeAccountAuditConfigurationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
52 inline DescribeAccountAuditConfigurationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
54
56
60 inline const Aws::Map<AuditNotificationType, AuditNotificationTarget>& GetAuditNotificationTargetConfigurations() const{ return m_auditNotificationTargetConfigurations; }
61 inline void SetAuditNotificationTargetConfigurations(const Aws::Map<AuditNotificationType, AuditNotificationTarget>& value) { m_auditNotificationTargetConfigurations = value; }
62 inline void SetAuditNotificationTargetConfigurations(Aws::Map<AuditNotificationType, AuditNotificationTarget>&& value) { m_auditNotificationTargetConfigurations = std::move(value); }
65 inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurations.emplace(key, value); return *this; }
66 inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurations.emplace(std::move(key), value); return *this; }
67 inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurations.emplace(key, std::move(value)); return *this; }
68 inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurations.emplace(std::move(key), std::move(value)); return *this; }
70
72
75 inline const Aws::Map<Aws::String, AuditCheckConfiguration>& GetAuditCheckConfigurations() const{ return m_auditCheckConfigurations; }
76 inline void SetAuditCheckConfigurations(const Aws::Map<Aws::String, AuditCheckConfiguration>& value) { m_auditCheckConfigurations = value; }
77 inline void SetAuditCheckConfigurations(Aws::Map<Aws::String, AuditCheckConfiguration>&& value) { m_auditCheckConfigurations = std::move(value); }
80 inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const Aws::String& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurations.emplace(key, value); return *this; }
81 inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(Aws::String&& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurations.emplace(std::move(key), value); return *this; }
82 inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const Aws::String& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
83 inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(Aws::String&& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurations.emplace(std::move(key), std::move(value)); return *this; }
84 inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const char* key, AuditCheckConfiguration&& value) { m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
85 inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const char* key, const AuditCheckConfiguration& value) { m_auditCheckConfigurations.emplace(key, value); return *this; }
87
89
90 inline const Aws::String& GetRequestId() const{ return m_requestId; }
91 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
92 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
93 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline DescribeAccountAuditConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
96 inline DescribeAccountAuditConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
98 private:
99
100 Aws::String m_roleArn;
101
102 Aws::Map<AuditNotificationType, AuditNotificationTarget> m_auditNotificationTargetConfigurations;
103
104 Aws::Map<Aws::String, AuditCheckConfiguration> m_auditCheckConfigurations;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace IoT
111} // namespace Aws
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const char *key, AuditCheckConfiguration &&value)
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const Aws::String &key, AuditCheckConfiguration &&value)
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const char *key, const AuditCheckConfiguration &value)
AWS_IOT_API DescribeAccountAuditConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAccountAuditConfigurationResult & WithAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
DescribeAccountAuditConfigurationResult & WithRoleArn(const char *value)
DescribeAccountAuditConfigurationResult & WithAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
DescribeAccountAuditConfigurationResult & WithAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
void SetAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
void SetAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const Aws::String &key, const AuditCheckConfiguration &value)
DescribeAccountAuditConfigurationResult & WithAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, const AuditNotificationTarget &value)
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(Aws::String &&key, const AuditCheckConfiguration &value)
const Aws::Map< Aws::String, AuditCheckConfiguration > & GetAuditCheckConfigurations() const
DescribeAccountAuditConfigurationResult & WithRequestId(const Aws::String &value)
DescribeAccountAuditConfigurationResult & WithRoleArn(const Aws::String &value)
const Aws::Map< AuditNotificationType, AuditNotificationTarget > & GetAuditNotificationTargetConfigurations() const
void SetAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, const AuditNotificationTarget &value)
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(Aws::String &&key, AuditCheckConfiguration &&value)
void SetAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
DescribeAccountAuditConfigurationResult & WithRequestId(const char *value)
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, AuditNotificationTarget &&value)
DescribeAccountAuditConfigurationResult & WithRequestId(Aws::String &&value)
DescribeAccountAuditConfigurationResult & WithRoleArn(Aws::String &&value)
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, AuditNotificationTarget &&value)
AWS_IOT_API DescribeAccountAuditConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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
Aws::Utils::Json::JsonValue JsonValue