AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
CreateAppPaymentRegistrationResult.h
1
6#pragma once
7#include <aws/appmonetization/AppMonetization_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AppMonetization {
24namespace Model {
31 public:
32 AWS_APPMONETIZATION_API CreateAppPaymentRegistrationResult() = default;
36
38
42 inline const Aws::String& GetRegistrationUrl() const { return m_registrationUrl; }
43 template <typename RegistrationUrlT = Aws::String>
44 void SetRegistrationUrl(RegistrationUrlT&& value) {
45 m_registrationUrlHasBeenSet = true;
46 m_registrationUrl = std::forward<RegistrationUrlT>(value);
47 }
48 template <typename RegistrationUrlT = Aws::String>
50 SetRegistrationUrl(std::forward<RegistrationUrlT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Utils::DateTime& GetExpiresAt() const { return m_expiresAt; }
60 template <typename ExpiresAtT = Aws::Utils::DateTime>
61 void SetExpiresAt(ExpiresAtT&& value) {
62 m_expiresAtHasBeenSet = true;
63 m_expiresAt = std::forward<ExpiresAtT>(value);
64 }
65 template <typename ExpiresAtT = Aws::Utils::DateTime>
67 SetExpiresAt(std::forward<ExpiresAtT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 Aws::String m_registrationUrl;
90
91 Aws::Utils::DateTime m_expiresAt{};
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_registrationUrlHasBeenSet = false;
96 bool m_expiresAtHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AppMonetization
102} // namespace Aws
CreateAppPaymentRegistrationResult & WithRequestId(RequestIdT &&value)
AWS_APPMONETIZATION_API CreateAppPaymentRegistrationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPMONETIZATION_API CreateAppPaymentRegistrationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppPaymentRegistrationResult & WithRegistrationUrl(RegistrationUrlT &&value)
AWS_APPMONETIZATION_API CreateAppPaymentRegistrationResult()=default
CreateAppPaymentRegistrationResult & WithExpiresAt(ExpiresAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue