AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskScheduleDetails.h
1
6#pragma once
7#include <aws/datasync/DataSync_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datasync/model/ScheduleDisabledBy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DataSync
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_DATASYNC_API TaskScheduleDetails();
41 AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Utils::DateTime& GetStatusUpdateTime() const{ return m_statusUpdateTime; }
51 inline bool StatusUpdateTimeHasBeenSet() const { return m_statusUpdateTimeHasBeenSet; }
52 inline void SetStatusUpdateTime(const Aws::Utils::DateTime& value) { m_statusUpdateTimeHasBeenSet = true; m_statusUpdateTime = value; }
53 inline void SetStatusUpdateTime(Aws::Utils::DateTime&& value) { m_statusUpdateTimeHasBeenSet = true; m_statusUpdateTime = std::move(value); }
55 inline TaskScheduleDetails& WithStatusUpdateTime(Aws::Utils::DateTime&& value) { SetStatusUpdateTime(std::move(value)); return *this;}
57
59
68 inline const Aws::String& GetDisabledReason() const{ return m_disabledReason; }
69 inline bool DisabledReasonHasBeenSet() const { return m_disabledReasonHasBeenSet; }
70 inline void SetDisabledReason(const Aws::String& value) { m_disabledReasonHasBeenSet = true; m_disabledReason = value; }
71 inline void SetDisabledReason(Aws::String&& value) { m_disabledReasonHasBeenSet = true; m_disabledReason = std::move(value); }
72 inline void SetDisabledReason(const char* value) { m_disabledReasonHasBeenSet = true; m_disabledReason.assign(value); }
73 inline TaskScheduleDetails& WithDisabledReason(const Aws::String& value) { SetDisabledReason(value); return *this;}
74 inline TaskScheduleDetails& WithDisabledReason(Aws::String&& value) { SetDisabledReason(std::move(value)); return *this;}
75 inline TaskScheduleDetails& WithDisabledReason(const char* value) { SetDisabledReason(value); return *this;}
77
79
87 inline const ScheduleDisabledBy& GetDisabledBy() const{ return m_disabledBy; }
88 inline bool DisabledByHasBeenSet() const { return m_disabledByHasBeenSet; }
89 inline void SetDisabledBy(const ScheduleDisabledBy& value) { m_disabledByHasBeenSet = true; m_disabledBy = value; }
90 inline void SetDisabledBy(ScheduleDisabledBy&& value) { m_disabledByHasBeenSet = true; m_disabledBy = std::move(value); }
91 inline TaskScheduleDetails& WithDisabledBy(const ScheduleDisabledBy& value) { SetDisabledBy(value); return *this;}
92 inline TaskScheduleDetails& WithDisabledBy(ScheduleDisabledBy&& value) { SetDisabledBy(std::move(value)); return *this;}
94 private:
95
96 Aws::Utils::DateTime m_statusUpdateTime;
97 bool m_statusUpdateTimeHasBeenSet = false;
98
99 Aws::String m_disabledReason;
100 bool m_disabledReasonHasBeenSet = false;
101
102 ScheduleDisabledBy m_disabledBy;
103 bool m_disabledByHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DataSync
108} // namespace Aws
const Aws::Utils::DateTime & GetStatusUpdateTime() const
void SetDisabledReason(const Aws::String &value)
TaskScheduleDetails & WithDisabledReason(Aws::String &&value)
TaskScheduleDetails & WithDisabledReason(const char *value)
TaskScheduleDetails & WithDisabledBy(ScheduleDisabledBy &&value)
TaskScheduleDetails & WithDisabledReason(const Aws::String &value)
AWS_DATASYNC_API TaskScheduleDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DATASYNC_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDisabledReason() const
TaskScheduleDetails & WithStatusUpdateTime(Aws::Utils::DateTime &&value)
const ScheduleDisabledBy & GetDisabledBy() const
void SetStatusUpdateTime(const Aws::Utils::DateTime &value)
TaskScheduleDetails & WithDisabledBy(const ScheduleDisabledBy &value)
TaskScheduleDetails & WithStatusUpdateTime(const Aws::Utils::DateTime &value)
void SetStatusUpdateTime(Aws::Utils::DateTime &&value)
AWS_DATASYNC_API TaskScheduleDetails(Aws::Utils::Json::JsonView jsonValue)
void SetDisabledBy(ScheduleDisabledBy &&value)
void SetDisabledBy(const ScheduleDisabledBy &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue