AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeAccountAuditConfigurationResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace IoT
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
45  inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
46 
53  inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
54 
61  inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
62 
69  inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
70 
77  inline DescribeAccountAuditConfigurationResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
78 
85  inline DescribeAccountAuditConfigurationResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
86 
93  inline DescribeAccountAuditConfigurationResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
94 
95 
100  inline const Aws::Map<AuditNotificationType, AuditNotificationTarget>& GetAuditNotificationTargetConfigurations() const{ return m_auditNotificationTargetConfigurations; }
101 
106  inline void SetAuditNotificationTargetConfigurations(const Aws::Map<AuditNotificationType, AuditNotificationTarget>& value) { m_auditNotificationTargetConfigurations = value; }
107 
112  inline void SetAuditNotificationTargetConfigurations(Aws::Map<AuditNotificationType, AuditNotificationTarget>&& value) { m_auditNotificationTargetConfigurations = std::move(value); }
113 
119 
124  inline DescribeAccountAuditConfigurationResult& WithAuditNotificationTargetConfigurations(Aws::Map<AuditNotificationType, AuditNotificationTarget>&& value) { SetAuditNotificationTargetConfigurations(std::move(value)); return *this;}
125 
130  inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurations.emplace(key, value); return *this; }
131 
136  inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, const AuditNotificationTarget& value) { m_auditNotificationTargetConfigurations.emplace(std::move(key), value); return *this; }
137 
142  inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(const AuditNotificationType& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurations.emplace(key, std::move(value)); return *this; }
143 
148  inline DescribeAccountAuditConfigurationResult& AddAuditNotificationTargetConfigurations(AuditNotificationType&& key, AuditNotificationTarget&& value) { m_auditNotificationTargetConfigurations.emplace(std::move(key), std::move(value)); return *this; }
149 
150 
154  inline const Aws::Map<Aws::String, AuditCheckConfiguration>& GetAuditCheckConfigurations() const{ return m_auditCheckConfigurations; }
155 
159  inline void SetAuditCheckConfigurations(const Aws::Map<Aws::String, AuditCheckConfiguration>& value) { m_auditCheckConfigurations = value; }
160 
164  inline void SetAuditCheckConfigurations(Aws::Map<Aws::String, AuditCheckConfiguration>&& value) { m_auditCheckConfigurations = std::move(value); }
165 
169  inline DescribeAccountAuditConfigurationResult& WithAuditCheckConfigurations(const Aws::Map<Aws::String, AuditCheckConfiguration>& value) { SetAuditCheckConfigurations(value); return *this;}
170 
174  inline DescribeAccountAuditConfigurationResult& WithAuditCheckConfigurations(Aws::Map<Aws::String, AuditCheckConfiguration>&& value) { SetAuditCheckConfigurations(std::move(value)); return *this;}
175 
179  inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const Aws::String& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurations.emplace(key, value); return *this; }
180 
184  inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(Aws::String&& key, const AuditCheckConfiguration& value) { m_auditCheckConfigurations.emplace(std::move(key), value); return *this; }
185 
189  inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const Aws::String& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
190 
194  inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(Aws::String&& key, AuditCheckConfiguration&& value) { m_auditCheckConfigurations.emplace(std::move(key), std::move(value)); return *this; }
195 
199  inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const char* key, AuditCheckConfiguration&& value) { m_auditCheckConfigurations.emplace(key, std::move(value)); return *this; }
200 
204  inline DescribeAccountAuditConfigurationResult& AddAuditCheckConfigurations(const char* key, const AuditCheckConfiguration& value) { m_auditCheckConfigurations.emplace(key, value); return *this; }
205 
206  private:
207 
208  Aws::String m_roleArn;
209 
210  Aws::Map<AuditNotificationType, AuditNotificationTarget> m_auditNotificationTargetConfigurations;
211 
212  Aws::Map<Aws::String, AuditCheckConfiguration> m_auditCheckConfigurations;
213  };
214 
215 } // namespace Model
216 } // namespace IoT
217 } // namespace Aws
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::GetAuditCheckConfigurations
const Aws::Map< Aws::String, AuditCheckConfiguration > & GetAuditCheckConfigurations() const
Definition: DescribeAccountAuditConfigurationResult.h:154
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::DescribeAccountAuditConfigurationResult
DescribeAccountAuditConfigurationResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::AuditCheckConfiguration
Definition: AuditCheckConfiguration.h:31
Aws::IoT::Model::DescribeAccountAuditConfigurationResult
Definition: DescribeAccountAuditConfigurationResult.h:32
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditNotificationTargetConfigurations
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, AuditNotificationTarget &&value)
Definition: DescribeAccountAuditConfigurationResult.h:148
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditNotificationTargetConfigurations
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, const AuditNotificationTarget &value)
Definition: DescribeAccountAuditConfigurationResult.h:130
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithAuditNotificationTargetConfigurations
DescribeAccountAuditConfigurationResult & WithAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
Definition: DescribeAccountAuditConfigurationResult.h:118
AuditNotificationTarget.h
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditNotificationTargetConfigurations
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(const AuditNotificationType &key, AuditNotificationTarget &&value)
Definition: DescribeAccountAuditConfigurationResult.h:142
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const char *key, AuditCheckConfiguration &&value)
Definition: DescribeAccountAuditConfigurationResult.h:199
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(Aws::String &&key, const AuditCheckConfiguration &value)
Definition: DescribeAccountAuditConfigurationResult.h:184
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetAuditCheckConfigurations
void SetAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
Definition: DescribeAccountAuditConfigurationResult.h:159
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const Aws::String &key, AuditCheckConfiguration &&value)
Definition: DescribeAccountAuditConfigurationResult.h:189
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & WithAuditCheckConfigurations(const Aws::Map< Aws::String, AuditCheckConfiguration > &value)
Definition: DescribeAccountAuditConfigurationResult.h:169
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetAuditCheckConfigurations
void SetAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
Definition: DescribeAccountAuditConfigurationResult.h:164
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::operator=
DescribeAccountAuditConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const Aws::String &key, const AuditCheckConfiguration &value)
Definition: DescribeAccountAuditConfigurationResult.h:179
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithAuditNotificationTargetConfigurations
DescribeAccountAuditConfigurationResult & WithAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
Definition: DescribeAccountAuditConfigurationResult.h:124
AuditNotificationType.h
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(Aws::String &&key, AuditCheckConfiguration &&value)
Definition: DescribeAccountAuditConfigurationResult.h:194
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetAuditNotificationTargetConfigurations
void SetAuditNotificationTargetConfigurations(const Aws::Map< AuditNotificationType, AuditNotificationTarget > &value)
Definition: DescribeAccountAuditConfigurationResult.h:106
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & AddAuditCheckConfigurations(const char *key, const AuditCheckConfiguration &value)
Definition: DescribeAccountAuditConfigurationResult.h:204
Aws::IoT::Model::AuditNotificationTarget
Definition: AuditNotificationTarget.h:33
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::GetAuditNotificationTargetConfigurations
const Aws::Map< AuditNotificationType, AuditNotificationTarget > & GetAuditNotificationTargetConfigurations() const
Definition: DescribeAccountAuditConfigurationResult.h:100
AWSString.h
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetAuditNotificationTargetConfigurations
void SetAuditNotificationTargetConfigurations(Aws::Map< AuditNotificationType, AuditNotificationTarget > &&value)
Definition: DescribeAccountAuditConfigurationResult.h:112
Aws::IoT::Model::AuditNotificationType
AuditNotificationType
Definition: AuditNotificationType.h:17
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithRoleArn
DescribeAccountAuditConfigurationResult & WithRoleArn(Aws::String &&value)
Definition: DescribeAccountAuditConfigurationResult.h:85
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::DescribeAccountAuditConfigurationResult
DescribeAccountAuditConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithRoleArn
DescribeAccountAuditConfigurationResult & WithRoleArn(const char *value)
Definition: DescribeAccountAuditConfigurationResult.h:93
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithRoleArn
DescribeAccountAuditConfigurationResult & WithRoleArn(const Aws::String &value)
Definition: DescribeAccountAuditConfigurationResult.h:77
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::AddAuditNotificationTargetConfigurations
DescribeAccountAuditConfigurationResult & AddAuditNotificationTargetConfigurations(AuditNotificationType &&key, const AuditNotificationTarget &value)
Definition: DescribeAccountAuditConfigurationResult.h:136
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AuditCheckConfiguration.h
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::WithAuditCheckConfigurations
DescribeAccountAuditConfigurationResult & WithAuditCheckConfigurations(Aws::Map< Aws::String, AuditCheckConfiguration > &&value)
Definition: DescribeAccountAuditConfigurationResult.h:174
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetRoleArn
void SetRoleArn(Aws::String &&value)
Definition: DescribeAccountAuditConfigurationResult.h:61
AWSMap.h
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::GetRoleArn
const Aws::String & GetRoleArn() const
Definition: DescribeAccountAuditConfigurationResult.h:45
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetRoleArn
void SetRoleArn(const Aws::String &value)
Definition: DescribeAccountAuditConfigurationResult.h:53
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h
Aws::IoT::Model::DescribeAccountAuditConfigurationResult::SetRoleArn
void SetRoleArn(const char *value)
Definition: DescribeAccountAuditConfigurationResult.h:69