AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
ArchivePlanResult.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.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 AppMonetization {
23namespace Model {
31 public:
32 AWS_APPMONETIZATION_API ArchivePlanResult() = default;
35
37
40 inline const Aws::String& GetAppId() const { return m_appId; }
41 template <typename AppIdT = Aws::String>
42 void SetAppId(AppIdT&& value) {
43 m_appIdHasBeenSet = true;
44 m_appId = std::forward<AppIdT>(value);
45 }
46 template <typename AppIdT = Aws::String>
47 ArchivePlanResult& WithAppId(AppIdT&& value) {
48 SetAppId(std::forward<AppIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPlanId() const { return m_planId; }
58 template <typename PlanIdT = Aws::String>
59 void SetPlanId(PlanIdT&& value) {
60 m_planIdHasBeenSet = true;
61 m_planId = std::forward<PlanIdT>(value);
62 }
63 template <typename PlanIdT = Aws::String>
64 ArchivePlanResult& WithPlanId(PlanIdT&& value) {
65 SetPlanId(std::forward<PlanIdT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
79 ArchivePlanResult& WithRequestId(RequestIdT&& value) {
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_appId;
88
89 Aws::String m_planId;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_appIdHasBeenSet = false;
94 bool m_planIdHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace AppMonetization
100} // namespace Aws
ArchivePlanResult & WithPlanId(PlanIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
ArchivePlanResult & WithAppId(AppIdT &&value)
AWS_APPMONETIZATION_API ArchivePlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPMONETIZATION_API ArchivePlanResult()=default
ArchivePlanResult & WithRequestId(RequestIdT &&value)
AWS_APPMONETIZATION_API ArchivePlanResult & operator=(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