7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/CapabilityConfiguration.h>
12#include <aws/devops-agent/model/CapabilityType.h>
13#include <aws/devops-agent/model/ServiceConfiguration.h>
14#include <aws/devops-agent/model/ValidationStatus.h>
25namespace DevOpsAgent {
47 template <
typename AgentSpaceIdT = Aws::String>
49 m_agentSpaceIdHasBeenSet =
true;
50 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
52 template <
typename AgentSpaceIdT = Aws::String>
65 template <
typename CreatedAtT = Aws::Utils::DateTime>
67 m_createdAtHasBeenSet =
true;
68 m_createdAt = std::forward<CreatedAtT>(value);
70 template <
typename CreatedAtT = Aws::Utils::DateTime>
83 template <
typename UpdatedAtT = Aws::Utils::DateTime>
85 m_updatedAtHasBeenSet =
true;
86 m_updatedAt = std::forward<UpdatedAtT>(value);
88 template <
typename UpdatedAtT = Aws::Utils::DateTime>
102 m_statusHasBeenSet =
true;
117 template <
typename AssociationIdT = Aws::String>
119 m_associationIdHasBeenSet =
true;
120 m_associationId = std::forward<AssociationIdT>(value);
122 template <
typename AssociationIdT = Aws::String>
135 template <
typename ServiceIdT = Aws::String>
137 m_serviceIdHasBeenSet =
true;
138 m_serviceId = std::forward<ServiceIdT>(value);
140 template <
typename ServiceIdT = Aws::String>
154 template <
typename ConfigurationT = ServiceConfiguration>
156 m_configurationHasBeenSet =
true;
157 m_configuration = std::forward<ConfigurationT>(value);
159 template <
typename ConfigurationT = ServiceConfiguration>
172 template <
typename CapabilitiesT = Aws::Map<CapabilityType, CapabilityConfiguration>>
174 m_capabilitiesHasBeenSet =
true;
175 m_capabilities = std::forward<CapabilitiesT>(value);
177 template <
typename CapabilitiesT = Aws::Map<CapabilityType, CapabilityConfiguration>>
183 m_capabilitiesHasBeenSet =
true;
184 m_capabilities.emplace(key, value);
201 ServiceConfiguration m_configuration;
204 bool m_agentSpaceIdHasBeenSet =
false;
205 bool m_createdAtHasBeenSet =
false;
206 bool m_updatedAtHasBeenSet =
false;
207 bool m_statusHasBeenSet =
false;
208 bool m_associationIdHasBeenSet =
false;
209 bool m_serviceIdHasBeenSet =
false;
210 bool m_configurationHasBeenSet =
false;
211 bool m_capabilitiesHasBeenSet =
false;
Association & WithCapabilities(CapabilitiesT &&value)
AWS_DEVOPSAGENT_API Association(Aws::Utils::Json::JsonView jsonValue)
bool ConfigurationHasBeenSet() const
Association & WithConfiguration(ConfigurationT &&value)
bool CapabilitiesHasBeenSet() const
void SetConfiguration(ConfigurationT &&value)
const Aws::Map< CapabilityType, CapabilityConfiguration > & GetCapabilities() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
ValidationStatus GetStatus() const
bool CreatedAtHasBeenSet() const
void SetServiceId(ServiceIdT &&value)
AWS_DEVOPSAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgentSpaceId(AgentSpaceIdT &&value)
Association & WithAgentSpaceId(AgentSpaceIdT &&value)
bool ServiceIdHasBeenSet() const
const Aws::String & GetAssociationId() const
const Aws::String & GetAgentSpaceId() const
Association & WithStatus(ValidationStatus value)
Association & WithAssociationId(AssociationIdT &&value)
void SetAssociationId(AssociationIdT &&value)
void SetCapabilities(CapabilitiesT &&value)
void SetStatus(ValidationStatus value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool UpdatedAtHasBeenSet() const
Association & AddCapabilities(CapabilityType key, CapabilityConfiguration value)
AWS_DEVOPSAGENT_API Association & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceConfiguration & GetConfiguration() const
Association & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetServiceId() const
Association & WithCreatedAt(CreatedAtT &&value)
bool AgentSpaceIdHasBeenSet() const
bool StatusHasBeenSet() const
AWS_DEVOPSAGENT_API Association()=default
bool AssociationIdHasBeenSet() const
Association & WithServiceId(ServiceIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue