AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
48 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
49 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
50 inline DeleteAgent& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
51 inline DeleteAgent& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
52 inline DeleteAgent& WithAgentId(const char* value) { SetAgentId(value); return *this;}
54
56
63 inline bool GetForce() const{ return m_force; }
64 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
65 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
66 inline DeleteAgent& WithForce(bool value) { SetForce(value); return *this;}
68 private:
69
70 Aws::String m_agentId;
71 bool m_agentIdHasBeenSet = false;
72
73 bool m_force;
74 bool m_forceHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ApplicationDiscoveryService
79} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent & operator=(Aws::Utils::Json::JsonView jsonValue)
DeleteAgent & WithAgentId(Aws::String &&value)
Definition DeleteAgent.h:51
DeleteAgent & WithAgentId(const Aws::String &value)
Definition DeleteAgent.h:50
DeleteAgent & WithAgentId(const char *value)
Definition DeleteAgent.h:52
AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API DeleteAgent()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue