AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateReservationResult.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{
35 {
36 public:
37 AWS_MEDIALIVE_API UpdateReservationResult();
40
41
43
44 inline const Reservation& GetReservation() const{ return m_reservation; }
45 inline void SetReservation(const Reservation& value) { m_reservation = value; }
46 inline void SetReservation(Reservation&& value) { m_reservation = std::move(value); }
47 inline UpdateReservationResult& WithReservation(const Reservation& value) { SetReservation(value); return *this;}
48 inline UpdateReservationResult& WithReservation(Reservation&& value) { SetReservation(std::move(value)); return *this;}
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline UpdateReservationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline UpdateReservationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline UpdateReservationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61 private:
62
63 Reservation m_reservation;
64
65 Aws::String m_requestId;
66 };
67
68} // namespace Model
69} // namespace MediaLive
70} // namespace Aws
UpdateReservationResult & WithReservation(Reservation &&value)
UpdateReservationResult & WithRequestId(const Aws::String &value)
AWS_MEDIALIVE_API UpdateReservationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateReservationResult & WithReservation(const Reservation &value)
UpdateReservationResult & WithRequestId(Aws::String &&value)
UpdateReservationResult & WithRequestId(const char *value)
AWS_MEDIALIVE_API UpdateReservationResult(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