AWS SDK for C++  1.9.160
AWS SDK for C++
DetectedLanguageLowConfidenceException.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Translate
22 {
23 namespace Model
24 {
25 
38  {
39  public:
44 
45 
46 
47  inline const Aws::String& GetMessage() const{ return m_message; }
48 
49 
50  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
51 
52 
53  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
54 
55 
56  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
57 
58 
59  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
60 
61 
62  inline DetectedLanguageLowConfidenceException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 
64 
65  inline DetectedLanguageLowConfidenceException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
66 
67 
68  inline DetectedLanguageLowConfidenceException& WithMessage(const char* value) { SetMessage(value); return *this;}
69 
70 
74  inline const Aws::String& GetDetectedLanguageCode() const{ return m_detectedLanguageCode; }
75 
79  inline bool DetectedLanguageCodeHasBeenSet() const { return m_detectedLanguageCodeHasBeenSet; }
80 
84  inline void SetDetectedLanguageCode(const Aws::String& value) { m_detectedLanguageCodeHasBeenSet = true; m_detectedLanguageCode = value; }
85 
89  inline void SetDetectedLanguageCode(Aws::String&& value) { m_detectedLanguageCodeHasBeenSet = true; m_detectedLanguageCode = std::move(value); }
90 
94  inline void SetDetectedLanguageCode(const char* value) { m_detectedLanguageCodeHasBeenSet = true; m_detectedLanguageCode.assign(value); }
95 
99  inline DetectedLanguageLowConfidenceException& WithDetectedLanguageCode(const Aws::String& value) { SetDetectedLanguageCode(value); return *this;}
100 
104  inline DetectedLanguageLowConfidenceException& WithDetectedLanguageCode(Aws::String&& value) { SetDetectedLanguageCode(std::move(value)); return *this;}
105 
109  inline DetectedLanguageLowConfidenceException& WithDetectedLanguageCode(const char* value) { SetDetectedLanguageCode(value); return *this;}
110 
111  private:
112 
113  Aws::String m_message;
114  bool m_messageHasBeenSet;
115 
116  Aws::String m_detectedLanguageCode;
117  bool m_detectedLanguageCodeHasBeenSet;
118  };
119 
120 } // namespace Model
121 } // namespace Translate
122 } // namespace Aws
Aws::Translate::Model::DetectedLanguageLowConfidenceException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: DetectedLanguageLowConfidenceException.h:50
Aws::Translate::Model::DetectedLanguageLowConfidenceException::SetDetectedLanguageCode
void SetDetectedLanguageCode(Aws::String &&value)
Definition: DetectedLanguageLowConfidenceException.h:89
Translate_EXPORTS.h
Aws::Translate::Model::DetectedLanguageLowConfidenceException::WithDetectedLanguageCode
DetectedLanguageLowConfidenceException & WithDetectedLanguageCode(const char *value)
Definition: DetectedLanguageLowConfidenceException.h:109
Aws::Translate::Model::DetectedLanguageLowConfidenceException::DetectedLanguageLowConfidenceException
DetectedLanguageLowConfidenceException(Aws::Utils::Json::JsonView jsonValue)
Aws::Translate::Model::DetectedLanguageLowConfidenceException::GetDetectedLanguageCode
const Aws::String & GetDetectedLanguageCode() const
Definition: DetectedLanguageLowConfidenceException.h:74
AWS_TRANSLATE_API
#define AWS_TRANSLATE_API
Definition: Translate_EXPORTS.h:28
Aws::Translate::Model::DetectedLanguageLowConfidenceException::GetMessage
const Aws::String & GetMessage() const
Definition: DetectedLanguageLowConfidenceException.h:47
Aws::Translate::Model::DetectedLanguageLowConfidenceException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Translate::Model::DetectedLanguageLowConfidenceException::SetDetectedLanguageCode
void SetDetectedLanguageCode(const char *value)
Definition: DetectedLanguageLowConfidenceException.h:94
Aws::Translate::Model::DetectedLanguageLowConfidenceException::WithDetectedLanguageCode
DetectedLanguageLowConfidenceException & WithDetectedLanguageCode(const Aws::String &value)
Definition: DetectedLanguageLowConfidenceException.h:99
Aws::Translate::Model::DetectedLanguageLowConfidenceException::WithMessage
DetectedLanguageLowConfidenceException & WithMessage(const char *value)
Definition: DetectedLanguageLowConfidenceException.h:68
Aws::Translate::Model::DetectedLanguageLowConfidenceException::SetDetectedLanguageCode
void SetDetectedLanguageCode(const Aws::String &value)
Definition: DetectedLanguageLowConfidenceException.h:84
Aws::Translate::Model::DetectedLanguageLowConfidenceException::WithMessage
DetectedLanguageLowConfidenceException & WithMessage(const Aws::String &value)
Definition: DetectedLanguageLowConfidenceException.h:62
Aws::Translate::Model::DetectedLanguageLowConfidenceException::SetMessage
void SetMessage(const Aws::String &value)
Definition: DetectedLanguageLowConfidenceException.h:53
Aws::Translate::Model::DetectedLanguageLowConfidenceException::DetectedLanguageCodeHasBeenSet
bool DetectedLanguageCodeHasBeenSet() const
Definition: DetectedLanguageLowConfidenceException.h:79
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Translate::Model::DetectedLanguageLowConfidenceException::WithMessage
DetectedLanguageLowConfidenceException & WithMessage(Aws::String &&value)
Definition: DetectedLanguageLowConfidenceException.h:65
Aws::Translate::Model::DetectedLanguageLowConfidenceException::DetectedLanguageLowConfidenceException
DetectedLanguageLowConfidenceException()
Aws::Translate::Model::DetectedLanguageLowConfidenceException
Definition: DetectedLanguageLowConfidenceException.h:38
Aws::Translate::Model::DetectedLanguageLowConfidenceException::operator=
DetectedLanguageLowConfidenceException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Translate::Model::DetectedLanguageLowConfidenceException::SetMessage
void SetMessage(Aws::String &&value)
Definition: DetectedLanguageLowConfidenceException.h:56
Aws::Translate::Model::DetectedLanguageLowConfidenceException::SetMessage
void SetMessage(const char *value)
Definition: DetectedLanguageLowConfidenceException.h:59
Aws::Translate::Model::DetectedLanguageLowConfidenceException::WithDetectedLanguageCode
DetectedLanguageLowConfidenceException & WithDetectedLanguageCode(Aws::String &&value)
Definition: DetectedLanguageLowConfidenceException.h:104