AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
BotRecommendationSummary.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/BotRecommendationStatus.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
30 public:
31 AWS_LEXMODELSV2_API BotRecommendationSummary() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
42 inline bool BotRecommendationStatusHasBeenSet() const { return m_botRecommendationStatusHasBeenSet; }
44 m_botRecommendationStatusHasBeenSet = true;
45 m_botRecommendationStatus = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetBotRecommendationId() const { return m_botRecommendationId; }
58 inline bool BotRecommendationIdHasBeenSet() const { return m_botRecommendationIdHasBeenSet; }
59 template <typename BotRecommendationIdT = Aws::String>
60 void SetBotRecommendationId(BotRecommendationIdT&& value) {
61 m_botRecommendationIdHasBeenSet = true;
62 m_botRecommendationId = std::forward<BotRecommendationIdT>(value);
63 }
64 template <typename BotRecommendationIdT = Aws::String>
65 BotRecommendationSummary& WithBotRecommendationId(BotRecommendationIdT&& value) {
66 SetBotRecommendationId(std::forward<BotRecommendationIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
76 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
77 template <typename CreationDateTimeT = Aws::Utils::DateTime>
78 void SetCreationDateTime(CreationDateTimeT&& value) {
79 m_creationDateTimeHasBeenSet = true;
80 m_creationDateTime = std::forward<CreationDateTimeT>(value);
81 }
82 template <typename CreationDateTimeT = Aws::Utils::DateTime>
83 BotRecommendationSummary& WithCreationDateTime(CreationDateTimeT&& value) {
84 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
95 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
96 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
97 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
98 m_lastUpdatedDateTimeHasBeenSet = true;
99 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
100 }
101 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 BotRecommendationSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
103 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
104 return *this;
105 }
107 private:
109
110 Aws::String m_botRecommendationId;
111
112 Aws::Utils::DateTime m_creationDateTime{};
113
114 Aws::Utils::DateTime m_lastUpdatedDateTime{};
115 bool m_botRecommendationStatusHasBeenSet = false;
116 bool m_botRecommendationIdHasBeenSet = false;
117 bool m_creationDateTimeHasBeenSet = false;
118 bool m_lastUpdatedDateTimeHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace LexModelsV2
123} // namespace Aws
const Aws::Utils::DateTime & GetCreationDateTime() const
BotRecommendationSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetBotRecommendationId(BotRecommendationIdT &&value)
BotRecommendationSummary & WithBotRecommendationId(BotRecommendationIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotRecommendationSummary & WithBotRecommendationStatus(BotRecommendationStatus value)
AWS_LEXMODELSV2_API BotRecommendationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotRecommendationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotRecommendationSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetBotRecommendationStatus(BotRecommendationStatus value)
AWS_LEXMODELSV2_API BotRecommendationSummary()=default
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue