AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ComplianceExecutionSummary.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSM
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_SSM_API ComplianceExecutionSummary() = default;
42
43
45
49 inline const Aws::Utils::DateTime& GetExecutionTime() const { return m_executionTime; }
50 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
51 template<typename ExecutionTimeT = Aws::Utils::DateTime>
52 void SetExecutionTime(ExecutionTimeT&& value) { m_executionTimeHasBeenSet = true; m_executionTime = std::forward<ExecutionTimeT>(value); }
53 template<typename ExecutionTimeT = Aws::Utils::DateTime>
54 ComplianceExecutionSummary& WithExecutionTime(ExecutionTimeT&& value) { SetExecutionTime(std::forward<ExecutionTimeT>(value)); return *this;}
56
58
63 inline const Aws::String& GetExecutionId() const { return m_executionId; }
64 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
65 template<typename ExecutionIdT = Aws::String>
66 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
67 template<typename ExecutionIdT = Aws::String>
68 ComplianceExecutionSummary& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
70
72
76 inline const Aws::String& GetExecutionType() const { return m_executionType; }
77 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
78 template<typename ExecutionTypeT = Aws::String>
79 void SetExecutionType(ExecutionTypeT&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::forward<ExecutionTypeT>(value); }
80 template<typename ExecutionTypeT = Aws::String>
81 ComplianceExecutionSummary& WithExecutionType(ExecutionTypeT&& value) { SetExecutionType(std::forward<ExecutionTypeT>(value)); return *this;}
83 private:
84
85 Aws::Utils::DateTime m_executionTime{};
86 bool m_executionTimeHasBeenSet = false;
87
88 Aws::String m_executionId;
89 bool m_executionIdHasBeenSet = false;
90
91 Aws::String m_executionType;
92 bool m_executionTypeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SSM
97} // namespace Aws
AWS_SSM_API ComplianceExecutionSummary()=default
ComplianceExecutionSummary & WithExecutionType(ExecutionTypeT &&value)
ComplianceExecutionSummary & WithExecutionId(ExecutionIdT &&value)
ComplianceExecutionSummary & WithExecutionTime(ExecutionTimeT &&value)
const Aws::Utils::DateTime & GetExecutionTime() const
AWS_SSM_API ComplianceExecutionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API ComplianceExecutionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue