AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLicenseConversionTaskResult.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{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LicenseManager
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LICENSEMANAGER_API GetLicenseConversionTaskResult();
36
37
39
42 inline const Aws::String& GetLicenseConversionTaskId() const{ return m_licenseConversionTaskId; }
43 inline void SetLicenseConversionTaskId(const Aws::String& value) { m_licenseConversionTaskId = value; }
44 inline void SetLicenseConversionTaskId(Aws::String&& value) { m_licenseConversionTaskId = std::move(value); }
45 inline void SetLicenseConversionTaskId(const char* value) { m_licenseConversionTaskId.assign(value); }
50
52
56 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
57 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
58 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
59 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
60 inline GetLicenseConversionTaskResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
61 inline GetLicenseConversionTaskResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
62 inline GetLicenseConversionTaskResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
64
66
69 inline const LicenseConversionContext& GetSourceLicenseContext() const{ return m_sourceLicenseContext; }
70 inline void SetSourceLicenseContext(const LicenseConversionContext& value) { m_sourceLicenseContext = value; }
71 inline void SetSourceLicenseContext(LicenseConversionContext&& value) { m_sourceLicenseContext = std::move(value); }
75
77
80 inline const LicenseConversionContext& GetDestinationLicenseContext() const{ return m_destinationLicenseContext; }
81 inline void SetDestinationLicenseContext(const LicenseConversionContext& value) { m_destinationLicenseContext = value; }
82 inline void SetDestinationLicenseContext(LicenseConversionContext&& value) { m_destinationLicenseContext = std::move(value); }
86
88
91 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
92 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
93 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
94 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
96 inline GetLicenseConversionTaskResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
97 inline GetLicenseConversionTaskResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
99
101
104 inline const LicenseConversionTaskStatus& GetStatus() const{ return m_status; }
105 inline void SetStatus(const LicenseConversionTaskStatus& value) { m_status = value; }
106 inline void SetStatus(LicenseConversionTaskStatus&& value) { m_status = std::move(value); }
108 inline GetLicenseConversionTaskResult& WithStatus(LicenseConversionTaskStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
116 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
117 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
119 inline GetLicenseConversionTaskResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
121
123
126 inline const Aws::Utils::DateTime& GetLicenseConversionTime() const{ return m_licenseConversionTime; }
127 inline void SetLicenseConversionTime(const Aws::Utils::DateTime& value) { m_licenseConversionTime = value; }
128 inline void SetLicenseConversionTime(Aws::Utils::DateTime&& value) { m_licenseConversionTime = std::move(value); }
132
134
137 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
138 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
139 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
140 inline GetLicenseConversionTaskResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
141 inline GetLicenseConversionTaskResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const{ return m_requestId; }
147 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
149 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
150 inline GetLicenseConversionTaskResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
151 inline GetLicenseConversionTaskResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 inline GetLicenseConversionTaskResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
154 private:
155
156 Aws::String m_licenseConversionTaskId;
157
158 Aws::String m_resourceArn;
159
160 LicenseConversionContext m_sourceLicenseContext;
161
162 LicenseConversionContext m_destinationLicenseContext;
163
164 Aws::String m_statusMessage;
165
167
168 Aws::Utils::DateTime m_startTime;
169
170 Aws::Utils::DateTime m_licenseConversionTime;
171
172 Aws::Utils::DateTime m_endTime;
173
174 Aws::String m_requestId;
175 };
176
177} // namespace Model
178} // namespace LicenseManager
179} // namespace Aws
GetLicenseConversionTaskResult & WithEndTime(Aws::Utils::DateTime &&value)
GetLicenseConversionTaskResult & WithResourceArn(const Aws::String &value)
GetLicenseConversionTaskResult & WithStartTime(const Aws::Utils::DateTime &value)
GetLicenseConversionTaskResult & WithSourceLicenseContext(const LicenseConversionContext &value)
GetLicenseConversionTaskResult & WithStatus(LicenseConversionTaskStatus &&value)
GetLicenseConversionTaskResult & WithLicenseConversionTime(const Aws::Utils::DateTime &value)
GetLicenseConversionTaskResult & WithStartTime(Aws::Utils::DateTime &&value)
AWS_LICENSEMANAGER_API GetLicenseConversionTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseConversionTaskResult & WithDestinationLicenseContext(LicenseConversionContext &&value)
GetLicenseConversionTaskResult & WithRequestId(const char *value)
GetLicenseConversionTaskResult & WithLicenseConversionTaskId(const Aws::String &value)
GetLicenseConversionTaskResult & WithDestinationLicenseContext(const LicenseConversionContext &value)
GetLicenseConversionTaskResult & WithStatusMessage(const Aws::String &value)
GetLicenseConversionTaskResult & WithLicenseConversionTaskId(Aws::String &&value)
AWS_LICENSEMANAGER_API GetLicenseConversionTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLicenseConversionTaskResult & WithStatusMessage(const char *value)
GetLicenseConversionTaskResult & WithEndTime(const Aws::Utils::DateTime &value)
GetLicenseConversionTaskResult & WithStatusMessage(Aws::String &&value)
GetLicenseConversionTaskResult & WithStatus(const LicenseConversionTaskStatus &value)
GetLicenseConversionTaskResult & WithRequestId(Aws::String &&value)
void SetDestinationLicenseContext(const LicenseConversionContext &value)
GetLicenseConversionTaskResult & WithLicenseConversionTime(Aws::Utils::DateTime &&value)
GetLicenseConversionTaskResult & WithSourceLicenseContext(LicenseConversionContext &&value)
GetLicenseConversionTaskResult & WithResourceArn(const char *value)
GetLicenseConversionTaskResult & WithLicenseConversionTaskId(const char *value)
GetLicenseConversionTaskResult & WithRequestId(const Aws::String &value)
GetLicenseConversionTaskResult & WithResourceArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue