AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
BuildBotLocaleResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotLocaleStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2 {
25namespace Model {
27 public:
28 AWS_LEXMODELSV2_API BuildBotLocaleResult() = default;
31
33
36 inline const Aws::String& GetBotId() const { return m_botId; }
37 template <typename BotIdT = Aws::String>
38 void SetBotId(BotIdT&& value) {
39 m_botIdHasBeenSet = true;
40 m_botId = std::forward<BotIdT>(value);
41 }
42 template <typename BotIdT = Aws::String>
44 SetBotId(std::forward<BotIdT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
55 template <typename BotVersionT = Aws::String>
56 void SetBotVersion(BotVersionT&& value) {
57 m_botVersionHasBeenSet = true;
58 m_botVersion = std::forward<BotVersionT>(value);
59 }
60 template <typename BotVersionT = Aws::String>
61 BuildBotLocaleResult& WithBotVersion(BotVersionT&& value) {
62 SetBotVersion(std::forward<BotVersionT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetLocaleId() const { return m_localeId; }
72 template <typename LocaleIdT = Aws::String>
73 void SetLocaleId(LocaleIdT&& value) {
74 m_localeIdHasBeenSet = true;
75 m_localeId = std::forward<LocaleIdT>(value);
76 }
77 template <typename LocaleIdT = Aws::String>
78 BuildBotLocaleResult& WithLocaleId(LocaleIdT&& value) {
79 SetLocaleId(std::forward<LocaleIdT>(value));
80 return *this;
81 }
83
85
91 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
93 m_botLocaleStatusHasBeenSet = true;
94 m_botLocaleStatus = value;
95 }
97 SetBotLocaleStatus(value);
98 return *this;
99 }
101
103
107 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
108 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
109 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
110 m_lastBuildSubmittedDateTimeHasBeenSet = true;
111 m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value);
112 }
113 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
114 BuildBotLocaleResult& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
115 SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
129 BuildBotLocaleResult& WithRequestId(RequestIdT&& value) {
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
135
136 private:
137 Aws::String m_botId;
138
139 Aws::String m_botVersion;
140
141 Aws::String m_localeId;
142
143 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
144
145 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
146
147 Aws::String m_requestId;
148 Aws::Http::HttpResponseCode m_HttpResponseCode;
149 bool m_botIdHasBeenSet = false;
150 bool m_botVersionHasBeenSet = false;
151 bool m_localeIdHasBeenSet = false;
152 bool m_botLocaleStatusHasBeenSet = false;
153 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
154 bool m_requestIdHasBeenSet = false;
155};
156
157} // namespace Model
158} // namespace LexModelsV2
159} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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