AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetLicenseArn() const{ return m_licenseArn; }
41 inline void SetLicenseArn(const Aws::String& value) { m_licenseArn = value; }
42 inline void SetLicenseArn(Aws::String&& value) { m_licenseArn = std::move(value); }
43 inline void SetLicenseArn(const char* value) { m_licenseArn.assign(value); }
44 inline CreateLicenseVersionResult& WithLicenseArn(const Aws::String& value) { SetLicenseArn(value); return *this;}
45 inline CreateLicenseVersionResult& WithLicenseArn(Aws::String&& value) { SetLicenseArn(std::move(value)); return *this;}
46 inline CreateLicenseVersionResult& WithLicenseArn(const char* value) { SetLicenseArn(value); return *this;}
48
50
53 inline const Aws::String& GetVersion() const{ return m_version; }
54 inline void SetVersion(const Aws::String& value) { m_version = value; }
55 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
56 inline void SetVersion(const char* value) { m_version.assign(value); }
57 inline CreateLicenseVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
58 inline CreateLicenseVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
59 inline CreateLicenseVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
61
63
66 inline const LicenseStatus& GetStatus() const{ return m_status; }
67 inline void SetStatus(const LicenseStatus& value) { m_status = value; }
68 inline void SetStatus(LicenseStatus&& value) { m_status = std::move(value); }
69 inline CreateLicenseVersionResult& WithStatus(const LicenseStatus& value) { SetStatus(value); return *this;}
70 inline CreateLicenseVersionResult& WithStatus(LicenseStatus&& value) { SetStatus(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateLicenseVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateLicenseVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateLicenseVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_licenseArn;
86
87 Aws::String m_version;
88
89 LicenseStatus m_status;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace LicenseManager
96} // namespace Aws
CreateLicenseVersionResult & WithLicenseArn(Aws::String &&value)
CreateLicenseVersionResult & WithStatus(LicenseStatus &&value)
CreateLicenseVersionResult & WithLicenseArn(const char *value)
CreateLicenseVersionResult & WithLicenseArn(const Aws::String &value)
CreateLicenseVersionResult & WithStatus(const LicenseStatus &value)
AWS_LICENSEMANAGER_API CreateLicenseVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLicenseVersionResult & WithRequestId(const char *value)
CreateLicenseVersionResult & WithVersion(const Aws::String &value)
AWS_LICENSEMANAGER_API CreateLicenseVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLicenseVersionResult & WithVersion(Aws::String &&value)
CreateLicenseVersionResult & WithRequestId(Aws::String &&value)
CreateLicenseVersionResult & WithVersion(const char *value)
CreateLicenseVersionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue