AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LifeCycleLastLaunchInitiated.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/LastLaunchType.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 drs
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DRS_API LifeCycleLastLaunchInitiated() = default;
40
41
43
46 inline const Aws::String& GetApiCallDateTime() const { return m_apiCallDateTime; }
47 inline bool ApiCallDateTimeHasBeenSet() const { return m_apiCallDateTimeHasBeenSet; }
48 template<typename ApiCallDateTimeT = Aws::String>
49 void SetApiCallDateTime(ApiCallDateTimeT&& value) { m_apiCallDateTimeHasBeenSet = true; m_apiCallDateTime = std::forward<ApiCallDateTimeT>(value); }
50 template<typename ApiCallDateTimeT = Aws::String>
51 LifeCycleLastLaunchInitiated& WithApiCallDateTime(ApiCallDateTimeT&& value) { SetApiCallDateTime(std::forward<ApiCallDateTimeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetJobID() const { return m_jobID; }
59 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
60 template<typename JobIDT = Aws::String>
61 void SetJobID(JobIDT&& value) { m_jobIDHasBeenSet = true; m_jobID = std::forward<JobIDT>(value); }
62 template<typename JobIDT = Aws::String>
63 LifeCycleLastLaunchInitiated& WithJobID(JobIDT&& value) { SetJobID(std::forward<JobIDT>(value)); return *this;}
65
67
70 inline LastLaunchType GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(LastLaunchType value) { m_typeHasBeenSet = true; m_type = value; }
73 inline LifeCycleLastLaunchInitiated& WithType(LastLaunchType value) { SetType(value); return *this;}
75 private:
76
77 Aws::String m_apiCallDateTime;
78 bool m_apiCallDateTimeHasBeenSet = false;
79
80 Aws::String m_jobID;
81 bool m_jobIDHasBeenSet = false;
82
84 bool m_typeHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace drs
89} // namespace Aws
LifeCycleLastLaunchInitiated & WithJobID(JobIDT &&value)
AWS_DRS_API LifeCycleLastLaunchInitiated(Aws::Utils::Json::JsonView jsonValue)
LifeCycleLastLaunchInitiated & WithApiCallDateTime(ApiCallDateTimeT &&value)
AWS_DRS_API LifeCycleLastLaunchInitiated()=default
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
LifeCycleLastLaunchInitiated & WithType(LastLaunchType value)
AWS_DRS_API LifeCycleLastLaunchInitiated & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue