AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42
43
45
49 inline const Aws::Utils::DateTime& GetExecutionTime() const{ return m_executionTime; }
50 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
51 inline void SetExecutionTime(const Aws::Utils::DateTime& value) { m_executionTimeHasBeenSet = true; m_executionTime = value; }
52 inline void SetExecutionTime(Aws::Utils::DateTime&& value) { m_executionTimeHasBeenSet = true; m_executionTime = std::move(value); }
54 inline ComplianceExecutionSummary& WithExecutionTime(Aws::Utils::DateTime&& value) { SetExecutionTime(std::move(value)); return *this;}
56
58
63 inline const Aws::String& GetExecutionId() const{ return m_executionId; }
64 inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; }
65 inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; }
66 inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); }
67 inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); }
68 inline ComplianceExecutionSummary& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;}
69 inline ComplianceExecutionSummary& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;}
70 inline ComplianceExecutionSummary& WithExecutionId(const char* value) { SetExecutionId(value); return *this;}
72
74
78 inline const Aws::String& GetExecutionType() const{ return m_executionType; }
79 inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; }
80 inline void SetExecutionType(const Aws::String& value) { m_executionTypeHasBeenSet = true; m_executionType = value; }
81 inline void SetExecutionType(Aws::String&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::move(value); }
82 inline void SetExecutionType(const char* value) { m_executionTypeHasBeenSet = true; m_executionType.assign(value); }
83 inline ComplianceExecutionSummary& WithExecutionType(const Aws::String& value) { SetExecutionType(value); return *this;}
84 inline ComplianceExecutionSummary& WithExecutionType(Aws::String&& value) { SetExecutionType(std::move(value)); return *this;}
85 inline ComplianceExecutionSummary& WithExecutionType(const char* value) { SetExecutionType(value); return *this;}
87 private:
88
89 Aws::Utils::DateTime m_executionTime;
90 bool m_executionTimeHasBeenSet = false;
91
92 Aws::String m_executionId;
93 bool m_executionIdHasBeenSet = false;
94
95 Aws::String m_executionType;
96 bool m_executionTypeHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace SSM
101} // namespace Aws
ComplianceExecutionSummary & WithExecutionTime(Aws::Utils::DateTime &&value)
void SetExecutionTime(const Aws::Utils::DateTime &value)
ComplianceExecutionSummary & WithExecutionId(Aws::String &&value)
ComplianceExecutionSummary & WithExecutionType(const Aws::String &value)
ComplianceExecutionSummary & WithExecutionId(const char *value)
ComplianceExecutionSummary & WithExecutionType(Aws::String &&value)
ComplianceExecutionSummary & WithExecutionTime(const Aws::Utils::DateTime &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)
ComplianceExecutionSummary & WithExecutionId(const Aws::String &value)
ComplianceExecutionSummary & WithExecutionType(const char *value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExecutionTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue