AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
LifeCycleLastLaunchInitiated.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.h>
9#include <aws/drs/model/LastLaunchType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace drs {
21namespace Model {
22
30 public:
31 AWS_DRS_API LifeCycleLastLaunchInitiated() = default;
35
37
40 inline const Aws::String& GetApiCallDateTime() const { return m_apiCallDateTime; }
41 inline bool ApiCallDateTimeHasBeenSet() const { return m_apiCallDateTimeHasBeenSet; }
42 template <typename ApiCallDateTimeT = Aws::String>
43 void SetApiCallDateTime(ApiCallDateTimeT&& value) {
44 m_apiCallDateTimeHasBeenSet = true;
45 m_apiCallDateTime = std::forward<ApiCallDateTimeT>(value);
46 }
47 template <typename ApiCallDateTimeT = Aws::String>
49 SetApiCallDateTime(std::forward<ApiCallDateTimeT>(value));
50 return *this;
51 }
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) {
62 m_jobIDHasBeenSet = true;
63 m_jobID = std::forward<JobIDT>(value);
64 }
65 template <typename JobIDT = Aws::String>
67 SetJobID(std::forward<JobIDT>(value));
68 return *this;
69 }
71
73
76 inline LastLaunchType GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(LastLaunchType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87 private:
88 Aws::String m_apiCallDateTime;
89
90 Aws::String m_jobID;
91
93 bool m_apiCallDateTimeHasBeenSet = false;
94 bool m_jobIDHasBeenSet = false;
95 bool m_typeHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace drs
100} // 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