AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
GetCurationProposalRequest.h
1
6#pragma once
7#include <aws/context/ContextRequest.h>
8#include <aws/context/Context_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Context {
15namespace Model {
16
20 public:
21 AWS_CONTEXT_API GetCurationProposalRequest() = 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 "GetCurationProposal"; }
28
29 AWS_CONTEXT_API Aws::String SerializePayload() const override;
30
32
34
39 inline const Aws::String& GetAgentContextId() const { return m_agentContextId; }
40 inline bool AgentContextIdHasBeenSet() const { return m_agentContextIdHasBeenSet; }
41 template <typename AgentContextIdT = Aws::String>
42 void SetAgentContextId(AgentContextIdT&& value) {
43 m_agentContextIdHasBeenSet = true;
44 m_agentContextId = std::forward<AgentContextIdT>(value);
45 }
46 template <typename AgentContextIdT = Aws::String>
48 SetAgentContextId(std::forward<AgentContextIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetCurationProposalId() const { return m_curationProposalId; }
58 inline bool CurationProposalIdHasBeenSet() const { return m_curationProposalIdHasBeenSet; }
59 template <typename CurationProposalIdT = Aws::String>
60 void SetCurationProposalId(CurationProposalIdT&& value) {
61 m_curationProposalIdHasBeenSet = true;
62 m_curationProposalId = std::forward<CurationProposalIdT>(value);
63 }
64 template <typename CurationProposalIdT = Aws::String>
65 GetCurationProposalRequest& WithCurationProposalId(CurationProposalIdT&& value) {
66 SetCurationProposalId(std::forward<CurationProposalIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_agentContextId;
72
73 Aws::String m_curationProposalId;
74 bool m_agentContextIdHasBeenSet = false;
75 bool m_curationProposalIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Context
80} // namespace Aws
AWS_CONTEXT_API Aws::String SerializePayload() const override
AWS_CONTEXT_API GetCurationProposalRequest()=default
virtual const char * GetServiceRequestName() const override
GetCurationProposalRequest & WithAgentContextId(AgentContextIdT &&value)
AWS_CONTEXT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetCurationProposalRequest & WithCurationProposalId(CurationProposalIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String