AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLabels(const Aws::Vector<RouteSignpostLabel>& value) { m_labelsHasBeenSet = true; m_labels = value; }
49 inline void SetLabels(Aws::Vector<RouteSignpostLabel>&& value) { m_labelsHasBeenSet = true; m_labels = std::move(value); }
50 inline RouteSignpost& WithLabels(const Aws::Vector<RouteSignpostLabel>& value) { SetLabels(value); return *this;}
51 inline RouteSignpost& WithLabels(Aws::Vector<RouteSignpostLabel>&& value) { SetLabels(std::move(value)); return *this;}
52 inline RouteSignpost& AddLabels(const RouteSignpostLabel& value) { m_labelsHasBeenSet = true; m_labels.push_back(value); return *this; }
53 inline RouteSignpost& AddLabels(RouteSignpostLabel&& value) { m_labelsHasBeenSet = true; m_labels.push_back(std::move(value)); return *this; }
55 private:
56
58 bool m_labelsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace GeoRoutes
63} // namespace Aws
RouteSignpost & AddLabels(RouteSignpostLabel &&value)
RouteSignpost & WithLabels(const Aws::Vector< RouteSignpostLabel > &value)
void SetLabels(Aws::Vector< RouteSignpostLabel > &&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)
RouteSignpost & WithLabels(Aws::Vector< RouteSignpostLabel > &&value)
RouteSignpost & AddLabels(const RouteSignpostLabel &value)
void SetLabels(const Aws::Vector< RouteSignpostLabel > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue