AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
DescribeInsightDetailsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/opensearch/OpenSearchService_EXPORTS.h>
10#include <aws/opensearch/model/InsightEntity.h>
11
12#include <utility>
13
14namespace Aws {
15namespace OpenSearchService {
16namespace Model {
17
25 public:
26 AWS_OPENSEARCHSERVICE_API DescribeInsightDetailsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeInsightDetails"; }
33
34 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
35
37
42 inline const InsightEntity& GetEntity() const { return m_entity; }
43 inline bool EntityHasBeenSet() const { return m_entityHasBeenSet; }
44 template <typename EntityT = InsightEntity>
45 void SetEntity(EntityT&& value) {
46 m_entityHasBeenSet = true;
47 m_entity = std::forward<EntityT>(value);
48 }
49 template <typename EntityT = InsightEntity>
51 SetEntity(std::forward<EntityT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetInsightId() const { return m_insightId; }
61 inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
62 template <typename InsightIdT = Aws::String>
63 void SetInsightId(InsightIdT&& value) {
64 m_insightIdHasBeenSet = true;
65 m_insightId = std::forward<InsightIdT>(value);
66 }
67 template <typename InsightIdT = Aws::String>
69 SetInsightId(std::forward<InsightIdT>(value));
70 return *this;
71 }
73
75
78 inline bool GetShowHtmlContent() const { return m_showHtmlContent; }
79 inline bool ShowHtmlContentHasBeenSet() const { return m_showHtmlContentHasBeenSet; }
80 inline void SetShowHtmlContent(bool value) {
81 m_showHtmlContentHasBeenSet = true;
82 m_showHtmlContent = value;
83 }
85 SetShowHtmlContent(value);
86 return *this;
87 }
89 private:
90 InsightEntity m_entity;
91
92 Aws::String m_insightId;
93
94 bool m_showHtmlContent{false};
95 bool m_entityHasBeenSet = false;
96 bool m_insightIdHasBeenSet = false;
97 bool m_showHtmlContentHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace OpenSearchService
102} // namespace Aws
AWS_OPENSEARCHSERVICE_API DescribeInsightDetailsRequest()=default
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
DescribeInsightDetailsRequest & WithInsightId(InsightIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String