AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteAgent.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApplicationDiscoveryService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent() = default;
36 AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAgentId() const { return m_agentId; }
46 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
47 template<typename AgentIdT = Aws::String>
48 void SetAgentId(AgentIdT&& value) { m_agentIdHasBeenSet = true; m_agentId = std::forward<AgentIdT>(value); }
49 template<typename AgentIdT = Aws::String>
50 DeleteAgent& WithAgentId(AgentIdT&& value) { SetAgentId(std::forward<AgentIdT>(value)); return *this;}
52
54
61 inline bool GetForce() const { return m_force; }
62 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
63 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
64 inline DeleteAgent& WithForce(bool value) { SetForce(value); return *this;}
66 private:
67
68 Aws::String m_agentId;
69 bool m_agentIdHasBeenSet = false;
70
71 bool m_force{false};
72 bool m_forceHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ApplicationDiscoveryService
77} // 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:50
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