AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeNodeRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Panorama
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DescribeNode"; }
35
37
39
40
44 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
45
49 inline bool NodeIdHasBeenSet() const { return m_nodeIdHasBeenSet; }
50
54 inline void SetNodeId(const Aws::String& value) { m_nodeIdHasBeenSet = true; m_nodeId = value; }
55
59 inline void SetNodeId(Aws::String&& value) { m_nodeIdHasBeenSet = true; m_nodeId = std::move(value); }
60
64 inline void SetNodeId(const char* value) { m_nodeIdHasBeenSet = true; m_nodeId.assign(value); }
65
69 inline DescribeNodeRequest& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
70
74 inline DescribeNodeRequest& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
75
79 inline DescribeNodeRequest& WithNodeId(const char* value) { SetNodeId(value); return *this;}
80
81
85 inline const Aws::String& GetOwnerAccount() const{ return m_ownerAccount; }
86
90 inline bool OwnerAccountHasBeenSet() const { return m_ownerAccountHasBeenSet; }
91
95 inline void SetOwnerAccount(const Aws::String& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = value; }
96
100 inline void SetOwnerAccount(Aws::String&& value) { m_ownerAccountHasBeenSet = true; m_ownerAccount = std::move(value); }
101
105 inline void SetOwnerAccount(const char* value) { m_ownerAccountHasBeenSet = true; m_ownerAccount.assign(value); }
106
110 inline DescribeNodeRequest& WithOwnerAccount(const Aws::String& value) { SetOwnerAccount(value); return *this;}
111
115 inline DescribeNodeRequest& WithOwnerAccount(Aws::String&& value) { SetOwnerAccount(std::move(value)); return *this;}
116
120 inline DescribeNodeRequest& WithOwnerAccount(const char* value) { SetOwnerAccount(value); return *this;}
121
122 private:
123
124 Aws::String m_nodeId;
125 bool m_nodeIdHasBeenSet = false;
126
127 Aws::String m_ownerAccount;
128 bool m_ownerAccountHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Panorama
133} // namespace Aws
#define AWS_PANORAMA_API
void SetOwnerAccount(const Aws::String &value)
void SetNodeId(const Aws::String &value)
DescribeNodeRequest & WithNodeId(const char *value)
AWS_PANORAMA_API Aws::String SerializePayload() const override
DescribeNodeRequest & WithOwnerAccount(const Aws::String &value)
DescribeNodeRequest & WithNodeId(const Aws::String &value)
AWS_PANORAMA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeNodeRequest & WithOwnerAccount(Aws::String &&value)
DescribeNodeRequest & WithNodeId(Aws::String &&value)
const Aws::String & GetOwnerAccount() const
virtual const char * GetServiceRequestName() const override
DescribeNodeRequest & WithOwnerAccount(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String