AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PurchaseOfferingResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/Reservation.h>
9#include <aws/core/utils/memory/stl/AWSString.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 MediaLive
25{
26namespace Model
27{
34 {
35 public:
36 AWS_MEDIALIVE_API PurchaseOfferingResult();
39
40
42
43 inline const Reservation& GetReservation() const{ return m_reservation; }
44 inline void SetReservation(const Reservation& value) { m_reservation = value; }
45 inline void SetReservation(Reservation&& value) { m_reservation = std::move(value); }
46 inline PurchaseOfferingResult& WithReservation(const Reservation& value) { SetReservation(value); return *this;}
47 inline PurchaseOfferingResult& WithReservation(Reservation&& value) { SetReservation(std::move(value)); return *this;}
49
51
52 inline const Aws::String& GetRequestId() const{ return m_requestId; }
53 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
54 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
55 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
56 inline PurchaseOfferingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
57 inline PurchaseOfferingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
58 inline PurchaseOfferingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
60 private:
61
62 Reservation m_reservation;
63
64 Aws::String m_requestId;
65 };
66
67} // namespace Model
68} // namespace MediaLive
69} // namespace Aws
PurchaseOfferingResult & WithRequestId(const char *value)
PurchaseOfferingResult & WithRequestId(Aws::String &&value)
AWS_MEDIALIVE_API PurchaseOfferingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PurchaseOfferingResult & WithReservation(Reservation &&value)
AWS_MEDIALIVE_API PurchaseOfferingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PurchaseOfferingResult & WithRequestId(const Aws::String &value)
PurchaseOfferingResult & WithReservation(const Reservation &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue