AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateLicenseVersionResult.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/LicenseStatus.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 CreateLicenseVersionResult() = default;
29
31
34 inline const Aws::String& GetLicenseArn() const { return m_licenseArn; }
35 template <typename LicenseArnT = Aws::String>
36 void SetLicenseArn(LicenseArnT&& value) {
37 m_licenseArnHasBeenSet = true;
38 m_licenseArn = std::forward<LicenseArnT>(value);
39 }
40 template <typename LicenseArnT = Aws::String>
42 SetLicenseArn(std::forward<LicenseArnT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetVersion() const { return m_version; }
52 template <typename VersionT = Aws::String>
53 void SetVersion(VersionT&& value) {
54 m_versionHasBeenSet = true;
55 m_version = std::forward<VersionT>(value);
56 }
57 template <typename VersionT = Aws::String>
59 SetVersion(std::forward<VersionT>(value));
60 return *this;
61 }
63
65
68 inline LicenseStatus GetStatus() const { return m_status; }
69 inline void SetStatus(LicenseStatus value) {
70 m_statusHasBeenSet = true;
71 m_status = value;
72 }
74 SetStatus(value);
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_licenseArn;
95
96 Aws::String m_version;
97
99
100 Aws::String m_requestId;
101 bool m_licenseArnHasBeenSet = false;
102 bool m_versionHasBeenSet = false;
103 bool m_statusHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace LicenseManager
109} // namespace Aws
CreateLicenseVersionResult & WithStatus(LicenseStatus value)
AWS_LICENSEMANAGER_API CreateLicenseVersionResult()=default
CreateLicenseVersionResult & WithLicenseArn(LicenseArnT &&value)
AWS_LICENSEMANAGER_API CreateLicenseVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLicenseVersionResult & WithVersion(VersionT &&value)
AWS_LICENSEMANAGER_API CreateLicenseVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLicenseVersionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue