AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeNodeRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/panorama/PanoramaRequest.h>
9#include <aws/panorama/Panorama_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Panorama {
18namespace Model {
19
23 public:
24 AWS_PANORAMA_API DescribeNodeRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeNode"; }
31
32 AWS_PANORAMA_API Aws::String SerializePayload() const override;
33
34 AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetNodeId() const { return m_nodeId; }
41 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
42 template <typename NodeIdT = Aws::String>
43 void SetNodeId(NodeIdT&& value) {
44 m_nodeIdHasBeenSet = true;
45 m_nodeId = std::forward<NodeIdT>(value);
46 }
47 template <typename NodeIdT = Aws::String>
48 DescribeNodeRequest& WithNodeId(NodeIdT&& value) {
49 SetNodeId(std::forward<NodeIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetOwnerAccount() const { return m_ownerAccount; }
59 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
60 template <typename OwnerAccountT = Aws::String>
61 void SetOwnerAccount(OwnerAccountT&& value) {
62 m_ownerAccountHasBeenSet = true;
63 m_ownerAccount = std::forward<OwnerAccountT>(value);
64 }
65 template <typename OwnerAccountT = Aws::String>
66 DescribeNodeRequest& WithOwnerAccount(OwnerAccountT&& value) {
67 SetOwnerAccount(std::forward<OwnerAccountT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_nodeId;
73
74 Aws::String m_ownerAccount;
75 bool m_nodeIdHasBeenSet = false;
76 bool m_ownerAccountHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Panorama
81} // namespace Aws
DescribeNodeRequest & WithOwnerAccount(OwnerAccountT &&value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
AWS_PANORAMA_API DescribeNodeRequest()=default
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeNodeRequest & WithNodeId(NodeIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String