AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
GetConfigurationPolicyAssociationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AssociationType.h>
11#include <aws/securityhub/model/ConfigurationPolicyAssociationStatus.h>
12#include <aws/securityhub/model/TargetType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub {
26namespace Model {
28 public:
29 AWS_SECURITYHUB_API GetConfigurationPolicyAssociationResult() = default;
33
35
39 inline const Aws::String& GetConfigurationPolicyId() const { return m_configurationPolicyId; }
40 template <typename ConfigurationPolicyIdT = Aws::String>
41 void SetConfigurationPolicyId(ConfigurationPolicyIdT&& value) {
42 m_configurationPolicyIdHasBeenSet = true;
43 m_configurationPolicyId = std::forward<ConfigurationPolicyIdT>(value);
44 }
45 template <typename ConfigurationPolicyIdT = Aws::String>
47 SetConfigurationPolicyId(std::forward<ConfigurationPolicyIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetTargetId() const { return m_targetId; }
58 template <typename TargetIdT = Aws::String>
59 void SetTargetId(TargetIdT&& value) {
60 m_targetIdHasBeenSet = true;
61 m_targetId = std::forward<TargetIdT>(value);
62 }
63 template <typename TargetIdT = Aws::String>
65 SetTargetId(std::forward<TargetIdT>(value));
66 return *this;
67 }
69
71
75 inline TargetType GetTargetType() const { return m_targetType; }
76 inline void SetTargetType(TargetType value) {
77 m_targetTypeHasBeenSet = true;
78 m_targetType = value;
79 }
81 SetTargetType(value);
82 return *this;
83 }
85
87
92 inline AssociationType GetAssociationType() const { return m_associationType; }
94 m_associationTypeHasBeenSet = true;
95 m_associationType = value;
96 }
98 SetAssociationType(value);
99 return *this;
100 }
102
104
108 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
109 template <typename UpdatedAtT = Aws::Utils::DateTime>
110 void SetUpdatedAt(UpdatedAtT&& value) {
111 m_updatedAtHasBeenSet = true;
112 m_updatedAt = std::forward<UpdatedAtT>(value);
113 }
114 template <typename UpdatedAtT = Aws::Utils::DateTime>
116 SetUpdatedAt(std::forward<UpdatedAtT>(value));
117 return *this;
118 }
120
122
126 inline ConfigurationPolicyAssociationStatus GetAssociationStatus() const { return m_associationStatus; }
128 m_associationStatusHasBeenSet = true;
129 m_associationStatus = value;
130 }
133 return *this;
134 }
136
138
142 inline const Aws::String& GetAssociationStatusMessage() const { return m_associationStatusMessage; }
143 template <typename AssociationStatusMessageT = Aws::String>
144 void SetAssociationStatusMessage(AssociationStatusMessageT&& value) {
145 m_associationStatusMessageHasBeenSet = true;
146 m_associationStatusMessage = std::forward<AssociationStatusMessageT>(value);
147 }
148 template <typename AssociationStatusMessageT = Aws::String>
150 SetAssociationStatusMessage(std::forward<AssociationStatusMessageT>(value));
151 return *this;
152 }
154
156
157 inline const Aws::String& GetRequestId() const { return m_requestId; }
158 template <typename RequestIdT = Aws::String>
159 void SetRequestId(RequestIdT&& value) {
160 m_requestIdHasBeenSet = true;
161 m_requestId = std::forward<RequestIdT>(value);
162 }
163 template <typename RequestIdT = Aws::String>
165 SetRequestId(std::forward<RequestIdT>(value));
166 return *this;
167 }
169 private:
170 Aws::String m_configurationPolicyId;
171
172 Aws::String m_targetId;
173
174 TargetType m_targetType{TargetType::NOT_SET};
175
176 AssociationType m_associationType{AssociationType::NOT_SET};
177
178 Aws::Utils::DateTime m_updatedAt{};
179
181
182 Aws::String m_associationStatusMessage;
183
184 Aws::String m_requestId;
185 bool m_configurationPolicyIdHasBeenSet = false;
186 bool m_targetIdHasBeenSet = false;
187 bool m_targetTypeHasBeenSet = false;
188 bool m_associationTypeHasBeenSet = false;
189 bool m_updatedAtHasBeenSet = false;
190 bool m_associationStatusHasBeenSet = false;
191 bool m_associationStatusMessageHasBeenSet = false;
192 bool m_requestIdHasBeenSet = false;
193};
194
195} // namespace Model
196} // namespace SecurityHub
197} // namespace Aws
AWS_SECURITYHUB_API GetConfigurationPolicyAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyAssociationResult & WithAssociationStatusMessage(AssociationStatusMessageT &&value)
GetConfigurationPolicyAssociationResult & WithTargetId(TargetIdT &&value)
AWS_SECURITYHUB_API GetConfigurationPolicyAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConfigurationPolicyAssociationResult & WithUpdatedAt(UpdatedAtT &&value)
GetConfigurationPolicyAssociationResult & WithRequestId(RequestIdT &&value)
GetConfigurationPolicyAssociationResult & WithTargetType(TargetType value)
GetConfigurationPolicyAssociationResult & WithConfigurationPolicyId(ConfigurationPolicyIdT &&value)
GetConfigurationPolicyAssociationResult & WithAssociationStatus(ConfigurationPolicyAssociationStatus value)
GetConfigurationPolicyAssociationResult & WithAssociationType(AssociationType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue