AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
GetAgentSpaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-agent/DevOpsAgentRequest.h>
9#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
10#include <aws/devops-agent/model/IncludedData.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Http {
16class URI;
17} // namespace Http
18namespace DevOpsAgent {
19namespace Model {
20
28 public:
29 AWS_DEVOPSAGENT_API GetAgentSpaceRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetAgentSpace"; }
36
37 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
38
39 AWS_DEVOPSAGENT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
42
45 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
46 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
47 template <typename AgentSpaceIdT = Aws::String>
48 void SetAgentSpaceId(AgentSpaceIdT&& value) {
49 m_agentSpaceIdHasBeenSet = true;
50 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
51 }
52 template <typename AgentSpaceIdT = Aws::String>
53 GetAgentSpaceRequest& WithAgentSpaceId(AgentSpaceIdT&& value) {
54 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
55 return *this;
56 }
58
60
63 inline IncludedData GetIncludedData() const { return m_includedData; }
64 inline bool IncludedDataHasBeenSet() const { return m_includedDataHasBeenSet; }
65 inline void SetIncludedData(IncludedData value) {
66 m_includedDataHasBeenSet = true;
67 m_includedData = value;
68 }
70 SetIncludedData(value);
71 return *this;
72 }
74 private:
75 Aws::String m_agentSpaceId;
76
77 IncludedData m_includedData{IncludedData::NOT_SET};
78 bool m_agentSpaceIdHasBeenSet = false;
79 bool m_includedDataHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace DevOpsAgent
84} // namespace Aws
AWS_DEVOPSAGENT_API GetAgentSpaceRequest()=default
GetAgentSpaceRequest & WithIncludedData(IncludedData value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_DEVOPSAGENT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAgentSpaceRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String