AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteGrantResult.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/GrantStatus.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 DeleteGrantResult() = default;
34
35
37
40 inline const Aws::String& GetGrantArn() const { return m_grantArn; }
41 template<typename GrantArnT = Aws::String>
42 void SetGrantArn(GrantArnT&& value) { m_grantArnHasBeenSet = true; m_grantArn = std::forward<GrantArnT>(value); }
43 template<typename GrantArnT = Aws::String>
44 DeleteGrantResult& WithGrantArn(GrantArnT&& value) { SetGrantArn(std::forward<GrantArnT>(value)); return *this;}
46
48
51 inline GrantStatus GetStatus() const { return m_status; }
52 inline void SetStatus(GrantStatus value) { m_statusHasBeenSet = true; m_status = value; }
53 inline DeleteGrantResult& WithStatus(GrantStatus value) { SetStatus(value); return *this;}
55
57
60 inline const Aws::String& GetVersion() const { return m_version; }
61 template<typename VersionT = Aws::String>
62 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
63 template<typename VersionT = Aws::String>
64 DeleteGrantResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(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 DeleteGrantResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 Aws::String m_grantArn;
78 bool m_grantArnHasBeenSet = false;
79
81 bool m_statusHasBeenSet = false;
82
83 Aws::String m_version;
84 bool m_versionHasBeenSet = false;
85
86 Aws::String m_requestId;
87 bool m_requestIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace LicenseManager
92} // namespace Aws
AWS_LICENSEMANAGER_API DeleteGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteGrantResult & WithGrantArn(GrantArnT &&value)
AWS_LICENSEMANAGER_API DeleteGrantResult()=default
AWS_LICENSEMANAGER_API DeleteGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteGrantResult & WithStatus(GrantStatus value)
DeleteGrantResult & WithVersion(VersionT &&value)
DeleteGrantResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue