AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
37
38
40
43 inline const Aws::String& GetConfigurationPolicyId() const{ return m_configurationPolicyId; }
44 inline void SetConfigurationPolicyId(const Aws::String& value) { m_configurationPolicyId = value; }
45 inline void SetConfigurationPolicyId(Aws::String&& value) { m_configurationPolicyId = std::move(value); }
46 inline void SetConfigurationPolicyId(const char* value) { m_configurationPolicyId.assign(value); }
51
53
57 inline const Aws::String& GetTargetId() const{ return m_targetId; }
58 inline void SetTargetId(const Aws::String& value) { m_targetId = value; }
59 inline void SetTargetId(Aws::String&& value) { m_targetId = std::move(value); }
60 inline void SetTargetId(const char* value) { m_targetId.assign(value); }
62 inline StartConfigurationPolicyAssociationResult& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
63 inline StartConfigurationPolicyAssociationResult& WithTargetId(const char* value) { SetTargetId(value); return *this;}
65
67
71 inline const TargetType& GetTargetType() const{ return m_targetType; }
72 inline void SetTargetType(const TargetType& value) { m_targetType = value; }
73 inline void SetTargetType(TargetType&& value) { m_targetType = std::move(value); }
75 inline StartConfigurationPolicyAssociationResult& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
77
79
84 inline const AssociationType& GetAssociationType() const{ return m_associationType; }
85 inline void SetAssociationType(const AssociationType& value) { m_associationType = value; }
86 inline void SetAssociationType(AssociationType&& value) { m_associationType = std::move(value); }
90
92
96 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
97 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
98 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
102
104
108 inline const ConfigurationPolicyAssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
109 inline void SetAssociationStatus(const ConfigurationPolicyAssociationStatus& value) { m_associationStatus = value; }
110 inline void SetAssociationStatus(ConfigurationPolicyAssociationStatus&& value) { m_associationStatus = std::move(value); }
114
116
120 inline const Aws::String& GetAssociationStatusMessage() const{ return m_associationStatusMessage; }
121 inline void SetAssociationStatusMessage(const Aws::String& value) { m_associationStatusMessage = value; }
122 inline void SetAssociationStatusMessage(Aws::String&& value) { m_associationStatusMessage = std::move(value); }
123 inline void SetAssociationStatusMessage(const char* value) { m_associationStatusMessage.assign(value); }
128
130
131 inline const Aws::String& GetRequestId() const{ return m_requestId; }
132 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
133 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
134 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
136 inline StartConfigurationPolicyAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
137 inline StartConfigurationPolicyAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
139 private:
140
141 Aws::String m_configurationPolicyId;
142
143 Aws::String m_targetId;
144
145 TargetType m_targetType;
146
147 AssociationType m_associationType;
148
149 Aws::Utils::DateTime m_updatedAt;
150
151 ConfigurationPolicyAssociationStatus m_associationStatus;
152
153 Aws::String m_associationStatusMessage;
154
155 Aws::String m_requestId;
156 };
157
158} // namespace Model
159} // namespace SecurityHub
160} // namespace Aws
StartConfigurationPolicyAssociationResult & WithAssociationStatusMessage(const Aws::String &value)
StartConfigurationPolicyAssociationResult & WithConfigurationPolicyId(const char *value)
StartConfigurationPolicyAssociationResult & WithConfigurationPolicyId(Aws::String &&value)
StartConfigurationPolicyAssociationResult & WithRequestId(const char *value)
StartConfigurationPolicyAssociationResult & WithTargetId(Aws::String &&value)
StartConfigurationPolicyAssociationResult & WithRequestId(Aws::String &&value)
AWS_SECURITYHUB_API StartConfigurationPolicyAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartConfigurationPolicyAssociationResult & WithAssociationStatusMessage(Aws::String &&value)
StartConfigurationPolicyAssociationResult & WithAssociationType(const AssociationType &value)
StartConfigurationPolicyAssociationResult & WithTargetType(const TargetType &value)
StartConfigurationPolicyAssociationResult & WithTargetId(const Aws::String &value)
StartConfigurationPolicyAssociationResult & WithConfigurationPolicyId(const Aws::String &value)
StartConfigurationPolicyAssociationResult & WithAssociationStatusMessage(const char *value)
StartConfigurationPolicyAssociationResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
StartConfigurationPolicyAssociationResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
StartConfigurationPolicyAssociationResult & WithAssociationStatus(const ConfigurationPolicyAssociationStatus &value)
StartConfigurationPolicyAssociationResult & WithTargetId(const char *value)
StartConfigurationPolicyAssociationResult & WithAssociationStatus(ConfigurationPolicyAssociationStatus &&value)
StartConfigurationPolicyAssociationResult & WithTargetType(TargetType &&value)
AWS_SECURITYHUB_API StartConfigurationPolicyAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartConfigurationPolicyAssociationResult & WithRequestId(const Aws::String &value)
StartConfigurationPolicyAssociationResult & WithAssociationType(AssociationType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue