AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LocalizedString.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_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 GeoRoutes
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOROUTES_API LocalizedString();
35 AWS_GEOROUTES_API LocalizedString(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetLanguage() const{ return m_language; }
47 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
48 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
49 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
50 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
51 inline LocalizedString& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
52 inline LocalizedString& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
53 inline LocalizedString& WithLanguage(const char* value) { SetLanguage(value); return *this;}
55
57
60 inline const Aws::String& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
65 inline LocalizedString& WithValue(const Aws::String& value) { SetValue(value); return *this;}
66 inline LocalizedString& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
67 inline LocalizedString& WithValue(const char* value) { SetValue(value); return *this;}
69 private:
70
71 Aws::String m_language;
72 bool m_languageHasBeenSet = false;
73
74 Aws::String m_value;
75 bool m_valueHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace GeoRoutes
80} // namespace Aws
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API LocalizedString(Aws::Utils::Json::JsonView jsonValue)
void SetLanguage(Aws::String &&value)
const Aws::String & GetLanguage() const
LocalizedString & WithLanguage(Aws::String &&value)
LocalizedString & WithLanguage(const char *value)
LocalizedString & WithValue(const Aws::String &value)
LocalizedString & WithValue(const char *value)
AWS_GEOROUTES_API LocalizedString & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
LocalizedString & WithLanguage(const Aws::String &value)
void SetLanguage(const Aws::String &value)
LocalizedString & WithValue(Aws::String &&value)
const Aws::String & GetValue() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue