AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
ExtendLicenseConsumptionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/license-manager/LicenseManager_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace LicenseManager {
22namespace Model {
24 public:
25 AWS_LICENSEMANAGER_API ExtendLicenseConsumptionResult() = default;
28
30
33 inline const Aws::String& GetLicenseConsumptionToken() const { return m_licenseConsumptionToken; }
34 template <typename LicenseConsumptionTokenT = Aws::String>
35 void SetLicenseConsumptionToken(LicenseConsumptionTokenT&& value) {
36 m_licenseConsumptionTokenHasBeenSet = true;
37 m_licenseConsumptionToken = std::forward<LicenseConsumptionTokenT>(value);
38 }
39 template <typename LicenseConsumptionTokenT = Aws::String>
41 SetLicenseConsumptionToken(std::forward<LicenseConsumptionTokenT>(value));
42 return *this;
43 }
45
47
50 inline const Aws::String& GetExpiration() const { return m_expiration; }
51 template <typename ExpirationT = Aws::String>
52 void SetExpiration(ExpirationT&& value) {
53 m_expirationHasBeenSet = true;
54 m_expiration = std::forward<ExpirationT>(value);
55 }
56 template <typename ExpirationT = Aws::String>
58 SetExpiration(std::forward<ExpirationT>(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>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_licenseConsumptionToken;
79 bool m_licenseConsumptionTokenHasBeenSet = false;
80
81 Aws::String m_expiration;
82 bool m_expirationHasBeenSet = false;
83
84 Aws::String m_requestId;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace LicenseManager
90} // namespace Aws
AWS_LICENSEMANAGER_API ExtendLicenseConsumptionResult()=default
AWS_LICENSEMANAGER_API ExtendLicenseConsumptionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExtendLicenseConsumptionResult & WithLicenseConsumptionToken(LicenseConsumptionTokenT &&value)
ExtendLicenseConsumptionResult & WithExpiration(ExpirationT &&value)
ExtendLicenseConsumptionResult & WithRequestId(RequestIdT &&value)
AWS_LICENSEMANAGER_API ExtendLicenseConsumptionResult & 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