7#include <aws/servicediscovery/ServiceDiscovery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/servicediscovery/model/OperationType.h>
10#include <aws/servicediscovery/model/OperationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/servicediscovery/model/OperationTargetType.h>
26namespace ServiceDiscovery
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
98 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
120 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
182 bool m_idHasBeenSet =
false;
185 bool m_typeHasBeenSet =
false;
188 bool m_statusHasBeenSet =
false;
191 bool m_errorMessageHasBeenSet =
false;
194 bool m_errorCodeHasBeenSet =
false;
197 bool m_createDateHasBeenSet =
false;
200 bool m_updateDateHasBeenSet =
false;
203 bool m_targetsHasBeenSet =
false;
const Aws::String & GetErrorCode() const
Operation & WithErrorCode(const char *value)
void SetErrorMessage(const char *value)
Operation & AddTargets(OperationTargetType &&key, const char *value)
void SetId(const char *value)
void SetErrorMessage(const Aws::String &value)
const Aws::Map< OperationTargetType, Aws::String > & GetTargets() const
void SetId(const Aws::String &value)
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorMessage() const
Operation & WithUpdateDate(const Aws::Utils::DateTime &value)
Operation & AddTargets(OperationTargetType &&key, const Aws::String &value)
Operation & WithCreateDate(Aws::Utils::DateTime &&value)
void SetTargets(const Aws::Map< OperationTargetType, Aws::String > &value)
bool TargetsHasBeenSet() const
const Aws::String & GetId() const
Operation & WithTargets(Aws::Map< OperationTargetType, Aws::String > &&value)
Operation & WithCreateDate(const Aws::Utils::DateTime &value)
Operation & WithErrorMessage(Aws::String &&value)
Operation & WithErrorCode(const Aws::String &value)
const OperationStatus & GetStatus() const
bool ErrorMessageHasBeenSet() const
void SetUpdateDate(const Aws::Utils::DateTime &value)
Operation & WithErrorMessage(const char *value)
void SetUpdateDate(Aws::Utils::DateTime &&value)
Operation & WithId(const Aws::String &value)
void SetCreateDate(Aws::Utils::DateTime &&value)
void SetErrorCode(const Aws::String &value)
bool IdHasBeenSet() const
Operation & AddTargets(const OperationTargetType &key, Aws::String &&value)
Operation & WithTargets(const Aws::Map< OperationTargetType, Aws::String > &value)
void SetErrorCode(const char *value)
void SetStatus(OperationStatus &&value)
void SetCreateDate(const Aws::Utils::DateTime &value)
Operation & AddTargets(OperationTargetType &&key, Aws::String &&value)
Operation & WithId(const char *value)
Operation & AddTargets(const OperationTargetType &key, const Aws::String &value)
AWS_SERVICEDISCOVERY_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
Operation & WithType(OperationType &&value)
Operation & WithStatus(const OperationStatus &value)
const Aws::Utils::DateTime & GetCreateDate() const
bool CreateDateHasBeenSet() const
Operation & WithErrorMessage(const Aws::String &value)
Operation & AddTargets(const OperationTargetType &key, const char *value)
bool StatusHasBeenSet() const
void SetType(const OperationType &value)
Operation & WithUpdateDate(Aws::Utils::DateTime &&value)
AWS_SERVICEDISCOVERY_API Operation(Aws::Utils::Json::JsonView jsonValue)
const OperationType & GetType() const
void SetType(OperationType &&value)
void SetErrorCode(Aws::String &&value)
bool UpdateDateHasBeenSet() const
Operation & WithId(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdateDate() const
bool TypeHasBeenSet() const
Operation & WithStatus(OperationStatus &&value)
void SetTargets(Aws::Map< OperationTargetType, Aws::String > &&value)
Operation & WithErrorCode(Aws::String &&value)
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
Operation & WithType(const OperationType &value)
void SetStatus(const OperationStatus &value)
void SetErrorMessage(Aws::String &&value)
AWS_SERVICEDISCOVERY_API Operation()
void SetId(Aws::String &&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