AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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