AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AgentConfigurationStatus.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
30 public:
31 AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus() = default;
32 AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAgentId() const { return m_agentId; }
41 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
42 template <typename AgentIdT = Aws::String>
43 void SetAgentId(AgentIdT&& value) {
44 m_agentIdHasBeenSet = true;
45 m_agentId = std::forward<AgentIdT>(value);
46 }
47 template <typename AgentIdT = Aws::String>
49 SetAgentId(std::forward<AgentIdT>(value));
50 return *this;
51 }
53
55
61 inline bool GetOperationSucceeded() const { return m_operationSucceeded; }
62 inline bool OperationSucceededHasBeenSet() const { return m_operationSucceededHasBeenSet; }
63 inline void SetOperationSucceeded(bool value) {
64 m_operationSucceededHasBeenSet = true;
65 m_operationSucceeded = value;
66 }
69 return *this;
70 }
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_agentId;
92
93 bool m_operationSucceeded{false};
94
95 Aws::String m_description;
96 bool m_agentIdHasBeenSet = false;
97 bool m_operationSucceededHasBeenSet = false;
98 bool m_descriptionHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ApplicationDiscoveryService
103} // namespace Aws
AgentConfigurationStatus & WithDescription(DescriptionT &&value)
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus()=default
AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONDISCOVERYSERVICE_API AgentConfigurationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue