AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotRecommendationSummary.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/BotRecommendationStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LEXMODELSV2_API BotRecommendationSummary() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline BotRecommendationStatus GetBotRecommendationStatus() const { return m_botRecommendationStatus; }
48 inline bool BotRecommendationStatusHasBeenSet() const { return m_botRecommendationStatusHasBeenSet; }
49 inline void SetBotRecommendationStatus(BotRecommendationStatus value) { m_botRecommendationStatusHasBeenSet = true; m_botRecommendationStatus = value; }
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) { m_botRecommendationIdHasBeenSet = true; m_botRecommendationId = std::forward<BotRecommendationIdT>(value); }
61 template<typename BotRecommendationIdT = Aws::String>
62 BotRecommendationSummary& WithBotRecommendationId(BotRecommendationIdT&& value) { SetBotRecommendationId(std::forward<BotRecommendationIdT>(value)); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
70 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
71 template<typename CreationDateTimeT = Aws::Utils::DateTime>
72 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
73 template<typename CreationDateTimeT = Aws::Utils::DateTime>
74 BotRecommendationSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
76
78
82 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
83 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
84 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
85 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
86 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
87 BotRecommendationSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
89 private:
90
92 bool m_botRecommendationStatusHasBeenSet = false;
93
94 Aws::String m_botRecommendationId;
95 bool m_botRecommendationIdHasBeenSet = false;
96
97 Aws::Utils::DateTime m_creationDateTime{};
98 bool m_creationDateTimeHasBeenSet = false;
99
100 Aws::Utils::DateTime m_lastUpdatedDateTime{};
101 bool m_lastUpdatedDateTimeHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace LexModelsV2
106} // 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