AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartConfigurationPolicyAssociationResult.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 StartConfigurationPolicyAssociationResult() = default;
37
38
40
43 inline const Aws::String& GetConfigurationPolicyId() const { return m_configurationPolicyId; }
44 template<typename ConfigurationPolicyIdT = Aws::String>
45 void SetConfigurationPolicyId(ConfigurationPolicyIdT&& value) { m_configurationPolicyIdHasBeenSet = true; m_configurationPolicyId = std::forward<ConfigurationPolicyIdT>(value); }
46 template<typename ConfigurationPolicyIdT = Aws::String>
47 StartConfigurationPolicyAssociationResult& WithConfigurationPolicyId(ConfigurationPolicyIdT&& value) { SetConfigurationPolicyId(std::forward<ConfigurationPolicyIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetTargetId() const { return m_targetId; }
56 template<typename TargetIdT = Aws::String>
57 void SetTargetId(TargetIdT&& value) { m_targetIdHasBeenSet = true; m_targetId = std::forward<TargetIdT>(value); }
58 template<typename TargetIdT = Aws::String>
59 StartConfigurationPolicyAssociationResult& WithTargetId(TargetIdT&& value) { SetTargetId(std::forward<TargetIdT>(value)); return *this;}
61
63
67 inline TargetType GetTargetType() const { return m_targetType; }
68 inline void SetTargetType(TargetType value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
71
73
78 inline AssociationType GetAssociationType() const { return m_associationType; }
79 inline void SetAssociationType(AssociationType value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
82
84
88 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
89 template<typename UpdatedAtT = Aws::Utils::DateTime>
90 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
91 template<typename UpdatedAtT = Aws::Utils::DateTime>
92 StartConfigurationPolicyAssociationResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
94
96
100 inline ConfigurationPolicyAssociationStatus GetAssociationStatus() const { return m_associationStatus; }
101 inline void SetAssociationStatus(ConfigurationPolicyAssociationStatus value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
104
106
110 inline const Aws::String& GetAssociationStatusMessage() const { return m_associationStatusMessage; }
111 template<typename AssociationStatusMessageT = Aws::String>
112 void SetAssociationStatusMessage(AssociationStatusMessageT&& value) { m_associationStatusMessageHasBeenSet = true; m_associationStatusMessage = std::forward<AssociationStatusMessageT>(value); }
113 template<typename AssociationStatusMessageT = Aws::String>
114 StartConfigurationPolicyAssociationResult& WithAssociationStatusMessage(AssociationStatusMessageT&& value) { SetAssociationStatusMessage(std::forward<AssociationStatusMessageT>(value)); return *this;}
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 StartConfigurationPolicyAssociationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_configurationPolicyId;
128 bool m_configurationPolicyIdHasBeenSet = false;
129
130 Aws::String m_targetId;
131 bool m_targetIdHasBeenSet = false;
132
133 TargetType m_targetType{TargetType::NOT_SET};
134 bool m_targetTypeHasBeenSet = false;
135
136 AssociationType m_associationType{AssociationType::NOT_SET};
137 bool m_associationTypeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_updatedAt{};
140 bool m_updatedAtHasBeenSet = false;
141
143 bool m_associationStatusHasBeenSet = false;
144
145 Aws::String m_associationStatusMessage;
146 bool m_associationStatusMessageHasBeenSet = false;
147
148 Aws::String m_requestId;
149 bool m_requestIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace SecurityHub
154} // 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