AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetConfigurationPolicyAssociationResult.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/TargetType.h>
10#include <aws/securityhub/model/AssociationType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/securityhub/model/ConfigurationPolicyAssociationStatus.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 SecurityHub
28{
29namespace Model
30{
32 {
33 public:
37
38
40
44 inline const Aws::String& GetConfigurationPolicyId() const{ return m_configurationPolicyId; }
45 inline void SetConfigurationPolicyId(const Aws::String& value) { m_configurationPolicyId = value; }
46 inline void SetConfigurationPolicyId(Aws::String&& value) { m_configurationPolicyId = std::move(value); }
47 inline void SetConfigurationPolicyId(const char* value) { m_configurationPolicyId.assign(value); }
52
54
58 inline const Aws::String& GetTargetId() const{ return m_targetId; }
59 inline void SetTargetId(const Aws::String& value) { m_targetId = value; }
60 inline void SetTargetId(Aws::String&& value) { m_targetId = std::move(value); }
61 inline void SetTargetId(const char* value) { m_targetId.assign(value); }
62 inline GetConfigurationPolicyAssociationResult& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
63 inline GetConfigurationPolicyAssociationResult& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
64 inline GetConfigurationPolicyAssociationResult& WithTargetId(const char* value) { SetTargetId(value); return *this;}
66
68
72 inline const TargetType& GetTargetType() const{ return m_targetType; }
73 inline void SetTargetType(const TargetType& value) { m_targetType = value; }
74 inline void SetTargetType(TargetType&& value) { m_targetType = std::move(value); }
76 inline GetConfigurationPolicyAssociationResult& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
78
80
85 inline const AssociationType& GetAssociationType() const{ return m_associationType; }
86 inline void SetAssociationType(const AssociationType& value) { m_associationType = value; }
87 inline void SetAssociationType(AssociationType&& value) { m_associationType = std::move(value); }
91
93
97 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
98 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
99 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
103
105
109 inline const ConfigurationPolicyAssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
110 inline void SetAssociationStatus(const ConfigurationPolicyAssociationStatus& value) { m_associationStatus = value; }
111 inline void SetAssociationStatus(ConfigurationPolicyAssociationStatus&& value) { m_associationStatus = std::move(value); }
115
117
121 inline const Aws::String& GetAssociationStatusMessage() const{ return m_associationStatusMessage; }
122 inline void SetAssociationStatusMessage(const Aws::String& value) { m_associationStatusMessage = value; }
123 inline void SetAssociationStatusMessage(Aws::String&& value) { m_associationStatusMessage = std::move(value); }
124 inline void SetAssociationStatusMessage(const char* value) { m_associationStatusMessage.assign(value); }
129
131
132 inline const Aws::String& GetRequestId() const{ return m_requestId; }
133 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
134 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
135 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
137 inline GetConfigurationPolicyAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
138 inline GetConfigurationPolicyAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
140 private:
141
142 Aws::String m_configurationPolicyId;
143
144 Aws::String m_targetId;
145
146 TargetType m_targetType;
147
148 AssociationType m_associationType;
149
150 Aws::Utils::DateTime m_updatedAt;
151
152 ConfigurationPolicyAssociationStatus m_associationStatus;
153
154 Aws::String m_associationStatusMessage;
155
156 Aws::String m_requestId;
157 };
158
159} // namespace Model
160} // namespace SecurityHub
161} // namespace Aws
GetConfigurationPolicyAssociationResult & WithAssociationStatusMessage(const char *value)
GetConfigurationPolicyAssociationResult & WithConfigurationPolicyId(const Aws::String &value)
AWS_SECURITYHUB_API GetConfigurationPolicyAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API GetConfigurationPolicyAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyAssociationResult & WithConfigurationPolicyId(const char *value)
GetConfigurationPolicyAssociationResult & WithConfigurationPolicyId(Aws::String &&value)
GetConfigurationPolicyAssociationResult & WithRequestId(const Aws::String &value)
GetConfigurationPolicyAssociationResult & WithTargetType(const TargetType &value)
GetConfigurationPolicyAssociationResult & WithAssociationType(const AssociationType &value)
GetConfigurationPolicyAssociationResult & WithTargetId(const Aws::String &value)
GetConfigurationPolicyAssociationResult & WithTargetId(const char *value)
GetConfigurationPolicyAssociationResult & WithRequestId(Aws::String &&value)
GetConfigurationPolicyAssociationResult & WithAssociationStatusMessage(Aws::String &&value)
GetConfigurationPolicyAssociationResult & WithAssociationType(AssociationType &&value)
GetConfigurationPolicyAssociationResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetConfigurationPolicyAssociationResult & WithTargetType(TargetType &&value)
GetConfigurationPolicyAssociationResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetConfigurationPolicyAssociationResult & WithTargetId(Aws::String &&value)
GetConfigurationPolicyAssociationResult & WithAssociationStatusMessage(const Aws::String &value)
GetConfigurationPolicyAssociationResult & WithRequestId(const char *value)
GetConfigurationPolicyAssociationResult & WithAssociationStatus(const ConfigurationPolicyAssociationStatus &value)
GetConfigurationPolicyAssociationResult & WithAssociationStatus(ConfigurationPolicyAssociationStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue