AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DeleteLicenseResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/license-manager/LicenseManager_EXPORTS.h>
10#include <aws/license-manager/model/LicenseDeletionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace LicenseManager {
24namespace Model {
26 public:
27 AWS_LICENSEMANAGER_API DeleteLicenseResult() = default;
30
32
35 inline LicenseDeletionStatus GetStatus() const { return m_status; }
36 inline void SetStatus(LicenseDeletionStatus value) {
37 m_statusHasBeenSet = true;
38 m_status = value;
39 }
41 SetStatus(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetDeletionDate() const { return m_deletionDate; }
51 template <typename DeletionDateT = Aws::String>
52 void SetDeletionDate(DeletionDateT&& value) {
53 m_deletionDateHasBeenSet = true;
54 m_deletionDate = std::forward<DeletionDateT>(value);
55 }
56 template <typename DeletionDateT = Aws::String>
57 DeleteLicenseResult& WithDeletionDate(DeletionDateT&& value) {
58 SetDeletionDate(std::forward<DeletionDateT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
72 DeleteLicenseResult& WithRequestId(RequestIdT&& value) {
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
78
79 private:
81
82 Aws::String m_deletionDate;
83
84 Aws::String m_requestId;
85 Aws::Http::HttpResponseCode m_HttpResponseCode;
86 bool m_statusHasBeenSet = false;
87 bool m_deletionDateHasBeenSet = false;
88 bool m_requestIdHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace LicenseManager
93} // namespace Aws
DeleteLicenseResult & WithStatus(LicenseDeletionStatus value)
AWS_LICENSEMANAGER_API DeleteLicenseResult()=default
DeleteLicenseResult & WithRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API DeleteLicenseResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteLicenseResult & WithDeletionDate(DeletionDateT &&value)
AWS_LICENSEMANAGER_API DeleteLicenseResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue