AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LicenseConversionTask.h
1
6#pragma once
7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/model/LicenseConversionContext.h>
10#include <aws/license-manager/model/LicenseConversionTaskStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LicenseManager
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LICENSEMANAGER_API LicenseConversionTask();
39 AWS_LICENSEMANAGER_API LicenseConversionTask(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetLicenseConversionTaskId() const{ return m_licenseConversionTaskId; }
49 inline bool LicenseConversionTaskIdHasBeenSet() const { return m_licenseConversionTaskIdHasBeenSet; }
50 inline void SetLicenseConversionTaskId(const Aws::String& value) { m_licenseConversionTaskIdHasBeenSet = true; m_licenseConversionTaskId = value; }
51 inline void SetLicenseConversionTaskId(Aws::String&& value) { m_licenseConversionTaskIdHasBeenSet = true; m_licenseConversionTaskId = std::move(value); }
52 inline void SetLicenseConversionTaskId(const char* value) { m_licenseConversionTaskIdHasBeenSet = true; m_licenseConversionTaskId.assign(value); }
55 inline LicenseConversionTask& WithLicenseConversionTaskId(const char* value) { SetLicenseConversionTaskId(value); return *this;}
57
59
63 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
64 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
65 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
66 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
67 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
68 inline LicenseConversionTask& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
69 inline LicenseConversionTask& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
70 inline LicenseConversionTask& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
72
74
77 inline const LicenseConversionContext& GetSourceLicenseContext() const{ return m_sourceLicenseContext; }
78 inline bool SourceLicenseContextHasBeenSet() const { return m_sourceLicenseContextHasBeenSet; }
79 inline void SetSourceLicenseContext(const LicenseConversionContext& value) { m_sourceLicenseContextHasBeenSet = true; m_sourceLicenseContext = value; }
80 inline void SetSourceLicenseContext(LicenseConversionContext&& value) { m_sourceLicenseContextHasBeenSet = true; m_sourceLicenseContext = std::move(value); }
84
86
89 inline const LicenseConversionContext& GetDestinationLicenseContext() const{ return m_destinationLicenseContext; }
90 inline bool DestinationLicenseContextHasBeenSet() const { return m_destinationLicenseContextHasBeenSet; }
91 inline void SetDestinationLicenseContext(const LicenseConversionContext& value) { m_destinationLicenseContextHasBeenSet = true; m_destinationLicenseContext = value; }
92 inline void SetDestinationLicenseContext(LicenseConversionContext&& value) { m_destinationLicenseContextHasBeenSet = true; m_destinationLicenseContext = std::move(value); }
96
98
101 inline const LicenseConversionTaskStatus& GetStatus() const{ return m_status; }
102 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 inline void SetStatus(const LicenseConversionTaskStatus& value) { m_statusHasBeenSet = true; m_status = value; }
104 inline void SetStatus(LicenseConversionTaskStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
105 inline LicenseConversionTask& WithStatus(const LicenseConversionTaskStatus& value) { SetStatus(value); return *this;}
106 inline LicenseConversionTask& WithStatus(LicenseConversionTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
114 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
115 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
116 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
117 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
118 inline LicenseConversionTask& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
119 inline LicenseConversionTask& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
120 inline LicenseConversionTask& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
128 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
129 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
130 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
131 inline LicenseConversionTask& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
132 inline LicenseConversionTask& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetLicenseConversionTime() const{ return m_licenseConversionTime; }
140 inline bool LicenseConversionTimeHasBeenSet() const { return m_licenseConversionTimeHasBeenSet; }
141 inline void SetLicenseConversionTime(const Aws::Utils::DateTime& value) { m_licenseConversionTimeHasBeenSet = true; m_licenseConversionTime = value; }
142 inline void SetLicenseConversionTime(Aws::Utils::DateTime&& value) { m_licenseConversionTimeHasBeenSet = true; m_licenseConversionTime = std::move(value); }
146
148
151 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
152 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
153 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
154 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
155 inline LicenseConversionTask& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
156 inline LicenseConversionTask& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
158 private:
159
160 Aws::String m_licenseConversionTaskId;
161 bool m_licenseConversionTaskIdHasBeenSet = false;
162
163 Aws::String m_resourceArn;
164 bool m_resourceArnHasBeenSet = false;
165
166 LicenseConversionContext m_sourceLicenseContext;
167 bool m_sourceLicenseContextHasBeenSet = false;
168
169 LicenseConversionContext m_destinationLicenseContext;
170 bool m_destinationLicenseContextHasBeenSet = false;
171
173 bool m_statusHasBeenSet = false;
174
175 Aws::String m_statusMessage;
176 bool m_statusMessageHasBeenSet = false;
177
178 Aws::Utils::DateTime m_startTime;
179 bool m_startTimeHasBeenSet = false;
180
181 Aws::Utils::DateTime m_licenseConversionTime;
182 bool m_licenseConversionTimeHasBeenSet = false;
183
184 Aws::Utils::DateTime m_endTime;
185 bool m_endTimeHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace LicenseManager
190} // namespace Aws
void SetStartTime(const Aws::Utils::DateTime &value)
void SetSourceLicenseContext(const LicenseConversionContext &value)
LicenseConversionTask & WithResourceArn(Aws::String &&value)
void SetDestinationLicenseContext(LicenseConversionContext &&value)
void SetLicenseConversionTime(const Aws::Utils::DateTime &value)
void SetDestinationLicenseContext(const LicenseConversionContext &value)
LicenseConversionTask & WithStatusMessage(const char *value)
LicenseConversionTask & WithLicenseConversionTaskId(const char *value)
LicenseConversionTask & WithResourceArn(const Aws::String &value)
const Aws::Utils::DateTime & GetStartTime() const
LicenseConversionTask & WithStatusMessage(const Aws::String &value)
LicenseConversionTask & WithLicenseConversionTaskId(Aws::String &&value)
void SetStatus(const LicenseConversionTaskStatus &value)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLicenseConversionTime(Aws::Utils::DateTime &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
LicenseConversionTask & WithDestinationLicenseContext(LicenseConversionContext &&value)
LicenseConversionTask & WithLicenseConversionTime(const Aws::Utils::DateTime &value)
const LicenseConversionContext & GetSourceLicenseContext() const
LicenseConversionTask & WithLicenseConversionTaskId(const Aws::String &value)
LicenseConversionTask & WithEndTime(Aws::Utils::DateTime &&value)
void SetStatus(LicenseConversionTaskStatus &&value)
LicenseConversionTask & WithDestinationLicenseContext(const LicenseConversionContext &value)
LicenseConversionTask & WithSourceLicenseContext(const LicenseConversionContext &value)
LicenseConversionTask & WithStatus(LicenseConversionTaskStatus &&value)
void SetSourceLicenseContext(LicenseConversionContext &&value)
LicenseConversionTask & WithStatusMessage(Aws::String &&value)
AWS_LICENSEMANAGER_API LicenseConversionTask & operator=(Aws::Utils::Json::JsonView jsonValue)
const LicenseConversionContext & GetDestinationLicenseContext() const
LicenseConversionTask & WithLicenseConversionTime(Aws::Utils::DateTime &&value)
LicenseConversionTask & WithEndTime(const Aws::Utils::DateTime &value)
LicenseConversionTask & WithSourceLicenseContext(LicenseConversionContext &&value)
const Aws::Utils::DateTime & GetLicenseConversionTime() const
const LicenseConversionTaskStatus & GetStatus() const
LicenseConversionTask & WithStatus(const LicenseConversionTaskStatus &value)
LicenseConversionTask & WithStartTime(Aws::Utils::DateTime &&value)
LicenseConversionTask & WithResourceArn(const char *value)
LicenseConversionTask & WithStartTime(const Aws::Utils::DateTime &value)
AWS_LICENSEMANAGER_API LicenseConversionTask(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue