AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AgentConfigurationStatus.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
34 {
35 public:
36 AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus();
37 AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAgentId() const{ return m_agentId; }
47 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
48 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
49 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
50 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
51 inline AgentConfigurationStatus& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
52 inline AgentConfigurationStatus& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
53 inline AgentConfigurationStatus& WithAgentId(const char* value) { SetAgentId(value); return *this;}
55
57
63 inline bool GetOperationSucceeded() const{ return m_operationSucceeded; }
64 inline bool OperationSucceededHasBeenSet() const { return m_operationSucceededHasBeenSet; }
65 inline void SetOperationSucceeded(bool value) { m_operationSucceededHasBeenSet = true; m_operationSucceeded = value; }
66 inline AgentConfigurationStatus& WithOperationSucceeded(bool value) { SetOperationSucceeded(value); return *this;}
68
70
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline AgentConfigurationStatus& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline AgentConfigurationStatus& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline AgentConfigurationStatus& WithDescription(const char* value) { SetDescription(value); return *this;}
82 private:
83
84 Aws::String m_agentId;
85 bool m_agentIdHasBeenSet = false;
86
87 bool m_operationSucceeded;
88 bool m_operationSucceededHasBeenSet = false;
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ApplicationDiscoveryService
96} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AgentConfigurationStatus & WithDescription(Aws::String &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus()
AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus(Aws::Utils::Json::JsonView jsonValue)
AgentConfigurationStatus & WithDescription(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentConfigurationStatus & WithAgentId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue