AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteLicenseResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/license-manager/LicenseManager_EXPORTS.h>
9#include <aws/license-manager/model/LicenseDeletionStatus.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace LicenseManager {
23namespace Model {
25 public:
26 AWS_LICENSEMANAGER_API DeleteLicenseResult() = default;
29
31
34 inline LicenseDeletionStatus GetStatus() const { return m_status; }
35 inline void SetStatus(LicenseDeletionStatus value) {
36 m_statusHasBeenSet = true;
37 m_status = value;
38 }
40 SetStatus(value);
41 return *this;
42 }
44
46
49 inline const Aws::String& GetDeletionDate() const { return m_deletionDate; }
50 template <typename DeletionDateT = Aws::String>
51 void SetDeletionDate(DeletionDateT&& value) {
52 m_deletionDateHasBeenSet = true;
53 m_deletionDate = std::forward<DeletionDateT>(value);
54 }
55 template <typename DeletionDateT = Aws::String>
56 DeleteLicenseResult& WithDeletionDate(DeletionDateT&& value) {
57 SetDeletionDate(std::forward<DeletionDateT>(value));
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
71 DeleteLicenseResult& WithRequestId(RequestIdT&& value) {
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
78
79 Aws::String m_deletionDate;
80
81 Aws::String m_requestId;
82 bool m_statusHasBeenSet = false;
83 bool m_deletionDateHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace LicenseManager
89} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue