AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateResourcePositionRequest.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/IoTWirelessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/PositionResourceType.h>
11#include <aws/core/utils/Array.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTWireless
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_IOTWIRELESS_API UpdateResourcePositionRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateResourcePosition"; }
37
38 AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetResourceIdentifier() const { return m_resourceIdentifier; }
48 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
49 template<typename ResourceIdentifierT = Aws::String>
50 void SetResourceIdentifier(ResourceIdentifierT&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::forward<ResourceIdentifierT>(value); }
51 template<typename ResourceIdentifierT = Aws::String>
52 UpdateResourcePositionRequest& WithResourceIdentifier(ResourceIdentifierT&& value) { SetResourceIdentifier(std::forward<ResourceIdentifierT>(value)); return *this;}
54
56
60 inline PositionResourceType GetResourceType() const { return m_resourceType; }
61 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
62 inline void SetResourceType(PositionResourceType value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
65 private:
66
67 Aws::String m_resourceIdentifier;
68 bool m_resourceIdentifierHasBeenSet = false;
69
71 bool m_resourceTypeHasBeenSet = false;
72
73 };
74
75} // namespace Model
76} // namespace IoTWireless
77} // 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