AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
RouteSignpost.h
1
6#pragma once
7#include <aws/geo-routes/GeoRoutes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/geo-routes/model/RouteSignpostLabel.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 GeoRoutes
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GEOROUTES_API RouteSignpost() = default;
37 AWS_GEOROUTES_API RouteSignpost(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GEOROUTES_API RouteSignpost& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<RouteSignpostLabel>& GetLabels() const { return m_labels; }
47 inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; }
48 template<typename LabelsT = Aws::Vector<RouteSignpostLabel>>
49 void SetLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels = std::forward<LabelsT>(value); }
50 template<typename LabelsT = Aws::Vector<RouteSignpostLabel>>
51 RouteSignpost& WithLabels(LabelsT&& value) { SetLabels(std::forward<LabelsT>(value)); return *this;}
52 template<typename LabelsT = RouteSignpostLabel>
53 RouteSignpost& AddLabels(LabelsT&& value) { m_labelsHasBeenSet = true; m_labels.emplace_back(std::forward<LabelsT>(value)); return *this; }
55 private:
56
58 bool m_labelsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace GeoRoutes
63} // namespace Aws
AWS_GEOROUTES_API RouteSignpost()=default
RouteSignpost & WithLabels(LabelsT &&value)
RouteSignpost & AddLabels(LabelsT &&value)
const Aws::Vector< RouteSignpostLabel > & GetLabels() const
AWS_GEOROUTES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GEOROUTES_API RouteSignpost(Aws::Utils::Json::JsonView jsonValue)
AWS_GEOROUTES_API RouteSignpost & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue