AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
FeaturedResultsSetSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9#include <aws/kendra/model/FeaturedResultsSetStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace kendra {
21namespace Model {
22
32 public:
33 AWS_KENDRA_API FeaturedResultsSetSummary() = default;
36 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetFeaturedResultsSetId() const { return m_featuredResultsSetId; }
43 inline bool FeaturedResultsSetIdHasBeenSet() const { return m_featuredResultsSetIdHasBeenSet; }
44 template <typename FeaturedResultsSetIdT = Aws::String>
45 void SetFeaturedResultsSetId(FeaturedResultsSetIdT&& value) {
46 m_featuredResultsSetIdHasBeenSet = true;
47 m_featuredResultsSetId = std::forward<FeaturedResultsSetIdT>(value);
48 }
49 template <typename FeaturedResultsSetIdT = Aws::String>
50 FeaturedResultsSetSummary& WithFeaturedResultsSetId(FeaturedResultsSetIdT&& value) {
51 SetFeaturedResultsSetId(std::forward<FeaturedResultsSetIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetFeaturedResultsSetName() const { return m_featuredResultsSetName; }
61 inline bool FeaturedResultsSetNameHasBeenSet() const { return m_featuredResultsSetNameHasBeenSet; }
62 template <typename FeaturedResultsSetNameT = Aws::String>
63 void SetFeaturedResultsSetName(FeaturedResultsSetNameT&& value) {
64 m_featuredResultsSetNameHasBeenSet = true;
65 m_featuredResultsSetName = std::forward<FeaturedResultsSetNameT>(value);
66 }
67 template <typename FeaturedResultsSetNameT = Aws::String>
68 FeaturedResultsSetSummary& WithFeaturedResultsSetName(FeaturedResultsSetNameT&& value) {
69 SetFeaturedResultsSetName(std::forward<FeaturedResultsSetNameT>(value));
70 return *this;
71 }
73
75
85 inline FeaturedResultsSetStatus GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
101 inline long long GetLastUpdatedTimestamp() const { return m_lastUpdatedTimestamp; }
102 inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; }
103 inline void SetLastUpdatedTimestamp(long long value) {
104 m_lastUpdatedTimestampHasBeenSet = true;
105 m_lastUpdatedTimestamp = value;
106 }
109 return *this;
110 }
112
114
117 inline long long GetCreationTimestamp() const { return m_creationTimestamp; }
118 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
119 inline void SetCreationTimestamp(long long value) {
120 m_creationTimestampHasBeenSet = true;
121 m_creationTimestamp = value;
122 }
125 return *this;
126 }
128 private:
129 Aws::String m_featuredResultsSetId;
130 bool m_featuredResultsSetIdHasBeenSet = false;
131
132 Aws::String m_featuredResultsSetName;
133 bool m_featuredResultsSetNameHasBeenSet = false;
134
136 bool m_statusHasBeenSet = false;
137
138 long long m_lastUpdatedTimestamp{0};
139 bool m_lastUpdatedTimestampHasBeenSet = false;
140
141 long long m_creationTimestamp{0};
142 bool m_creationTimestampHasBeenSet = false;
143};
144
145} // namespace Model
146} // namespace kendra
147} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue