AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
50 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
51 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
54 inline UpdateResourcePositionRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
56
58
62 inline const PositionResourceType& GetResourceType() const{ return m_resourceType; }
63 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
64 inline void SetResourceType(const PositionResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
65 inline void SetResourceType(PositionResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
67 inline UpdateResourcePositionRequest& WithResourceType(PositionResourceType&& value) { SetResourceType(std::move(value)); return *this;}
69 private:
70
71 Aws::String m_resourceIdentifier;
72 bool m_resourceIdentifierHasBeenSet = false;
73
74 PositionResourceType m_resourceType;
75 bool m_resourceTypeHasBeenSet = false;
76
77 };
78
79} // namespace Model
80} // namespace IoTWireless
81} // namespace Aws
UpdateResourcePositionRequest & WithResourceIdentifier(const char *value)
UpdateResourcePositionRequest & WithResourceIdentifier(const Aws::String &value)
UpdateResourcePositionRequest & WithResourceIdentifier(Aws::String &&value)
UpdateResourcePositionRequest & WithResourceType(const PositionResourceType &value)
AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
UpdateResourcePositionRequest & WithResourceType(PositionResourceType &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String