AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GeoLocationTarget.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/TargetFieldOrder.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 IoT
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOT_API GeoLocationTarget() = default;
41
42
44
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 GeoLocationTarget& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
62 inline TargetFieldOrder GetOrder() const { return m_order; }
63 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
64 inline void SetOrder(TargetFieldOrder value) { m_orderHasBeenSet = true; m_order = value; }
65 inline GeoLocationTarget& WithOrder(TargetFieldOrder value) { SetOrder(value); return *this;}
67 private:
68
69 Aws::String m_name;
70 bool m_nameHasBeenSet = false;
71
73 bool m_orderHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace IoT
78} // namespace Aws
AWS_IOT_API GeoLocationTarget()=default
AWS_IOT_API GeoLocationTarget(Aws::Utils::Json::JsonView jsonValue)
void SetOrder(TargetFieldOrder value)
GeoLocationTarget & WithName(NameT &&value)
TargetFieldOrder GetOrder() const
AWS_IOT_API GeoLocationTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
GeoLocationTarget & WithOrder(TargetFieldOrder value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue