AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetTraceSegmentDestinationResult.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/model/TraceSegmentDestination.h>
9#include <aws/xray/model/TraceSegmentDestinationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace XRay
26{
27namespace Model
28{
30 {
31 public:
32 AWS_XRAY_API GetTraceSegmentDestinationResult() = default;
35
36
38
41 inline TraceSegmentDestination GetDestination() const { return m_destination; }
42 inline void SetDestination(TraceSegmentDestination value) { m_destinationHasBeenSet = true; m_destination = value; }
45
47
50 inline TraceSegmentDestinationStatus GetStatus() const { return m_status; }
51 inline void SetStatus(TraceSegmentDestinationStatus value) { m_statusHasBeenSet = true; m_status = value; }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template<typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
60 template<typename RequestIdT = Aws::String>
61 GetTraceSegmentDestinationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
63 private:
64
66 bool m_destinationHasBeenSet = false;
67
69 bool m_statusHasBeenSet = false;
70
71 Aws::String m_requestId;
72 bool m_requestIdHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace XRay
77} // 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