AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreetComponents.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/geo-places/model/TypePlacement.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GeoPlaces
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GEOPLACES_API StreetComponents();
36 AWS_GEOPLACES_API StreetComponents(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetBaseName() const{ return m_baseName; }
47 inline bool BaseNameHasBeenSet() const { return m_baseNameHasBeenSet; }
48 inline void SetBaseName(const Aws::String& value) { m_baseNameHasBeenSet = true; m_baseName = value; }
49 inline void SetBaseName(Aws::String&& value) { m_baseNameHasBeenSet = true; m_baseName = std::move(value); }
50 inline void SetBaseName(const char* value) { m_baseNameHasBeenSet = true; m_baseName.assign(value); }
51 inline StreetComponents& WithBaseName(const Aws::String& value) { SetBaseName(value); return *this;}
52 inline StreetComponents& WithBaseName(Aws::String&& value) { SetBaseName(std::move(value)); return *this;}
53 inline StreetComponents& WithBaseName(const char* value) { SetBaseName(value); return *this;}
55
57
61 inline const Aws::String& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
66 inline StreetComponents& WithType(const Aws::String& value) { SetType(value); return *this;}
67 inline StreetComponents& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
68 inline StreetComponents& WithType(const char* value) { SetType(value); return *this;}
70
72
75 inline const TypePlacement& GetTypePlacement() const{ return m_typePlacement; }
76 inline bool TypePlacementHasBeenSet() const { return m_typePlacementHasBeenSet; }
77 inline void SetTypePlacement(const TypePlacement& value) { m_typePlacementHasBeenSet = true; m_typePlacement = value; }
78 inline void SetTypePlacement(TypePlacement&& value) { m_typePlacementHasBeenSet = true; m_typePlacement = std::move(value); }
79 inline StreetComponents& WithTypePlacement(const TypePlacement& value) { SetTypePlacement(value); return *this;}
80 inline StreetComponents& WithTypePlacement(TypePlacement&& value) { SetTypePlacement(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetTypeSeparator() const{ return m_typeSeparator; }
88 inline bool TypeSeparatorHasBeenSet() const { return m_typeSeparatorHasBeenSet; }
89 inline void SetTypeSeparator(const Aws::String& value) { m_typeSeparatorHasBeenSet = true; m_typeSeparator = value; }
90 inline void SetTypeSeparator(Aws::String&& value) { m_typeSeparatorHasBeenSet = true; m_typeSeparator = std::move(value); }
91 inline void SetTypeSeparator(const char* value) { m_typeSeparatorHasBeenSet = true; m_typeSeparator.assign(value); }
92 inline StreetComponents& WithTypeSeparator(const Aws::String& value) { SetTypeSeparator(value); return *this;}
93 inline StreetComponents& WithTypeSeparator(Aws::String&& value) { SetTypeSeparator(std::move(value)); return *this;}
94 inline StreetComponents& WithTypeSeparator(const char* value) { SetTypeSeparator(value); return *this;}
96
98
102 inline const Aws::String& GetPrefix() const{ return m_prefix; }
103 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
104 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
105 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
106 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
107 inline StreetComponents& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
108 inline StreetComponents& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
109 inline StreetComponents& WithPrefix(const char* value) { SetPrefix(value); return *this;}
111
113
117 inline const Aws::String& GetSuffix() const{ return m_suffix; }
118 inline bool SuffixHasBeenSet() const { return m_suffixHasBeenSet; }
119 inline void SetSuffix(const Aws::String& value) { m_suffixHasBeenSet = true; m_suffix = value; }
120 inline void SetSuffix(Aws::String&& value) { m_suffixHasBeenSet = true; m_suffix = std::move(value); }
121 inline void SetSuffix(const char* value) { m_suffixHasBeenSet = true; m_suffix.assign(value); }
122 inline StreetComponents& WithSuffix(const Aws::String& value) { SetSuffix(value); return *this;}
123 inline StreetComponents& WithSuffix(Aws::String&& value) { SetSuffix(std::move(value)); return *this;}
124 inline StreetComponents& WithSuffix(const char* value) { SetSuffix(value); return *this;}
126
128
131 inline const Aws::String& GetDirection() const{ return m_direction; }
132 inline bool DirectionHasBeenSet() const { return m_directionHasBeenSet; }
133 inline void SetDirection(const Aws::String& value) { m_directionHasBeenSet = true; m_direction = value; }
134 inline void SetDirection(Aws::String&& value) { m_directionHasBeenSet = true; m_direction = std::move(value); }
135 inline void SetDirection(const char* value) { m_directionHasBeenSet = true; m_direction.assign(value); }
136 inline StreetComponents& WithDirection(const Aws::String& value) { SetDirection(value); return *this;}
137 inline StreetComponents& WithDirection(Aws::String&& value) { SetDirection(std::move(value)); return *this;}
138 inline StreetComponents& WithDirection(const char* value) { SetDirection(value); return *this;}
140
142
148 inline const Aws::String& GetLanguage() const{ return m_language; }
149 inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; }
150 inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; }
151 inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); }
152 inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); }
153 inline StreetComponents& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;}
154 inline StreetComponents& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;}
155 inline StreetComponents& WithLanguage(const char* value) { SetLanguage(value); return *this;}
157 private:
158
159 Aws::String m_baseName;
160 bool m_baseNameHasBeenSet = false;
161
162 Aws::String m_type;
163 bool m_typeHasBeenSet = false;
164
165 TypePlacement m_typePlacement;
166 bool m_typePlacementHasBeenSet = false;
167
168 Aws::String m_typeSeparator;
169 bool m_typeSeparatorHasBeenSet = false;
170
171 Aws::String m_prefix;
172 bool m_prefixHasBeenSet = false;
173
174 Aws::String m_suffix;
175 bool m_suffixHasBeenSet = false;
176
177 Aws::String m_direction;
178 bool m_directionHasBeenSet = false;
179
180 Aws::String m_language;
181 bool m_languageHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace GeoPlaces
186} // namespace Aws
void SetTypePlacement(TypePlacement &&value)
AWS_GEOPLACES_API StreetComponents & operator=(Aws::Utils::Json::JsonView jsonValue)
StreetComponents & WithPrefix(const char *value)
StreetComponents & WithTypePlacement(TypePlacement &&value)
StreetComponents & WithType(const Aws::String &value)
StreetComponents & WithDirection(const char *value)
void SetPrefix(const Aws::String &value)
StreetComponents & WithSuffix(const Aws::String &value)
void SetType(const Aws::String &value)
StreetComponents & WithPrefix(const Aws::String &value)
StreetComponents & WithSuffix(const char *value)
const Aws::String & GetPrefix() const
void SetTypeSeparator(const Aws::String &value)
StreetComponents & WithBaseName(Aws::String &&value)
void SetTypeSeparator(Aws::String &&value)
StreetComponents & WithSuffix(Aws::String &&value)
void SetDirection(const Aws::String &value)
void SetBaseName(const Aws::String &value)
StreetComponents & WithTypeSeparator(const Aws::String &value)
StreetComponents & WithPrefix(Aws::String &&value)
void SetSuffix(const Aws::String &value)
StreetComponents & WithBaseName(const Aws::String &value)
const Aws::String & GetType() const
StreetComponents & WithTypeSeparator(Aws::String &&value)
StreetComponents & WithLanguage(const char *value)
StreetComponents & WithLanguage(const Aws::String &value)
const TypePlacement & GetTypePlacement() const
const Aws::String & GetTypeSeparator() const
void SetLanguage(const Aws::String &value)
StreetComponents & WithType(Aws::String &&value)
StreetComponents & WithTypeSeparator(const char *value)
StreetComponents & WithType(const char *value)
StreetComponents & WithTypePlacement(const TypePlacement &value)
const Aws::String & GetBaseName() const
StreetComponents & WithDirection(Aws::String &&value)
StreetComponents & WithLanguage(Aws::String &&value)
StreetComponents & WithBaseName(const char *value)
const Aws::String & GetSuffix() const
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTypePlacement(const TypePlacement &value)
const Aws::String & GetDirection() const
const Aws::String & GetLanguage() const
AWS_GEOPLACES_API StreetComponents(Aws::Utils::Json::JsonView jsonValue)
StreetComponents & WithDirection(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue