AWS SDK for C++

AWS SDK for C++ Version 1.11.639

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
55 inline const Aws::Utils::DateTime& GetExecutionTime() const { return m_executionTime; }
56 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
57 template<typename ExecutionTimeT = Aws::Utils::DateTime>
58 void SetExecutionTime(ExecutionTimeT&& value) { m_executionTimeHasBeenSet = true; m_executionTime = std::forward<ExecutionTimeT>(value); }
59 template<typename ExecutionTimeT = Aws::Utils::DateTime>
60 ComplianceExecutionSummary& WithExecutionTime(ExecutionTimeT&& value) { SetExecutionTime(std::forward<ExecutionTimeT>(value)); return *this;}
62
64
69 inline const Aws::String& GetExecutionId() const { return m_executionId; }
70 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
71 template<typename ExecutionIdT = Aws::String>
72 void SetExecutionId(ExecutionIdT&& value) { m_executionIdHasBeenSet = true; m_executionId = std::forward<ExecutionIdT>(value); }
73 template<typename ExecutionIdT = Aws::String>
74 ComplianceExecutionSummary& WithExecutionId(ExecutionIdT&& value) { SetExecutionId(std::forward<ExecutionIdT>(value)); return *this;}
76
78
82 inline const Aws::String& GetExecutionType() const { return m_executionType; }
83 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
84 template<typename ExecutionTypeT = Aws::String>
85 void SetExecutionType(ExecutionTypeT&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::forward<ExecutionTypeT>(value); }
86 template<typename ExecutionTypeT = Aws::String>
87 ComplianceExecutionSummary& WithExecutionType(ExecutionTypeT&& value) { SetExecutionType(std::forward<ExecutionTypeT>(value)); return *this;}
89 private:
90
91 Aws::Utils::DateTime m_executionTime{};
92 bool m_executionTimeHasBeenSet = false;
93
94 Aws::String m_executionId;
95 bool m_executionIdHasBeenSet = false;
96
97 Aws::String m_executionType;
98 bool m_executionTypeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SSM
103} // 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