AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DeleteAgent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ApplicationDiscoveryService {
20namespace Model {
21
29 public:
30 AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent() = default;
31 AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetAgentId() const { return m_agentId; }
40 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
41 template <typename AgentIdT = Aws::String>
42 void SetAgentId(AgentIdT&& value) {
43 m_agentIdHasBeenSet = true;
44 m_agentId = std::forward<AgentIdT>(value);
45 }
46 template <typename AgentIdT = Aws::String>
47 DeleteAgent& WithAgentId(AgentIdT&& value) {
48 SetAgentId(std::forward<AgentIdT>(value));
49 return *this;
50 }
52
54
61 inline bool GetForce() const { return m_force; }
62 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
63 inline void SetForce(bool value) {
64 m_forceHasBeenSet = true;
65 m_force = value;
66 }
67 inline DeleteAgent& WithForce(bool value) {
68 SetForce(value);
69 return *this;
70 }
72 private:
73 Aws::String m_agentId;
74
75 bool m_force{false};
76 bool m_agentIdHasBeenSet = false;
77 bool m_forceHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ApplicationDiscoveryService
82} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent()=default
AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteAgent & WithAgentId(AgentIdT &&value)
Definition DeleteAgent.h:47
AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue