AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ComplianceExecutionSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SSM {
21namespace Model {
22
32 public:
33 AWS_SSM_API ComplianceExecutionSummary() = default;
37
39
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) {
53 m_executionTimeHasBeenSet = true;
54 m_executionTime = std::forward<ExecutionTimeT>(value);
55 }
56 template <typename ExecutionTimeT = Aws::Utils::DateTime>
58 SetExecutionTime(std::forward<ExecutionTimeT>(value));
59 return *this;
60 }
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) {
73 m_executionIdHasBeenSet = true;
74 m_executionId = std::forward<ExecutionIdT>(value);
75 }
76 template <typename ExecutionIdT = Aws::String>
78 SetExecutionId(std::forward<ExecutionIdT>(value));
79 return *this;
80 }
82
84
88 inline const Aws::String& GetExecutionType() const { return m_executionType; }
89 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
90 template <typename ExecutionTypeT = Aws::String>
91 void SetExecutionType(ExecutionTypeT&& value) {
92 m_executionTypeHasBeenSet = true;
93 m_executionType = std::forward<ExecutionTypeT>(value);
94 }
95 template <typename ExecutionTypeT = Aws::String>
97 SetExecutionType(std::forward<ExecutionTypeT>(value));
98 return *this;
99 }
101 private:
102 Aws::Utils::DateTime m_executionTime{};
103
104 Aws::String m_executionId;
105
106 Aws::String m_executionType;
107 bool m_executionTimeHasBeenSet = false;
108 bool m_executionIdHasBeenSet = false;
109 bool m_executionTypeHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace SSM
114} // 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