AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterAgentRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/groundstation/model/AgentDetails.h>
10#include <aws/groundstation/model/DiscoveryData.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GroundStation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GROUNDSTATION_API RegisterAgentRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RegisterAgent"; }
32
33 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
34
35
37
40 inline const AgentDetails& GetAgentDetails() const{ return m_agentDetails; }
41 inline bool AgentDetailsHasBeenSet() const { return m_agentDetailsHasBeenSet; }
42 inline void SetAgentDetails(const AgentDetails& value) { m_agentDetailsHasBeenSet = true; m_agentDetails = value; }
43 inline void SetAgentDetails(AgentDetails&& value) { m_agentDetailsHasBeenSet = true; m_agentDetails = std::move(value); }
44 inline RegisterAgentRequest& WithAgentDetails(const AgentDetails& value) { SetAgentDetails(value); return *this;}
45 inline RegisterAgentRequest& WithAgentDetails(AgentDetails&& value) { SetAgentDetails(std::move(value)); return *this;}
47
49
52 inline const DiscoveryData& GetDiscoveryData() const{ return m_discoveryData; }
53 inline bool DiscoveryDataHasBeenSet() const { return m_discoveryDataHasBeenSet; }
54 inline void SetDiscoveryData(const DiscoveryData& value) { m_discoveryDataHasBeenSet = true; m_discoveryData = value; }
55 inline void SetDiscoveryData(DiscoveryData&& value) { m_discoveryDataHasBeenSet = true; m_discoveryData = std::move(value); }
56 inline RegisterAgentRequest& WithDiscoveryData(const DiscoveryData& value) { SetDiscoveryData(value); return *this;}
57 inline RegisterAgentRequest& WithDiscoveryData(DiscoveryData&& value) { SetDiscoveryData(std::move(value)); return *this;}
59 private:
60
61 AgentDetails m_agentDetails;
62 bool m_agentDetailsHasBeenSet = false;
63
64 DiscoveryData m_discoveryData;
65 bool m_discoveryDataHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace GroundStation
70} // namespace Aws
RegisterAgentRequest & WithDiscoveryData(const DiscoveryData &value)
virtual const char * GetServiceRequestName() const override
RegisterAgentRequest & WithAgentDetails(AgentDetails &&value)
RegisterAgentRequest & WithDiscoveryData(DiscoveryData &&value)
void SetDiscoveryData(const DiscoveryData &value)
RegisterAgentRequest & WithAgentDetails(const AgentDetails &value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String