AWS SDK for C++  1.9.124
AWS SDK for C++
AgentConfigurationStatus.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace ApplicationDiscoveryService
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetAgentId() const{ return m_agentId; }
47 
51  inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
52 
56  inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
57 
61  inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
62 
66  inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
67 
71  inline AgentConfigurationStatus& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
72 
76  inline AgentConfigurationStatus& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
77 
81  inline AgentConfigurationStatus& WithAgentId(const char* value) { SetAgentId(value); return *this;}
82 
83 
90  inline bool GetOperationSucceeded() const{ return m_operationSucceeded; }
91 
98  inline bool OperationSucceededHasBeenSet() const { return m_operationSucceededHasBeenSet; }
99 
106  inline void SetOperationSucceeded(bool value) { m_operationSucceededHasBeenSet = true; m_operationSucceeded = value; }
107 
114  inline AgentConfigurationStatus& WithOperationSucceeded(bool value) { SetOperationSucceeded(value); return *this;}
115 
116 
120  inline const Aws::String& GetDescription() const{ return m_description; }
121 
125  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
126 
130  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
131 
135  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
136 
140  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
141 
145  inline AgentConfigurationStatus& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
146 
150  inline AgentConfigurationStatus& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
151 
155  inline AgentConfigurationStatus& WithDescription(const char* value) { SetDescription(value); return *this;}
156 
157  private:
158 
159  Aws::String m_agentId;
160  bool m_agentIdHasBeenSet;
161 
162  bool m_operationSucceeded;
163  bool m_operationSucceededHasBeenSet;
164 
165  Aws::String m_description;
166  bool m_descriptionHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace ApplicationDiscoveryService
171 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: AgentConfigurationStatus.h:125
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithAgentId
AgentConfigurationStatus & WithAgentId(const char *value)
Definition: AgentConfigurationStatus.h:81
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::AgentConfigurationStatus
AgentConfigurationStatus()
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::GetDescription
const Aws::String & GetDescription() const
Definition: AgentConfigurationStatus.h:120
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetDescription
void SetDescription(const Aws::String &value)
Definition: AgentConfigurationStatus.h:130
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::GetOperationSucceeded
bool GetOperationSucceeded() const
Definition: AgentConfigurationStatus.h:90
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetDescription
void SetDescription(const char *value)
Definition: AgentConfigurationStatus.h:140
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithDescription
AgentConfigurationStatus & WithDescription(Aws::String &&value)
Definition: AgentConfigurationStatus.h:150
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithDescription
AgentConfigurationStatus & WithDescription(const Aws::String &value)
Definition: AgentConfigurationStatus.h:145
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::AgentConfigurationStatus
AgentConfigurationStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithAgentId
AgentConfigurationStatus & WithAgentId(const Aws::String &value)
Definition: AgentConfigurationStatus.h:71
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::operator=
AgentConfigurationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithDescription
AgentConfigurationStatus & WithDescription(const char *value)
Definition: AgentConfigurationStatus.h:155
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithOperationSucceeded
AgentConfigurationStatus & WithOperationSucceeded(bool value)
Definition: AgentConfigurationStatus.h:114
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetAgentId
void SetAgentId(const char *value)
Definition: AgentConfigurationStatus.h:66
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::WithAgentId
AgentConfigurationStatus & WithAgentId(Aws::String &&value)
Definition: AgentConfigurationStatus.h:76
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetDescription
void SetDescription(Aws::String &&value)
Definition: AgentConfigurationStatus.h:135
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetAgentId
void SetAgentId(Aws::String &&value)
Definition: AgentConfigurationStatus.h:61
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetOperationSucceeded
void SetOperationSucceeded(bool value)
Definition: AgentConfigurationStatus.h:106
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::OperationSucceededHasBeenSet
bool OperationSucceededHasBeenSet() const
Definition: AgentConfigurationStatus.h:98
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::AgentIdHasBeenSet
bool AgentIdHasBeenSet() const
Definition: AgentConfigurationStatus.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus
Definition: AgentConfigurationStatus.h:35
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::SetAgentId
void SetAgentId(const Aws::String &value)
Definition: AgentConfigurationStatus.h:56
Aws::ApplicationDiscoveryService::Model::AgentConfigurationStatus::GetAgentId
const Aws::String & GetAgentId() const
Definition: AgentConfigurationStatus.h:46
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28