AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GeoLocationTarget.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot/IoT_EXPORTS.h>
9#include <aws/iot/model/TargetFieldOrder.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
31 public:
32 AWS_IOT_API GeoLocationTarget() = default;
36
38
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
51 GeoLocationTarget& WithName(NameT&& value) {
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
62 inline TargetFieldOrder GetOrder() const { return m_order; }
63 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
64 inline void SetOrder(TargetFieldOrder value) {
65 m_orderHasBeenSet = true;
66 m_order = value;
67 }
69 SetOrder(value);
70 return *this;
71 }
73 private:
74 Aws::String m_name;
75
77 bool m_nameHasBeenSet = false;
78 bool m_orderHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace IoT
83} // 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