AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
BotAnalyzerHistorySummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/BotAnalyzerStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2 {
22namespace Model {
23
31 public:
32 AWS_LEXMODELSV2_API BotAnalyzerHistorySummary() = default;
35 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline BotAnalyzerStatus GetBotAnalyzerStatus() const { return m_botAnalyzerStatus; }
43 inline bool BotAnalyzerStatusHasBeenSet() const { return m_botAnalyzerStatusHasBeenSet; }
45 m_botAnalyzerStatusHasBeenSet = true;
46 m_botAnalyzerStatus = value;
47 }
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
59 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
60 template <typename CreationDateTimeT = Aws::Utils::DateTime>
61 void SetCreationDateTime(CreationDateTimeT&& value) {
62 m_creationDateTimeHasBeenSet = true;
63 m_creationDateTime = std::forward<CreationDateTimeT>(value);
64 }
65 template <typename CreationDateTimeT = Aws::Utils::DateTime>
66 BotAnalyzerHistorySummary& WithCreationDateTime(CreationDateTimeT&& value) {
67 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetBotAnalyzerRequestId() const { return m_botAnalyzerRequestId; }
77 inline bool BotAnalyzerRequestIdHasBeenSet() const { return m_botAnalyzerRequestIdHasBeenSet; }
78 template <typename BotAnalyzerRequestIdT = Aws::String>
79 void SetBotAnalyzerRequestId(BotAnalyzerRequestIdT&& value) {
80 m_botAnalyzerRequestIdHasBeenSet = true;
81 m_botAnalyzerRequestId = std::forward<BotAnalyzerRequestIdT>(value);
82 }
83 template <typename BotAnalyzerRequestIdT = Aws::String>
84 BotAnalyzerHistorySummary& WithBotAnalyzerRequestId(BotAnalyzerRequestIdT&& value) {
85 SetBotAnalyzerRequestId(std::forward<BotAnalyzerRequestIdT>(value));
86 return *this;
87 }
89 private:
91
92 Aws::Utils::DateTime m_creationDateTime{};
93
94 Aws::String m_botAnalyzerRequestId;
95 bool m_botAnalyzerStatusHasBeenSet = false;
96 bool m_creationDateTimeHasBeenSet = false;
97 bool m_botAnalyzerRequestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace LexModelsV2
102} // namespace Aws
BotAnalyzerHistorySummary & WithBotAnalyzerRequestId(BotAnalyzerRequestIdT &&value)
AWS_LEXMODELSV2_API BotAnalyzerHistorySummary(Aws::Utils::Json::JsonView jsonValue)
void SetBotAnalyzerRequestId(BotAnalyzerRequestIdT &&value)
BotAnalyzerHistorySummary & WithCreationDateTime(CreationDateTimeT &&value)
BotAnalyzerHistorySummary & WithBotAnalyzerStatus(BotAnalyzerStatus value)
AWS_LEXMODELSV2_API BotAnalyzerHistorySummary()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotAnalyzerHistorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue