AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
ScheduledPlanExecutionMember.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/model/RuleExecutionType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Backup {
22namespace Model {
23
32 public:
33 AWS_BACKUP_API ScheduledPlanExecutionMember() = default;
36 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Utils::DateTime& GetExecutionTime() const { return m_executionTime; }
44 inline bool ExecutionTimeHasBeenSet() const { return m_executionTimeHasBeenSet; }
45 template <typename ExecutionTimeT = Aws::Utils::DateTime>
46 void SetExecutionTime(ExecutionTimeT&& value) {
47 m_executionTimeHasBeenSet = true;
48 m_executionTime = std::forward<ExecutionTimeT>(value);
49 }
50 template <typename ExecutionTimeT = Aws::Utils::DateTime>
52 SetExecutionTime(std::forward<ExecutionTimeT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetRuleId() const { return m_ruleId; }
63 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
64 template <typename RuleIdT = Aws::String>
65 void SetRuleId(RuleIdT&& value) {
66 m_ruleIdHasBeenSet = true;
67 m_ruleId = std::forward<RuleIdT>(value);
68 }
69 template <typename RuleIdT = Aws::String>
71 SetRuleId(std::forward<RuleIdT>(value));
72 return *this;
73 }
75
77
82 inline RuleExecutionType GetRuleExecutionType() const { return m_ruleExecutionType; }
83 inline bool RuleExecutionTypeHasBeenSet() const { return m_ruleExecutionTypeHasBeenSet; }
85 m_ruleExecutionTypeHasBeenSet = true;
86 m_ruleExecutionType = value;
87 }
90 return *this;
91 }
93 private:
94 Aws::Utils::DateTime m_executionTime{};
95
96 Aws::String m_ruleId;
97
99 bool m_executionTimeHasBeenSet = false;
100 bool m_ruleIdHasBeenSet = false;
101 bool m_ruleExecutionTypeHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Backup
106} // namespace Aws
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API ScheduledPlanExecutionMember(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API ScheduledPlanExecutionMember()=default
ScheduledPlanExecutionMember & WithRuleId(RuleIdT &&value)
ScheduledPlanExecutionMember & WithRuleExecutionType(RuleExecutionType value)
ScheduledPlanExecutionMember & WithExecutionTime(ExecutionTimeT &&value)
AWS_BACKUP_API ScheduledPlanExecutionMember & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue