AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PolicyComplianceStatus.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/fms/model/EvaluationResult.h>
13#include <aws/fms/model/DependentServiceName.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace FMS
27{
28namespace Model
29{
30
41 {
42 public:
47
48
50
53 inline const Aws::String& GetPolicyOwner() const{ return m_policyOwner; }
54 inline bool PolicyOwnerHasBeenSet() const { return m_policyOwnerHasBeenSet; }
55 inline void SetPolicyOwner(const Aws::String& value) { m_policyOwnerHasBeenSet = true; m_policyOwner = value; }
56 inline void SetPolicyOwner(Aws::String&& value) { m_policyOwnerHasBeenSet = true; m_policyOwner = std::move(value); }
57 inline void SetPolicyOwner(const char* value) { m_policyOwnerHasBeenSet = true; m_policyOwner.assign(value); }
58 inline PolicyComplianceStatus& WithPolicyOwner(const Aws::String& value) { SetPolicyOwner(value); return *this;}
59 inline PolicyComplianceStatus& WithPolicyOwner(Aws::String&& value) { SetPolicyOwner(std::move(value)); return *this;}
60 inline PolicyComplianceStatus& WithPolicyOwner(const char* value) { SetPolicyOwner(value); return *this;}
62
64
67 inline const Aws::String& GetPolicyId() const{ return m_policyId; }
68 inline bool PolicyIdHasBeenSet() const { return m_policyIdHasBeenSet; }
69 inline void SetPolicyId(const Aws::String& value) { m_policyIdHasBeenSet = true; m_policyId = value; }
70 inline void SetPolicyId(Aws::String&& value) { m_policyIdHasBeenSet = true; m_policyId = std::move(value); }
71 inline void SetPolicyId(const char* value) { m_policyIdHasBeenSet = true; m_policyId.assign(value); }
72 inline PolicyComplianceStatus& WithPolicyId(const Aws::String& value) { SetPolicyId(value); return *this;}
73 inline PolicyComplianceStatus& WithPolicyId(Aws::String&& value) { SetPolicyId(std::move(value)); return *this;}
74 inline PolicyComplianceStatus& WithPolicyId(const char* value) { SetPolicyId(value); return *this;}
76
78
81 inline const Aws::String& GetPolicyName() const{ return m_policyName; }
82 inline bool PolicyNameHasBeenSet() const { return m_policyNameHasBeenSet; }
83 inline void SetPolicyName(const Aws::String& value) { m_policyNameHasBeenSet = true; m_policyName = value; }
84 inline void SetPolicyName(Aws::String&& value) { m_policyNameHasBeenSet = true; m_policyName = std::move(value); }
85 inline void SetPolicyName(const char* value) { m_policyNameHasBeenSet = true; m_policyName.assign(value); }
86 inline PolicyComplianceStatus& WithPolicyName(const Aws::String& value) { SetPolicyName(value); return *this;}
87 inline PolicyComplianceStatus& WithPolicyName(Aws::String&& value) { SetPolicyName(std::move(value)); return *this;}
88 inline PolicyComplianceStatus& WithPolicyName(const char* value) { SetPolicyName(value); return *this;}
90
92
95 inline const Aws::String& GetMemberAccount() const{ return m_memberAccount; }
96 inline bool MemberAccountHasBeenSet() const { return m_memberAccountHasBeenSet; }
97 inline void SetMemberAccount(const Aws::String& value) { m_memberAccountHasBeenSet = true; m_memberAccount = value; }
98 inline void SetMemberAccount(Aws::String&& value) { m_memberAccountHasBeenSet = true; m_memberAccount = std::move(value); }
99 inline void SetMemberAccount(const char* value) { m_memberAccountHasBeenSet = true; m_memberAccount.assign(value); }
100 inline PolicyComplianceStatus& WithMemberAccount(const Aws::String& value) { SetMemberAccount(value); return *this;}
101 inline PolicyComplianceStatus& WithMemberAccount(Aws::String&& value) { SetMemberAccount(std::move(value)); return *this;}
102 inline PolicyComplianceStatus& WithMemberAccount(const char* value) { SetMemberAccount(value); return *this;}
104
106
109 inline const Aws::Vector<EvaluationResult>& GetEvaluationResults() const{ return m_evaluationResults; }
110 inline bool EvaluationResultsHasBeenSet() const { return m_evaluationResultsHasBeenSet; }
111 inline void SetEvaluationResults(const Aws::Vector<EvaluationResult>& value) { m_evaluationResultsHasBeenSet = true; m_evaluationResults = value; }
112 inline void SetEvaluationResults(Aws::Vector<EvaluationResult>&& value) { m_evaluationResultsHasBeenSet = true; m_evaluationResults = std::move(value); }
115 inline PolicyComplianceStatus& AddEvaluationResults(const EvaluationResult& value) { m_evaluationResultsHasBeenSet = true; m_evaluationResults.push_back(value); return *this; }
116 inline PolicyComplianceStatus& AddEvaluationResults(EvaluationResult&& value) { m_evaluationResultsHasBeenSet = true; m_evaluationResults.push_back(std::move(value)); return *this; }
118
120
124 inline const Aws::Utils::DateTime& GetLastUpdated() const{ return m_lastUpdated; }
125 inline bool LastUpdatedHasBeenSet() const { return m_lastUpdatedHasBeenSet; }
126 inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = value; }
127 inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdatedHasBeenSet = true; m_lastUpdated = std::move(value); }
128 inline PolicyComplianceStatus& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;}
129 inline PolicyComplianceStatus& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(std::move(value)); return *this;}
131
133
137 inline const Aws::Map<DependentServiceName, Aws::String>& GetIssueInfoMap() const{ return m_issueInfoMap; }
138 inline bool IssueInfoMapHasBeenSet() const { return m_issueInfoMapHasBeenSet; }
139 inline void SetIssueInfoMap(const Aws::Map<DependentServiceName, Aws::String>& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap = value; }
140 inline void SetIssueInfoMap(Aws::Map<DependentServiceName, Aws::String>&& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap = std::move(value); }
143 inline PolicyComplianceStatus& AddIssueInfoMap(const DependentServiceName& key, const Aws::String& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(key, value); return *this; }
144 inline PolicyComplianceStatus& AddIssueInfoMap(DependentServiceName&& key, const Aws::String& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(std::move(key), value); return *this; }
145 inline PolicyComplianceStatus& AddIssueInfoMap(const DependentServiceName& key, Aws::String&& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(key, std::move(value)); return *this; }
146 inline PolicyComplianceStatus& AddIssueInfoMap(DependentServiceName&& key, Aws::String&& value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(std::move(key), std::move(value)); return *this; }
147 inline PolicyComplianceStatus& AddIssueInfoMap(DependentServiceName&& key, const char* value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(std::move(key), value); return *this; }
148 inline PolicyComplianceStatus& AddIssueInfoMap(const DependentServiceName& key, const char* value) { m_issueInfoMapHasBeenSet = true; m_issueInfoMap.emplace(key, value); return *this; }
150 private:
151
152 Aws::String m_policyOwner;
153 bool m_policyOwnerHasBeenSet = false;
154
155 Aws::String m_policyId;
156 bool m_policyIdHasBeenSet = false;
157
158 Aws::String m_policyName;
159 bool m_policyNameHasBeenSet = false;
160
161 Aws::String m_memberAccount;
162 bool m_memberAccountHasBeenSet = false;
163
164 Aws::Vector<EvaluationResult> m_evaluationResults;
165 bool m_evaluationResultsHasBeenSet = false;
166
167 Aws::Utils::DateTime m_lastUpdated;
168 bool m_lastUpdatedHasBeenSet = false;
169
171 bool m_issueInfoMapHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace FMS
176} // namespace Aws
AWS_FMS_API PolicyComplianceStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdated() const
void SetIssueInfoMap(const Aws::Map< DependentServiceName, Aws::String > &value)
void SetPolicyName(const Aws::String &value)
void SetEvaluationResults(Aws::Vector< EvaluationResult > &&value)
PolicyComplianceStatus & WithMemberAccount(const Aws::String &value)
PolicyComplianceStatus & WithEvaluationResults(Aws::Vector< EvaluationResult > &&value)
PolicyComplianceStatus & AddIssueInfoMap(const DependentServiceName &key, Aws::String &&value)
PolicyComplianceStatus & WithPolicyOwner(const Aws::String &value)
PolicyComplianceStatus & WithPolicyId(const Aws::String &value)
PolicyComplianceStatus & AddEvaluationResults(const EvaluationResult &value)
PolicyComplianceStatus & WithPolicyId(Aws::String &&value)
PolicyComplianceStatus & WithEvaluationResults(const Aws::Vector< EvaluationResult > &value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_FMS_API PolicyComplianceStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
PolicyComplianceStatus & WithPolicyName(Aws::String &&value)
PolicyComplianceStatus & WithMemberAccount(const char *value)
PolicyComplianceStatus & WithPolicyId(const char *value)
const Aws::Map< DependentServiceName, Aws::String > & GetIssueInfoMap() const
void SetEvaluationResults(const Aws::Vector< EvaluationResult > &value)
PolicyComplianceStatus & WithLastUpdated(const Aws::Utils::DateTime &value)
PolicyComplianceStatus & AddIssueInfoMap(const DependentServiceName &key, const Aws::String &value)
void SetPolicyId(const Aws::String &value)
PolicyComplianceStatus & WithPolicyName(const char *value)
PolicyComplianceStatus & WithIssueInfoMap(Aws::Map< DependentServiceName, Aws::String > &&value)
PolicyComplianceStatus & WithPolicyName(const Aws::String &value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
PolicyComplianceStatus & WithLastUpdated(Aws::Utils::DateTime &&value)
PolicyComplianceStatus & WithIssueInfoMap(const Aws::Map< DependentServiceName, Aws::String > &value)
PolicyComplianceStatus & WithPolicyOwner(const char *value)
PolicyComplianceStatus & AddIssueInfoMap(DependentServiceName &&key, const Aws::String &value)
PolicyComplianceStatus & AddEvaluationResults(EvaluationResult &&value)
PolicyComplianceStatus & AddIssueInfoMap(DependentServiceName &&key, const char *value)
PolicyComplianceStatus & WithPolicyOwner(Aws::String &&value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
const Aws::Vector< EvaluationResult > & GetEvaluationResults() const
PolicyComplianceStatus & AddIssueInfoMap(DependentServiceName &&key, Aws::String &&value)
void SetIssueInfoMap(Aws::Map< DependentServiceName, Aws::String > &&value)
PolicyComplianceStatus & WithMemberAccount(Aws::String &&value)
void SetMemberAccount(const Aws::String &value)
PolicyComplianceStatus & AddIssueInfoMap(const DependentServiceName &key, const char *value)
void SetPolicyOwner(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue