AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ScheduledWindowExecution.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ssm/SSM_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SSM {
20namespace Model {
21
29 public:
30 AWS_SSM_API ScheduledWindowExecution() = default;
34
36
39 inline const Aws::String& GetWindowId() const { return m_windowId; }
40 inline bool WindowIdHasBeenSet() const { return m_windowIdHasBeenSet; }
41 template <typename WindowIdT = Aws::String>
42 void SetWindowId(WindowIdT&& value) {
43 m_windowIdHasBeenSet = true;
44 m_windowId = std::forward<WindowIdT>(value);
45 }
46 template <typename WindowIdT = Aws::String>
48 SetWindowId(std::forward<WindowIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetExecutionTime() const { return m_executionTime; }
77 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
78 template <typename ExecutionTimeT = Aws::String>
79 void SetExecutionTime(ExecutionTimeT&& value) {
80 m_executionTimeHasBeenSet = true;
81 m_executionTime = std::forward<ExecutionTimeT>(value);
82 }
83 template <typename ExecutionTimeT = Aws::String>
85 SetExecutionTime(std::forward<ExecutionTimeT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_windowId;
91
92 Aws::String m_name;
93
94 Aws::String m_executionTime;
95 bool m_windowIdHasBeenSet = false;
96 bool m_nameHasBeenSet = false;
97 bool m_executionTimeHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SSM
102} // namespace Aws
AWS_SSM_API ScheduledWindowExecution()=default
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledWindowExecution & WithName(NameT &&value)
AWS_SSM_API ScheduledWindowExecution(Aws::Utils::Json::JsonView jsonValue)
ScheduledWindowExecution & WithWindowId(WindowIdT &&value)
ScheduledWindowExecution & WithExecutionTime(ExecutionTimeT &&value)
AWS_SSM_API ScheduledWindowExecution & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue