AWS SDK for C++

AWS SDK for C++ Version 1.11.827

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
56 inline int GetVersionId() const { return m_versionId; }
57 inline void SetVersionId(int value) {
58 m_versionIdHasBeenSet = true;
59 m_versionId = value;
60 }
62 SetVersionId(value);
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 CancelContactResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
82
83 private:
84 Aws::String m_contactId;
85
86 int m_versionId{0};
87
88 Aws::String m_requestId;
89 Aws::Http::HttpResponseCode m_HttpResponseCode;
90 bool m_contactIdHasBeenSet = false;
91 bool m_versionIdHasBeenSet = false;
92 bool m_requestIdHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace GroundStation
97} // 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)
CancelContactResult & WithVersionId(int 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