AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
AssociateBenefitApplicationResourceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.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 PartnerCentralBenefits {
23namespace Model {
25 public:
26 AWS_PARTNERCENTRALBENEFITS_API AssociateBenefitApplicationResourceResult() = default;
27 AWS_PARTNERCENTRALBENEFITS_API AssociateBenefitApplicationResourceResult(
31
33
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetRevision() const { return m_revision; }
74 template <typename RevisionT = Aws::String>
75 void SetRevision(RevisionT&& value) {
76 m_revisionHasBeenSet = true;
77 m_revision = std::forward<RevisionT>(value);
78 }
79 template <typename RevisionT = Aws::String>
81 SetRevision(std::forward<RevisionT>(value));
82 return *this;
83 }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template <typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) {
91 m_requestIdHasBeenSet = true;
92 m_requestId = std::forward<RequestIdT>(value);
93 }
94 template <typename RequestIdT = Aws::String>
96 SetRequestId(std::forward<RequestIdT>(value));
97 return *this;
98 }
100 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
101
102 private:
103 Aws::String m_id;
104
105 Aws::String m_arn;
106
107 Aws::String m_revision;
108
109 Aws::String m_requestId;
110 Aws::Http::HttpResponseCode m_HttpResponseCode;
111 bool m_idHasBeenSet = false;
112 bool m_arnHasBeenSet = false;
113 bool m_revisionHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace PartnerCentralBenefits
119} // namespace Aws
AWS_PARTNERCENTRALBENEFITS_API AssociateBenefitApplicationResourceResult()=default
AWS_PARTNERCENTRALBENEFITS_API AssociateBenefitApplicationResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PARTNERCENTRALBENEFITS_API AssociateBenefitApplicationResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue