AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
CancelContactResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/groundstation/GroundStation_EXPORTS.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 GroundStation {
23namespace Model {
30 public:
31 AWS_GROUNDSTATION_API CancelContactResult() = default;
34
36
39 inline const Aws::String& GetContactId() const { return m_contactId; }
40 template <typename ContactIdT = Aws::String>
41 void SetContactId(ContactIdT&& value) {
42 m_contactIdHasBeenSet = true;
43 m_contactId = std::forward<ContactIdT>(value);
44 }
45 template <typename ContactIdT = Aws::String>
46 CancelContactResult& WithContactId(ContactIdT&& value) {
47 SetContactId(std::forward<ContactIdT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
61 CancelContactResult& WithRequestId(RequestIdT&& value) {
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
67
68 private:
69 Aws::String m_contactId;
70
71 Aws::String m_requestId;
72 Aws::Http::HttpResponseCode m_HttpResponseCode;
73 bool m_contactIdHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace GroundStation
79} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_GROUNDSTATION_API CancelContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelContactResult & WithRequestId(RequestIdT &&value)
AWS_GROUNDSTATION_API CancelContactResult()=default
CancelContactResult & WithContactId(ContactIdT &&value)
AWS_GROUNDSTATION_API CancelContactResult(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