AWS SDK for C++

AWS SDK for C++ Version 1.11.783

Loading...
Searching...
No Matches
GetTraceSegmentDestinationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/XRay_EXPORTS.h>
10#include <aws/xray/model/TraceSegmentDestination.h>
11#include <aws/xray/model/TraceSegmentDestinationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace XRay {
25namespace Model {
27 public:
28 AWS_XRAY_API GetTraceSegmentDestinationResult() = default;
31
33
36 inline TraceSegmentDestination GetDestination() const { return m_destination; }
38 m_destinationHasBeenSet = true;
39 m_destination = value;
40 }
42 SetDestination(value);
43 return *this;
44 }
46
48
51 inline TraceSegmentDestinationStatus GetStatus() const { return m_status; }
53 m_statusHasBeenSet = true;
54 m_status = value;
55 }
57 SetStatus(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>
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
77
78 private:
80
82
83 Aws::String m_requestId;
84 Aws::Http::HttpResponseCode m_HttpResponseCode;
85 bool m_destinationHasBeenSet = false;
86 bool m_statusHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace XRay
92} // namespace Aws
GetTraceSegmentDestinationResult & WithDestination(TraceSegmentDestination value)
GetTraceSegmentDestinationResult & WithStatus(TraceSegmentDestinationStatus value)
GetTraceSegmentDestinationResult & WithRequestId(RequestIdT &&value)
AWS_XRAY_API GetTraceSegmentDestinationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_XRAY_API GetTraceSegmentDestinationResult(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