AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
ReserveContactResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation {
22namespace Model {
29 public:
30 AWS_GROUNDSTATION_API ReserveContactResult() = default;
33
35
38 inline const Aws::String& GetContactId() const { return m_contactId; }
39 template <typename ContactIdT = Aws::String>
40 void SetContactId(ContactIdT&& value) {
41 m_contactIdHasBeenSet = true;
42 m_contactId = std::forward<ContactIdT>(value);
43 }
44 template <typename ContactIdT = Aws::String>
45 ReserveContactResult& WithContactId(ContactIdT&& value) {
46 SetContactId(std::forward<ContactIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
60 ReserveContactResult& WithRequestId(RequestIdT&& value) {
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 private:
66 Aws::String m_contactId;
67 bool m_contactIdHasBeenSet = false;
68
69 Aws::String m_requestId;
70 bool m_requestIdHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace GroundStation
75} // namespace Aws
AWS_GROUNDSTATION_API ReserveContactResult()=default
AWS_GROUNDSTATION_API ReserveContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReserveContactResult & WithContactId(ContactIdT &&value)
AWS_GROUNDSTATION_API ReserveContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ReserveContactResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue