AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetResourcePositionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/PositionResourceType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace IoTWireless {
19namespace Model {
20
24 public:
25 AWS_IOTWIRELESS_API GetResourcePositionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetResourcePosition"; }
32
33 AWS_IOTWIRELESS_API Aws::String SerializePayload() const override;
34
35 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
36
38
43 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
44 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
45 template <typename ResourceIdentifierT = Aws::String>
46 void SetResourceIdentifier(ResourceIdentifierT&& value) {
47 m_resourceIdentifierHasBeenSet = true;
48 m_resourceIdentifier = std::forward<ResourceIdentifierT>(value);
49 }
50 template <typename ResourceIdentifierT = Aws::String>
51 GetResourcePositionRequest& WithResourceIdentifier(ResourceIdentifierT&& value) {
52 SetResourceIdentifier(std::forward<ResourceIdentifierT>(value));
53 return *this;
54 }
56
58
62 inline PositionResourceType GetResourceType() const { return m_resourceType; }
63 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
65 m_resourceTypeHasBeenSet = true;
66 m_resourceType = value;
67 }
69 SetResourceType(value);
70 return *this;
71 }
73 private:
74 Aws::String m_resourceIdentifier;
75
77 bool m_resourceIdentifierHasBeenSet = false;
78 bool m_resourceTypeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace IoTWireless
83} // namespace Aws
AWS_IOTWIRELESS_API Aws::String SerializePayload() const override
GetResourcePositionRequest & WithResourceType(PositionResourceType value)
AWS_IOTWIRELESS_API GetResourcePositionRequest()=default
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
GetResourcePositionRequest & WithResourceIdentifier(ResourceIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String