AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DisableOperatorAppRequest.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/AuthFlow.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DevOpsAgent {
16namespace Model {
17
25 public:
26 AWS_DEVOPSAGENT_API DisableOperatorAppRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DisableOperatorApp"; }
33
34 AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override;
35
36 AWS_DEVOPSAGENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
43 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
44 template <typename AgentSpaceIdT = Aws::String>
45 void SetAgentSpaceId(AgentSpaceIdT&& value) {
46 m_agentSpaceIdHasBeenSet = true;
47 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
48 }
49 template <typename AgentSpaceIdT = Aws::String>
51 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
52 return *this;
53 }
55
57
60 inline AuthFlow GetAuthFlow() const { return m_authFlow; }
61 inline bool AuthFlowHasBeenSet() const { return m_authFlowHasBeenSet; }
62 inline void SetAuthFlow(AuthFlow value) {
63 m_authFlowHasBeenSet = true;
64 m_authFlow = value;
65 }
67 SetAuthFlow(value);
68 return *this;
69 }
71 private:
72 Aws::String m_agentSpaceId;
73
74 AuthFlow m_authFlow{AuthFlow::NOT_SET};
75 bool m_agentSpaceIdHasBeenSet = false;
76 bool m_authFlowHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DevOpsAgent
81} // namespace Aws
AWS_DEVOPSAGENT_API DisableOperatorAppRequest()=default
DisableOperatorAppRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DEVOPSAGENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DisableOperatorAppRequest & WithAuthFlow(AuthFlow value)
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String