AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
ConfigurationCheckOperation.h
1
6#pragma once
7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/OperationStatus.h>
10#include <aws/ssm-sap/model/ConfigurationCheckType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ssm-sap/model/RuleStatusCounts.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 SsmSap
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SSMSAP_API ConfigurationCheckOperation() = default;
42 AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const { return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 ConfigurationCheckOperation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
56
58
62 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
63 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
64 template<typename ApplicationIdT = Aws::String>
65 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
66 template<typename ApplicationIdT = Aws::String>
67 ConfigurationCheckOperation& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
69
71
74 inline OperationStatus GetStatus() const { return m_status; }
75 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
76 inline void SetStatus(OperationStatus value) { m_statusHasBeenSet = true; m_status = value; }
77 inline ConfigurationCheckOperation& WithStatus(OperationStatus value) { SetStatus(value); return *this;}
79
81
85 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
86 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
87 template<typename StatusMessageT = Aws::String>
88 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
89 template<typename StatusMessageT = Aws::String>
90 ConfigurationCheckOperation& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
92
94
97 inline ConfigurationCheckType GetConfigurationCheckId() const { return m_configurationCheckId; }
98 inline bool ConfigurationCheckIdHasBeenSet() const { return m_configurationCheckIdHasBeenSet; }
99 inline void SetConfigurationCheckId(ConfigurationCheckType value) { m_configurationCheckIdHasBeenSet = true; m_configurationCheckId = value; }
102
104
107 inline const Aws::String& GetConfigurationCheckName() const { return m_configurationCheckName; }
108 inline bool ConfigurationCheckNameHasBeenSet() const { return m_configurationCheckNameHasBeenSet; }
109 template<typename ConfigurationCheckNameT = Aws::String>
110 void SetConfigurationCheckName(ConfigurationCheckNameT&& value) { m_configurationCheckNameHasBeenSet = true; m_configurationCheckName = std::forward<ConfigurationCheckNameT>(value); }
111 template<typename ConfigurationCheckNameT = Aws::String>
112 ConfigurationCheckOperation& WithConfigurationCheckName(ConfigurationCheckNameT&& value) { SetConfigurationCheckName(std::forward<ConfigurationCheckNameT>(value)); return *this;}
114
116
119 inline const Aws::String& GetConfigurationCheckDescription() const { return m_configurationCheckDescription; }
120 inline bool ConfigurationCheckDescriptionHasBeenSet() const { return m_configurationCheckDescriptionHasBeenSet; }
121 template<typename ConfigurationCheckDescriptionT = Aws::String>
122 void SetConfigurationCheckDescription(ConfigurationCheckDescriptionT&& value) { m_configurationCheckDescriptionHasBeenSet = true; m_configurationCheckDescription = std::forward<ConfigurationCheckDescriptionT>(value); }
123 template<typename ConfigurationCheckDescriptionT = Aws::String>
124 ConfigurationCheckOperation& WithConfigurationCheckDescription(ConfigurationCheckDescriptionT&& value) { SetConfigurationCheckDescription(std::forward<ConfigurationCheckDescriptionT>(value)); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
132 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
133 template<typename StartTimeT = Aws::Utils::DateTime>
134 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
135 template<typename StartTimeT = Aws::Utils::DateTime>
136 ConfigurationCheckOperation& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
144 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
145 template<typename EndTimeT = Aws::Utils::DateTime>
146 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
147 template<typename EndTimeT = Aws::Utils::DateTime>
148 ConfigurationCheckOperation& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
150
152
155 inline const RuleStatusCounts& GetRuleStatusCounts() const { return m_ruleStatusCounts; }
156 inline bool RuleStatusCountsHasBeenSet() const { return m_ruleStatusCountsHasBeenSet; }
157 template<typename RuleStatusCountsT = RuleStatusCounts>
158 void SetRuleStatusCounts(RuleStatusCountsT&& value) { m_ruleStatusCountsHasBeenSet = true; m_ruleStatusCounts = std::forward<RuleStatusCountsT>(value); }
159 template<typename RuleStatusCountsT = RuleStatusCounts>
160 ConfigurationCheckOperation& WithRuleStatusCounts(RuleStatusCountsT&& value) { SetRuleStatusCounts(std::forward<RuleStatusCountsT>(value)); return *this;}
162 private:
163
164 Aws::String m_id;
165 bool m_idHasBeenSet = false;
166
167 Aws::String m_applicationId;
168 bool m_applicationIdHasBeenSet = false;
169
171 bool m_statusHasBeenSet = false;
172
173 Aws::String m_statusMessage;
174 bool m_statusMessageHasBeenSet = false;
175
177 bool m_configurationCheckIdHasBeenSet = false;
178
179 Aws::String m_configurationCheckName;
180 bool m_configurationCheckNameHasBeenSet = false;
181
182 Aws::String m_configurationCheckDescription;
183 bool m_configurationCheckDescriptionHasBeenSet = false;
184
185 Aws::Utils::DateTime m_startTime{};
186 bool m_startTimeHasBeenSet = false;
187
188 Aws::Utils::DateTime m_endTime{};
189 bool m_endTimeHasBeenSet = false;
190
191 RuleStatusCounts m_ruleStatusCounts;
192 bool m_ruleStatusCountsHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace SsmSap
197} // namespace Aws
ConfigurationCheckOperation & WithEndTime(EndTimeT &&value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
ConfigurationCheckOperation & WithConfigurationCheckDescription(ConfigurationCheckDescriptionT &&value)
ConfigurationCheckOperation & WithRuleStatusCounts(RuleStatusCountsT &&value)
ConfigurationCheckOperation & WithApplicationId(ApplicationIdT &&value)
AWS_SSMSAP_API ConfigurationCheckOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMSAP_API ConfigurationCheckOperation(Aws::Utils::Json::JsonView jsonValue)
AWS_SSMSAP_API ConfigurationCheckOperation()=default
void SetConfigurationCheckDescription(ConfigurationCheckDescriptionT &&value)
ConfigurationCheckOperation & WithId(IdT &&value)
ConfigurationCheckOperation & WithStartTime(StartTimeT &&value)
ConfigurationCheckOperation & WithConfigurationCheckId(ConfigurationCheckType value)
ConfigurationCheckOperation & WithStatusMessage(StatusMessageT &&value)
ConfigurationCheckOperation & WithStatus(OperationStatus value)
void SetConfigurationCheckName(ConfigurationCheckNameT &&value)
ConfigurationCheckOperation & WithConfigurationCheckName(ConfigurationCheckNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue