AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetDashboardEmbedUrlResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_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 QuickSight {
23namespace Model {
31 public:
32 AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult() = default;
35
37
43 inline const Aws::String& GetEmbedUrl() const { return m_embedUrl; }
44 template <typename EmbedUrlT = Aws::String>
45 void SetEmbedUrl(EmbedUrlT&& value) {
46 m_embedUrlHasBeenSet = true;
47 m_embedUrl = std::forward<EmbedUrlT>(value);
48 }
49 template <typename EmbedUrlT = Aws::String>
51 SetEmbedUrl(std::forward<EmbedUrlT>(value));
52 return *this;
53 }
55
57
60 inline int GetStatus() const { return m_status; }
61 inline void SetStatus(int value) {
62 m_statusHasBeenSet = true;
63 m_status = value;
64 }
66 SetStatus(value);
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
86
87 private:
88 Aws::String m_embedUrl;
89
90 int m_status{0};
91
92 Aws::String m_requestId;
93 Aws::Http::HttpResponseCode m_HttpResponseCode;
94 bool m_embedUrlHasBeenSet = false;
95 bool m_statusHasBeenSet = false;
96 bool m_requestIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace QuickSight
101} // namespace Aws
AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult()=default
AWS_QUICKSIGHT_API GetDashboardEmbedUrlResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDashboardEmbedUrlResult & WithEmbedUrl(EmbedUrlT &&value)
GetDashboardEmbedUrlResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue