AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectGrantResult.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 RejectGrantResult();
34
35
37
40 inline const Aws::String& GetGrantArn() const{ return m_grantArn; }
41 inline void SetGrantArn(const Aws::String& value) { m_grantArn = value; }
42 inline void SetGrantArn(Aws::String&& value) { m_grantArn = std::move(value); }
43 inline void SetGrantArn(const char* value) { m_grantArn.assign(value); }
44 inline RejectGrantResult& WithGrantArn(const Aws::String& value) { SetGrantArn(value); return *this;}
45 inline RejectGrantResult& WithGrantArn(Aws::String&& value) { SetGrantArn(std::move(value)); return *this;}
46 inline RejectGrantResult& WithGrantArn(const char* value) { SetGrantArn(value); return *this;}
48
50
53 inline const GrantStatus& GetStatus() const{ return m_status; }
54 inline void SetStatus(const GrantStatus& value) { m_status = value; }
55 inline void SetStatus(GrantStatus&& value) { m_status = std::move(value); }
56 inline RejectGrantResult& WithStatus(const GrantStatus& value) { SetStatus(value); return *this;}
57 inline RejectGrantResult& WithStatus(GrantStatus&& value) { SetStatus(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetVersion() const{ return m_version; }
65 inline void SetVersion(const Aws::String& value) { m_version = value; }
66 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
67 inline void SetVersion(const char* value) { m_version.assign(value); }
68 inline RejectGrantResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
69 inline RejectGrantResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
70 inline RejectGrantResult& WithVersion(const char* value) { SetVersion(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 RejectGrantResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline RejectGrantResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline RejectGrantResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_grantArn;
86
87 GrantStatus m_status;
88
89 Aws::String m_version;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace LicenseManager
96} // namespace Aws
RejectGrantResult & WithGrantArn(const char *value)
RejectGrantResult & WithGrantArn(const Aws::String &value)
RejectGrantResult & WithVersion(const Aws::String &value)
AWS_LICENSEMANAGER_API RejectGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectGrantResult & WithStatus(const GrantStatus &value)
void SetRequestId(const Aws::String &value)
RejectGrantResult & WithVersion(Aws::String &&value)
RejectGrantResult & WithVersion(const char *value)
AWS_LICENSEMANAGER_API RejectGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RejectGrantResult & WithGrantArn(Aws::String &&value)
RejectGrantResult & WithRequestId(const Aws::String &value)
RejectGrantResult & WithStatus(GrantStatus &&value)
RejectGrantResult & WithRequestId(const char *value)
RejectGrantResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue