AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
PositionConfigurationItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/PositionResourceType.h>
10#include <aws/iotwireless/model/PositionSolverDetails.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless {
22namespace Model {
23
30 public:
31 AWS_IOTWIRELESS_API PositionConfigurationItem() = default;
34 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
41 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
42 template <typename ResourceIdentifierT = Aws::String>
43 void SetResourceIdentifier(ResourceIdentifierT&& value) {
44 m_resourceIdentifierHasBeenSet = true;
45 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
46 }
47 template <typename ResourceIdentifierT = Aws::String>
48 PositionConfigurationItem& WithResourceIdentifier(ResourceIdentifierT&& value) {
49 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline PositionResourceType GetResourceType() const { return m_resourceType; }
59 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
61 m_resourceTypeHasBeenSet = true;
62 m_resourceType = value;
63 }
65 SetResourceType(value);
66 return *this;
67 }
69
71
75 inline const PositionSolverDetails& GetSolvers() const { return m_solvers; }
76 inline bool SolversHasBeenSet() const { return m_solversHasBeenSet; }
77 template <typename SolversT = PositionSolverDetails>
78 void SetSolvers(SolversT&& value) {
79 m_solversHasBeenSet = true;
80 m_solvers = std::forward<SolversT>(value);
81 }
82 template <typename SolversT = PositionSolverDetails>
84 SetSolvers(std::forward<SolversT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetDestination() const { return m_destination; }
95 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
96 template <typename DestinationT = Aws::String>
97 void SetDestination(DestinationT&& value) {
98 m_destinationHasBeenSet = true;
99 m_destination = std::forward<DestinationT>(value);
100 }
101 template <typename DestinationT = Aws::String>
103 SetDestination(std::forward<DestinationT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_resourceIdentifier;
109
111
112 PositionSolverDetails m_solvers;
113
114 Aws::String m_destination;
115 bool m_resourceIdentifierHasBeenSet = false;
116 bool m_resourceTypeHasBeenSet = false;
117 bool m_solversHasBeenSet = false;
118 bool m_destinationHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace IoTWireless
123} // namespace Aws
AWS_IOTWIRELESS_API PositionConfigurationItem()=default
PositionConfigurationItem & WithResourceType(PositionResourceType value)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTWIRELESS_API PositionConfigurationItem(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API PositionConfigurationItem & operator=(Aws::Utils::Json::JsonView jsonValue)
PositionConfigurationItem & WithDestination(DestinationT &&value)
PositionConfigurationItem & WithSolvers(SolversT &&value)
PositionConfigurationItem & WithResourceIdentifier(ResourceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue