AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateLicenseVersionResult.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/LicenseStatus.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LicenseManager
25{
26namespace Model
27{
29 {
30 public:
31 AWS_LICENSEMANAGER_API CreateLicenseVersionResult() = default;
34
35
37
40 inline const Aws::String& GetLicenseArn() const { return m_licenseArn; }
41 template<typename LicenseArnT = Aws::String>
42 void SetLicenseArn(LicenseArnT&& value) { m_licenseArnHasBeenSet = true; m_licenseArn = std::forward<LicenseArnT>(value); }
43 template<typename LicenseArnT = Aws::String>
44 CreateLicenseVersionResult& WithLicenseArn(LicenseArnT&& value) { SetLicenseArn(std::forward<LicenseArnT>(value)); return *this;}
46
48
51 inline const Aws::String& GetVersion() const { return m_version; }
52 template<typename VersionT = Aws::String>
53 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
54 template<typename VersionT = Aws::String>
55 CreateLicenseVersionResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
57
59
62 inline LicenseStatus GetStatus() const { return m_status; }
63 inline void SetStatus(LicenseStatus value) { m_statusHasBeenSet = true; m_status = value; }
64 inline CreateLicenseVersionResult& WithStatus(LicenseStatus value) { SetStatus(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 CreateLicenseVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_licenseArn;
78 bool m_licenseArnHasBeenSet = false;
79
80 Aws::String m_version;
81 bool m_versionHasBeenSet = false;
82
84 bool m_statusHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace LicenseManager
92} // 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