AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
50 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
51 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
52 inline SupportedLanguage& WithCode(const Aws::String& value) { SetCode(value); return *this;}
53 inline SupportedLanguage& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
54 inline SupportedLanguage& WithCode(const char* value) { SetCode(value); return *this;}
56
58
61 inline const Aws::String& GetLanguage() const{ return m_language; }
62 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
63 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
64 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
65 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
66 inline SupportedLanguage& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
67 inline SupportedLanguage& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
68 inline SupportedLanguage& WithLanguage(const char* value) { SetLanguage(value); return *this;}
70
72
75 inline const Aws::String& GetDisplay() const{ return m_display; }
76 inline bool DisplayHasBeenSet() const { return m_displayHasBeenSet; }
77 inline void SetDisplay(const Aws::String& value) { m_displayHasBeenSet = true; m_display = value; }
78 inline void SetDisplay(Aws::String&& value) { m_displayHasBeenSet = true; m_display = std::move(value); }
79 inline void SetDisplay(const char* value) { m_displayHasBeenSet = true; m_display.assign(value); }
80 inline SupportedLanguage& WithDisplay(const Aws::String& value) { SetDisplay(value); return *this;}
81 inline SupportedLanguage& WithDisplay(Aws::String&& value) { SetDisplay(std::move(value)); return *this;}
82 inline SupportedLanguage& WithDisplay(const char* value) { SetDisplay(value); return *this;}
84 private:
85
86 Aws::String m_code;
87 bool m_codeHasBeenSet = false;
88
89 Aws::String m_language;
90 bool m_languageHasBeenSet = false;
91
92 Aws::String m_display;
93 bool m_displayHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Support
98} // namespace Aws
const Aws::String & GetCode() const
void SetDisplay(const Aws::String &value)
SupportedLanguage & WithDisplay(Aws::String &&value)
const Aws::String & GetDisplay() const
const Aws::String & GetLanguage() const
SupportedLanguage & WithLanguage(const Aws::String &value)
SupportedLanguage & WithLanguage(const char *value)
void SetLanguage(const Aws::String &value)
SupportedLanguage & WithCode(const char *value)
SupportedLanguage & WithDisplay(const char *value)
SupportedLanguage & WithCode(const Aws::String &value)
AWS_SUPPORT_API SupportedLanguage & operator=(Aws::Utils::Json::JsonView jsonValue)
SupportedLanguage & WithCode(Aws::String &&value)
AWS_SUPPORT_API SupportedLanguage(Aws::Utils::Json::JsonView jsonValue)
SupportedLanguage & WithDisplay(const Aws::String &value)
SupportedLanguage & WithLanguage(Aws::String &&value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue