AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
34 AWS_SECURITYHUB_API GetConfigurationPolicyAssociationResult() = default;
37
38
40
44 inline const Aws::String& GetConfigurationPolicyId() const { return m_configurationPolicyId; }
45 template<typename ConfigurationPolicyIdT = Aws::String>
46 void SetConfigurationPolicyId(ConfigurationPolicyIdT&& value) { m_configurationPolicyIdHasBeenSet = true; m_configurationPolicyId = std::forward<ConfigurationPolicyIdT>(value); }
47 template<typename ConfigurationPolicyIdT = Aws::String>
48 GetConfigurationPolicyAssociationResult& WithConfigurationPolicyId(ConfigurationPolicyIdT&& value) { SetConfigurationPolicyId(std::forward<ConfigurationPolicyIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetTargetId() const { return m_targetId; }
57 template<typename TargetIdT = Aws::String>
58 void SetTargetId(TargetIdT&& value) { m_targetIdHasBeenSet = true; m_targetId = std::forward<TargetIdT>(value); }
59 template<typename TargetIdT = Aws::String>
60 GetConfigurationPolicyAssociationResult& WithTargetId(TargetIdT&& value) { SetTargetId(std::forward<TargetIdT>(value)); return *this;}
62
64
68 inline TargetType GetTargetType() const { return m_targetType; }
69 inline void SetTargetType(TargetType value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
72
74
79 inline AssociationType GetAssociationType() const { return m_associationType; }
80 inline void SetAssociationType(AssociationType value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
83
85
89 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
90 template<typename UpdatedAtT = Aws::Utils::DateTime>
91 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
92 template<typename UpdatedAtT = Aws::Utils::DateTime>
93 GetConfigurationPolicyAssociationResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
95
97
101 inline ConfigurationPolicyAssociationStatus GetAssociationStatus() const { return m_associationStatus; }
102 inline void SetAssociationStatus(ConfigurationPolicyAssociationStatus value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
105
107
111 inline const Aws::String& GetAssociationStatusMessage() const { return m_associationStatusMessage; }
112 template<typename AssociationStatusMessageT = Aws::String>
113 void SetAssociationStatusMessage(AssociationStatusMessageT&& value) { m_associationStatusMessageHasBeenSet = true; m_associationStatusMessage = std::forward<AssociationStatusMessageT>(value); }
114 template<typename AssociationStatusMessageT = Aws::String>
115 GetConfigurationPolicyAssociationResult& WithAssociationStatusMessage(AssociationStatusMessageT&& value) { SetAssociationStatusMessage(std::forward<AssociationStatusMessageT>(value)); return *this;}
117
119
120 inline const Aws::String& GetRequestId() const { return m_requestId; }
121 template<typename RequestIdT = Aws::String>
122 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
123 template<typename RequestIdT = Aws::String>
124 GetConfigurationPolicyAssociationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
126 private:
127
128 Aws::String m_configurationPolicyId;
129 bool m_configurationPolicyIdHasBeenSet = false;
130
131 Aws::String m_targetId;
132 bool m_targetIdHasBeenSet = false;
133
134 TargetType m_targetType{TargetType::NOT_SET};
135 bool m_targetTypeHasBeenSet = false;
136
137 AssociationType m_associationType{AssociationType::NOT_SET};
138 bool m_associationTypeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_updatedAt{};
141 bool m_updatedAtHasBeenSet = false;
142
144 bool m_associationStatusHasBeenSet = false;
145
146 Aws::String m_associationStatusMessage;
147 bool m_associationStatusMessageHasBeenSet = false;
148
149 Aws::String m_requestId;
150 bool m_requestIdHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace SecurityHub
155} // 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