AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline GeoLocationTarget& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline GeoLocationTarget& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline GeoLocationTarget& WithName(const char* value) { SetName(value); return *this;}
58
60
64 inline const TargetFieldOrder& GetOrder() const{ return m_order; }
65 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
66 inline void SetOrder(const TargetFieldOrder& value) { m_orderHasBeenSet = true; m_order = value; }
67 inline void SetOrder(TargetFieldOrder&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
68 inline GeoLocationTarget& WithOrder(const TargetFieldOrder& value) { SetOrder(value); return *this;}
69 inline GeoLocationTarget& WithOrder(TargetFieldOrder&& value) { SetOrder(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_name;
74 bool m_nameHasBeenSet = false;
75
76 TargetFieldOrder m_order;
77 bool m_orderHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace IoT
82} // namespace Aws
void SetName(Aws::String &&value)
GeoLocationTarget & WithName(Aws::String &&value)
AWS_IOT_API GeoLocationTarget(Aws::Utils::Json::JsonView jsonValue)
GeoLocationTarget & WithOrder(TargetFieldOrder &&value)
GeoLocationTarget & WithName(const Aws::String &value)
GeoLocationTarget & WithOrder(const TargetFieldOrder &value)
void SetOrder(TargetFieldOrder &&value)
void SetName(const Aws::String &value)
AWS_IOT_API GeoLocationTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOrder(const TargetFieldOrder &value)
const TargetFieldOrder & GetOrder() const
GeoLocationTarget & WithName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue