AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
UpdateContactResult.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 {
25 public:
26 AWS_GROUNDSTATION_API UpdateContactResult() = default;
29
31
34 inline const Aws::String& GetContactId() const { return m_contactId; }
35 template <typename ContactIdT = Aws::String>
36 void SetContactId(ContactIdT&& value) {
37 m_contactIdHasBeenSet = true;
38 m_contactId = std::forward<ContactIdT>(value);
39 }
40 template <typename ContactIdT = Aws::String>
41 UpdateContactResult& WithContactId(ContactIdT&& value) {
42 SetContactId(std::forward<ContactIdT>(value));
43 return *this;
44 }
46
48
51 inline int GetVersionId() const { return m_versionId; }
52 inline void SetVersionId(int value) {
53 m_versionIdHasBeenSet = true;
54 m_versionId = value;
55 }
57 SetVersionId(value);
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
71 UpdateContactResult& WithRequestId(RequestIdT&& value) {
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
79 Aws::String m_contactId;
80
81 int m_versionId{0};
82
83 Aws::String m_requestId;
84 Aws::Http::HttpResponseCode m_HttpResponseCode;
85 bool m_contactIdHasBeenSet = false;
86 bool m_versionIdHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace GroundStation
92} // namespace Aws
AWS_GROUNDSTATION_API UpdateContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GROUNDSTATION_API UpdateContactResult()=default
AWS_GROUNDSTATION_API UpdateContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateContactResult & WithVersionId(int value)
UpdateContactResult & WithRequestId(RequestIdT &&value)
UpdateContactResult & WithContactId(ContactIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue