AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SupportedLanguage.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Support
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SUPPORT_API SupportedLanguage() = default;
40 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetCode() const { return m_code; }
48 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
49 template<typename CodeT = Aws::String>
50 void SetCode(CodeT&& value) { m_codeHasBeenSet = true; m_code = std::forward<CodeT>(value); }
51 template<typename CodeT = Aws::String>
52 SupportedLanguage& WithCode(CodeT&& value) { SetCode(std::forward<CodeT>(value)); return *this;}
54
56
59 inline const Aws::String& GetLanguage() const { return m_language; }
60 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
61 template<typename LanguageT = Aws::String>
62 void SetLanguage(LanguageT&& value) { m_languageHasBeenSet = true; m_language = std::forward<LanguageT>(value); }
63 template<typename LanguageT = Aws::String>
64 SupportedLanguage& WithLanguage(LanguageT&& value) { SetLanguage(std::forward<LanguageT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDisplay() const { return m_display; }
72 inline bool DisplayHasBeenSet() const { return m_displayHasBeenSet; }
73 template<typename DisplayT = Aws::String>
74 void SetDisplay(DisplayT&& value) { m_displayHasBeenSet = true; m_display = std::forward<DisplayT>(value); }
75 template<typename DisplayT = Aws::String>
76 SupportedLanguage& WithDisplay(DisplayT&& value) { SetDisplay(std::forward<DisplayT>(value)); return *this;}
78 private:
79
80 Aws::String m_code;
81 bool m_codeHasBeenSet = false;
82
83 Aws::String m_language;
84 bool m_languageHasBeenSet = false;
85
86 Aws::String m_display;
87 bool m_displayHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Support
92} // namespace Aws
const Aws::String & GetCode() const
const Aws::String & GetDisplay() const
const Aws::String & GetLanguage() const
SupportedLanguage & WithLanguage(LanguageT &&value)
AWS_SUPPORT_API SupportedLanguage & operator=(Aws::Utils::Json::JsonView jsonValue)
SupportedLanguage & WithCode(CodeT &&value)
AWS_SUPPORT_API SupportedLanguage()=default
SupportedLanguage & WithDisplay(DisplayT &&value)
AWS_SUPPORT_API SupportedLanguage(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue