AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartConfigurationPolicyAssociationResult.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 StartConfigurationPolicyAssociationResult() = default;
33
35
38 inline const Aws::String& GetConfigurationPolicyId() const { return m_configurationPolicyId; }
39 template <typename ConfigurationPolicyIdT = Aws::String>
40 void SetConfigurationPolicyId(ConfigurationPolicyIdT&& value) {
41 m_configurationPolicyIdHasBeenSet = true;
42 m_configurationPolicyId = std::forward<ConfigurationPolicyIdT>(value);
43 }
44 template <typename ConfigurationPolicyIdT = Aws::String>
46 SetConfigurationPolicyId(std::forward<ConfigurationPolicyIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetTargetId() const { return m_targetId; }
57 template <typename TargetIdT = Aws::String>
58 void SetTargetId(TargetIdT&& value) {
59 m_targetIdHasBeenSet = true;
60 m_targetId = std::forward<TargetIdT>(value);
61 }
62 template <typename TargetIdT = Aws::String>
64 SetTargetId(std::forward<TargetIdT>(value));
65 return *this;
66 }
68
70
74 inline TargetType GetTargetType() const { return m_targetType; }
75 inline void SetTargetType(TargetType value) {
76 m_targetTypeHasBeenSet = true;
77 m_targetType = value;
78 }
80 SetTargetType(value);
81 return *this;
82 }
84
86
91 inline AssociationType GetAssociationType() const { return m_associationType; }
93 m_associationTypeHasBeenSet = true;
94 m_associationType = value;
95 }
97 SetAssociationType(value);
98 return *this;
99 }
101
103
107 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
108 template <typename UpdatedAtT = Aws::Utils::DateTime>
109 void SetUpdatedAt(UpdatedAtT&& value) {
110 m_updatedAtHasBeenSet = true;
111 m_updatedAt = std::forward<UpdatedAtT>(value);
112 }
113 template <typename UpdatedAtT = Aws::Utils::DateTime>
115 SetUpdatedAt(std::forward<UpdatedAtT>(value));
116 return *this;
117 }
119
121
125 inline ConfigurationPolicyAssociationStatus GetAssociationStatus() const { return m_associationStatus; }
127 m_associationStatusHasBeenSet = true;
128 m_associationStatus = value;
129 }
132 return *this;
133 }
135
137
141 inline const Aws::String& GetAssociationStatusMessage() const { return m_associationStatusMessage; }
142 template <typename AssociationStatusMessageT = Aws::String>
143 void SetAssociationStatusMessage(AssociationStatusMessageT&& value) {
144 m_associationStatusMessageHasBeenSet = true;
145 m_associationStatusMessage = std::forward<AssociationStatusMessageT>(value);
146 }
147 template <typename AssociationStatusMessageT = Aws::String>
149 SetAssociationStatusMessage(std::forward<AssociationStatusMessageT>(value));
150 return *this;
151 }
153
155
156 inline const Aws::String& GetRequestId() const { return m_requestId; }
157 template <typename RequestIdT = Aws::String>
158 void SetRequestId(RequestIdT&& value) {
159 m_requestIdHasBeenSet = true;
160 m_requestId = std::forward<RequestIdT>(value);
161 }
162 template <typename RequestIdT = Aws::String>
164 SetRequestId(std::forward<RequestIdT>(value));
165 return *this;
166 }
168 private:
169 Aws::String m_configurationPolicyId;
170
171 Aws::String m_targetId;
172
173 TargetType m_targetType{TargetType::NOT_SET};
174
175 AssociationType m_associationType{AssociationType::NOT_SET};
176
177 Aws::Utils::DateTime m_updatedAt{};
178
180
181 Aws::String m_associationStatusMessage;
182
183 Aws::String m_requestId;
184 bool m_configurationPolicyIdHasBeenSet = false;
185 bool m_targetIdHasBeenSet = false;
186 bool m_targetTypeHasBeenSet = false;
187 bool m_associationTypeHasBeenSet = false;
188 bool m_updatedAtHasBeenSet = false;
189 bool m_associationStatusHasBeenSet = false;
190 bool m_associationStatusMessageHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace SecurityHub
196} // namespace Aws
StartConfigurationPolicyAssociationResult & WithAssociationStatusMessage(AssociationStatusMessageT &&value)
StartConfigurationPolicyAssociationResult & WithConfigurationPolicyId(ConfigurationPolicyIdT &&value)
StartConfigurationPolicyAssociationResult & WithAssociationStatus(ConfigurationPolicyAssociationStatus value)
AWS_SECURITYHUB_API StartConfigurationPolicyAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartConfigurationPolicyAssociationResult & WithTargetType(TargetType value)
StartConfigurationPolicyAssociationResult & WithTargetId(TargetIdT &&value)
StartConfigurationPolicyAssociationResult & WithRequestId(RequestIdT &&value)
StartConfigurationPolicyAssociationResult & WithAssociationType(AssociationType value)
StartConfigurationPolicyAssociationResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_SECURITYHUB_API StartConfigurationPolicyAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue