AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfigurationPolicyAssociationSummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub
26{
27namespace Model
28{
29
38 {
39 public:
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetConfigurationPolicyId() const{ return m_configurationPolicyId; }
51 inline bool ConfigurationPolicyIdHasBeenSet() const { return m_configurationPolicyIdHasBeenSet; }
52 inline void SetConfigurationPolicyId(const Aws::String& value) { m_configurationPolicyIdHasBeenSet = true; m_configurationPolicyId = value; }
53 inline void SetConfigurationPolicyId(Aws::String&& value) { m_configurationPolicyIdHasBeenSet = true; m_configurationPolicyId = std::move(value); }
54 inline void SetConfigurationPolicyId(const char* value) { m_configurationPolicyIdHasBeenSet = true; m_configurationPolicyId.assign(value); }
59
61
64 inline const Aws::String& GetTargetId() const{ return m_targetId; }
65 inline bool TargetIdHasBeenSet() const { return m_targetIdHasBeenSet; }
66 inline void SetTargetId(const Aws::String& value) { m_targetIdHasBeenSet = true; m_targetId = value; }
67 inline void SetTargetId(Aws::String&& value) { m_targetIdHasBeenSet = true; m_targetId = std::move(value); }
68 inline void SetTargetId(const char* value) { m_targetIdHasBeenSet = true; m_targetId.assign(value); }
69 inline ConfigurationPolicyAssociationSummary& WithTargetId(const Aws::String& value) { SetTargetId(value); return *this;}
70 inline ConfigurationPolicyAssociationSummary& WithTargetId(Aws::String&& value) { SetTargetId(std::move(value)); return *this;}
71 inline ConfigurationPolicyAssociationSummary& WithTargetId(const char* value) { SetTargetId(value); return *this;}
73
75
79 inline const TargetType& GetTargetType() const{ return m_targetType; }
80 inline bool TargetTypeHasBeenSet() const { return m_targetTypeHasBeenSet; }
81 inline void SetTargetType(const TargetType& value) { m_targetTypeHasBeenSet = true; m_targetType = value; }
82 inline void SetTargetType(TargetType&& value) { m_targetTypeHasBeenSet = true; m_targetType = std::move(value); }
84 inline ConfigurationPolicyAssociationSummary& WithTargetType(TargetType&& value) { SetTargetType(std::move(value)); return *this;}
86
88
93 inline const AssociationType& GetAssociationType() const{ return m_associationType; }
94 inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; }
95 inline void SetAssociationType(const AssociationType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; }
96 inline void SetAssociationType(AssociationType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); }
100
102
106 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
107 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
108 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
109 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
113
115
119 inline const ConfigurationPolicyAssociationStatus& GetAssociationStatus() const{ return m_associationStatus; }
120 inline bool AssociationStatusHasBeenSet() const { return m_associationStatusHasBeenSet; }
121 inline void SetAssociationStatus(const ConfigurationPolicyAssociationStatus& value) { m_associationStatusHasBeenSet = true; m_associationStatus = value; }
122 inline void SetAssociationStatus(ConfigurationPolicyAssociationStatus&& value) { m_associationStatusHasBeenSet = true; m_associationStatus = std::move(value); }
126
128
132 inline const Aws::String& GetAssociationStatusMessage() const{ return m_associationStatusMessage; }
133 inline bool AssociationStatusMessageHasBeenSet() const { return m_associationStatusMessageHasBeenSet; }
134 inline void SetAssociationStatusMessage(const Aws::String& value) { m_associationStatusMessageHasBeenSet = true; m_associationStatusMessage = value; }
135 inline void SetAssociationStatusMessage(Aws::String&& value) { m_associationStatusMessageHasBeenSet = true; m_associationStatusMessage = std::move(value); }
136 inline void SetAssociationStatusMessage(const char* value) { m_associationStatusMessageHasBeenSet = true; m_associationStatusMessage.assign(value); }
141 private:
142
143 Aws::String m_configurationPolicyId;
144 bool m_configurationPolicyIdHasBeenSet = false;
145
146 Aws::String m_targetId;
147 bool m_targetIdHasBeenSet = false;
148
149 TargetType m_targetType;
150 bool m_targetTypeHasBeenSet = false;
151
152 AssociationType m_associationType;
153 bool m_associationTypeHasBeenSet = false;
154
155 Aws::Utils::DateTime m_updatedAt;
156 bool m_updatedAtHasBeenSet = false;
157
158 ConfigurationPolicyAssociationStatus m_associationStatus;
159 bool m_associationStatusHasBeenSet = false;
160
161 Aws::String m_associationStatusMessage;
162 bool m_associationStatusMessageHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace SecurityHub
167} // namespace Aws
ConfigurationPolicyAssociationSummary & WithAssociationStatus(const ConfigurationPolicyAssociationStatus &value)
ConfigurationPolicyAssociationSummary & WithAssociationStatus(ConfigurationPolicyAssociationStatus &&value)
AWS_SECURITYHUB_API ConfigurationPolicyAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationPolicyAssociationSummary & WithTargetType(const TargetType &value)
ConfigurationPolicyAssociationSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ConfigurationPolicyAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
ConfigurationPolicyAssociationSummary & WithTargetId(const Aws::String &value)
ConfigurationPolicyAssociationSummary & WithAssociationStatusMessage(Aws::String &&value)
ConfigurationPolicyAssociationSummary & WithAssociationStatusMessage(const char *value)
ConfigurationPolicyAssociationSummary & WithAssociationType(AssociationType &&value)
void SetAssociationStatus(const ConfigurationPolicyAssociationStatus &value)
ConfigurationPolicyAssociationSummary & WithConfigurationPolicyId(const Aws::String &value)
ConfigurationPolicyAssociationSummary & WithTargetId(Aws::String &&value)
ConfigurationPolicyAssociationSummary & WithTargetType(TargetType &&value)
ConfigurationPolicyAssociationSummary & WithTargetId(const char *value)
ConfigurationPolicyAssociationSummary & WithAssociationType(const AssociationType &value)
ConfigurationPolicyAssociationSummary & WithConfigurationPolicyId(Aws::String &&value)
ConfigurationPolicyAssociationSummary & WithConfigurationPolicyId(const char *value)
ConfigurationPolicyAssociationSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
ConfigurationPolicyAssociationSummary & WithAssociationStatusMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue