AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemediationExecutionStatus.h
1
6#pragma once
7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/config/model/ResourceKey.h>
9#include <aws/config/model/RemediationExecutionState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/config/model/RemediationExecutionStep.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 ConfigService
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CONFIGSERVICE_API RemediationExecutionStatus();
42 AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const ResourceKey& GetResourceKey() const{ return m_resourceKey; }
48 inline bool ResourceKeyHasBeenSet() const { return m_resourceKeyHasBeenSet; }
49 inline void SetResourceKey(const ResourceKey& value) { m_resourceKeyHasBeenSet = true; m_resourceKey = value; }
50 inline void SetResourceKey(ResourceKey&& value) { m_resourceKeyHasBeenSet = true; m_resourceKey = std::move(value); }
51 inline RemediationExecutionStatus& WithResourceKey(const ResourceKey& value) { SetResourceKey(value); return *this;}
52 inline RemediationExecutionStatus& WithResourceKey(ResourceKey&& value) { SetResourceKey(std::move(value)); return *this;}
54
56
59 inline const RemediationExecutionState& GetState() const{ return m_state; }
60 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
61 inline void SetState(const RemediationExecutionState& value) { m_stateHasBeenSet = true; m_state = value; }
62 inline void SetState(RemediationExecutionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
63 inline RemediationExecutionStatus& WithState(const RemediationExecutionState& value) { SetState(value); return *this;}
64 inline RemediationExecutionStatus& WithState(RemediationExecutionState&& value) { SetState(std::move(value)); return *this;}
66
68
71 inline const Aws::Vector<RemediationExecutionStep>& GetStepDetails() const{ return m_stepDetails; }
72 inline bool StepDetailsHasBeenSet() const { return m_stepDetailsHasBeenSet; }
73 inline void SetStepDetails(const Aws::Vector<RemediationExecutionStep>& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = value; }
74 inline void SetStepDetails(Aws::Vector<RemediationExecutionStep>&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails = std::move(value); }
77 inline RemediationExecutionStatus& AddStepDetails(const RemediationExecutionStep& value) { m_stepDetailsHasBeenSet = true; m_stepDetails.push_back(value); return *this; }
78 inline RemediationExecutionStatus& AddStepDetails(RemediationExecutionStep&& value) { m_stepDetailsHasBeenSet = true; m_stepDetails.push_back(std::move(value)); return *this; }
80
82
85 inline const Aws::Utils::DateTime& GetInvocationTime() const{ return m_invocationTime; }
86 inline bool InvocationTimeHasBeenSet() const { return m_invocationTimeHasBeenSet; }
87 inline void SetInvocationTime(const Aws::Utils::DateTime& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = value; }
88 inline void SetInvocationTime(Aws::Utils::DateTime&& value) { m_invocationTimeHasBeenSet = true; m_invocationTime = std::move(value); }
90 inline RemediationExecutionStatus& WithInvocationTime(Aws::Utils::DateTime&& value) { SetInvocationTime(std::move(value)); return *this;}
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
98 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
99 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
100 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
104 private:
105
106 ResourceKey m_resourceKey;
107 bool m_resourceKeyHasBeenSet = false;
108
110 bool m_stateHasBeenSet = false;
111
113 bool m_stepDetailsHasBeenSet = false;
114
115 Aws::Utils::DateTime m_invocationTime;
116 bool m_invocationTimeHasBeenSet = false;
117
118 Aws::Utils::DateTime m_lastUpdatedTime;
119 bool m_lastUpdatedTimeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ConfigService
124} // namespace Aws
RemediationExecutionStatus & WithInvocationTime(const Aws::Utils::DateTime &value)
RemediationExecutionStatus & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
RemediationExecutionStatus & WithResourceKey(ResourceKey &&value)
RemediationExecutionStatus & WithInvocationTime(Aws::Utils::DateTime &&value)
RemediationExecutionStatus & WithStepDetails(const Aws::Vector< RemediationExecutionStep > &value)
RemediationExecutionStatus & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetStepDetails(const Aws::Vector< RemediationExecutionStep > &value)
RemediationExecutionStatus & WithResourceKey(const ResourceKey &value)
void SetState(const RemediationExecutionState &value)
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
RemediationExecutionStatus & AddStepDetails(RemediationExecutionStep &&value)
const Aws::Vector< RemediationExecutionStep > & GetStepDetails() const
void SetStepDetails(Aws::Vector< RemediationExecutionStep > &&value)
RemediationExecutionStatus & WithStepDetails(Aws::Vector< RemediationExecutionStep > &&value)
AWS_CONFIGSERVICE_API RemediationExecutionStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONFIGSERVICE_API RemediationExecutionStatus(Aws::Utils::Json::JsonView jsonValue)
RemediationExecutionStatus & WithState(const RemediationExecutionState &value)
RemediationExecutionStatus & WithState(RemediationExecutionState &&value)
RemediationExecutionStatus & AddStepDetails(const RemediationExecutionStep &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue