AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BuildBotLocaleResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/BotLocaleStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELSV2_API BuildBotLocaleResult() = default;
35
36
38
41 inline const Aws::String& GetBotId() const { return m_botId; }
42 template<typename BotIdT = Aws::String>
43 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
44 template<typename BotIdT = Aws::String>
45 BuildBotLocaleResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
54 template<typename BotVersionT = Aws::String>
55 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
56 template<typename BotVersionT = Aws::String>
57 BuildBotLocaleResult& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetLocaleId() const { return m_localeId; }
65 template<typename LocaleIdT = Aws::String>
66 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
67 template<typename LocaleIdT = Aws::String>
68 BuildBotLocaleResult& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
70
72
78 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
79 inline void SetBotLocaleStatus(BotLocaleStatus value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = value; }
82
84
88 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
89 template<typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
90 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) { m_lastBuildSubmittedDateTimeHasBeenSet = true; m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value); }
91 template<typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
92 BuildBotLocaleResult& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) { SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 BuildBotLocaleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103 private:
104
105 Aws::String m_botId;
106 bool m_botIdHasBeenSet = false;
107
108 Aws::String m_botVersion;
109 bool m_botVersionHasBeenSet = false;
110
111 Aws::String m_localeId;
112 bool m_localeIdHasBeenSet = false;
113
114 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
115 bool m_botLocaleStatusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
118 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace LexModelsV2
126} // namespace Aws
AWS_LEXMODELSV2_API BuildBotLocaleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API BuildBotLocaleResult()=default
BuildBotLocaleResult & WithBotVersion(BotVersionT &&value)
BuildBotLocaleResult & WithRequestId(RequestIdT &&value)
BuildBotLocaleResult & WithLocaleId(LocaleIdT &&value)
BuildBotLocaleResult & WithBotLocaleStatus(BotLocaleStatus value)
BuildBotLocaleResult & WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
AWS_LEXMODELSV2_API BuildBotLocaleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetLastBuildSubmittedDateTime() const
BuildBotLocaleResult & WithBotId(BotIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue