AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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