AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetInstanceAccessRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GameLift {
15namespace Model {
16
20 public:
21 AWS_GAMELIFT_API GetInstanceAccessRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetInstanceAccess"; }
28
29 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
30
32
34
42 inline const Aws::String& GetFleetId() const { return m_fleetId; }
43 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
44 template <typename FleetIdT = Aws::String>
45 void SetFleetId(FleetIdT&& value) {
46 m_fleetIdHasBeenSet = true;
47 m_fleetId = std::forward<FleetIdT>(value);
48 }
49 template <typename FleetIdT = Aws::String>
51 SetFleetId(std::forward<FleetIdT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
62 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
63 template <typename InstanceIdT = Aws::String>
64 void SetInstanceId(InstanceIdT&& value) {
65 m_instanceIdHasBeenSet = true;
66 m_instanceId = std::forward<InstanceIdT>(value);
67 }
68 template <typename InstanceIdT = Aws::String>
70 SetInstanceId(std::forward<InstanceIdT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_fleetId;
76
77 Aws::String m_instanceId;
78 bool m_fleetIdHasBeenSet = false;
79 bool m_instanceIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace GameLift
84} // namespace Aws
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
GetInstanceAccessRequest & WithInstanceId(InstanceIdT &&value)
GetInstanceAccessRequest & WithFleetId(FleetIdT &&value)
AWS_GAMELIFT_API Aws::String SerializePayload() const override
AWS_GAMELIFT_API GetInstanceAccessRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String