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/servicediscovery/ServiceDiscovery_EXPORTS.h>
11#include <aws/servicediscovery/model/OperationStatus.h>
12#include <aws/servicediscovery/model/OperationTargetType.h>
13#include <aws/servicediscovery/model/OperationType.h>
24namespace ServiceDiscovery {
46 template <
typename IdT = Aws::String>
48 m_idHasBeenSet =
true;
49 m_id = std::forward<IdT>(value);
51 template <
typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
65 template <
typename OwnerAccountT = Aws::String>
67 m_ownerAccountHasBeenSet =
true;
68 m_ownerAccount = std::forward<OwnerAccountT>(value);
70 template <
typename OwnerAccountT = Aws::String>
84 m_typeHasBeenSet =
true;
105 m_statusHasBeenSet =
true;
121 template <
typename ErrorMessageT = Aws::String>
123 m_errorMessageHasBeenSet =
true;
124 m_errorMessage = std::forward<ErrorMessageT>(value);
126 template <
typename ErrorMessageT = Aws::String>
147 template <
typename ErrorCodeT = Aws::String>
149 m_errorCodeHasBeenSet =
true;
150 m_errorCode = std::forward<ErrorCodeT>(value);
152 template <
typename ErrorCodeT = Aws::String>
168 template <
typename CreateDateT = Aws::Utils::DateTime>
170 m_createDateHasBeenSet =
true;
171 m_createDate = std::forward<CreateDateT>(value);
173 template <
typename CreateDateT = Aws::Utils::DateTime>
190 template <
typename UpdateDateT = Aws::Utils::DateTime>
192 m_updateDateHasBeenSet =
true;
193 m_updateDate = std::forward<UpdateDateT>(value);
195 template <
typename UpdateDateT = Aws::Utils::DateTime>
213 template <
typename TargetsT = Aws::Map<OperationTargetType, Aws::String>>
215 m_targetsHasBeenSet =
true;
216 m_targets = std::forward<TargetsT>(value);
218 template <
typename TargetsT = Aws::Map<OperationTargetType, Aws::String>>
224 m_targetsHasBeenSet =
true;
225 m_targets.emplace(key, value);
247 bool m_idHasBeenSet =
false;
248 bool m_ownerAccountHasBeenSet =
false;
249 bool m_typeHasBeenSet =
false;
250 bool m_statusHasBeenSet =
false;
251 bool m_errorMessageHasBeenSet =
false;
252 bool m_errorCodeHasBeenSet =
false;
253 bool m_createDateHasBeenSet =
false;
254 bool m_updateDateHasBeenSet =
false;
255 bool m_targetsHasBeenSet =
false;
const Aws::String & GetErrorCode() const
const Aws::Map< OperationTargetType, Aws::String > & GetTargets() const
void SetUpdateDate(UpdateDateT &&value)
OperationType GetType() const
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorMessage() const
OperationStatus GetStatus() const
void SetOwnerAccount(OwnerAccountT &&value)
bool TargetsHasBeenSet() const
const Aws::String & GetId() const
Operation & WithTargets(TargetsT &&value)
Operation & WithType(OperationType value)
void SetTargets(TargetsT &&value)
bool ErrorMessageHasBeenSet() const
Operation & WithStatus(OperationStatus value)
bool IdHasBeenSet() const
void SetStatus(OperationStatus value)
void SetErrorMessage(ErrorMessageT &&value)
void SetType(OperationType value)
Operation & WithErrorMessage(ErrorMessageT &&value)
Operation & WithErrorCode(ErrorCodeT &&value)
Operation & WithCreateDate(CreateDateT &&value)
AWS_SERVICEDISCOVERY_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
Operation & WithUpdateDate(UpdateDateT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
bool CreateDateHasBeenSet() const
bool StatusHasBeenSet() const
bool OwnerAccountHasBeenSet() const
AWS_SERVICEDISCOVERY_API Operation(Aws::Utils::Json::JsonView jsonValue)
Operation & AddTargets(OperationTargetType key, Aws::String value)
Operation & WithOwnerAccount(OwnerAccountT &&value)
const Aws::String & GetOwnerAccount() const
bool UpdateDateHasBeenSet() const
const Aws::Utils::DateTime & GetUpdateDate() const
Operation & WithId(IdT &&value)
bool TypeHasBeenSet() const
AWS_SERVICEDISCOVERY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SERVICEDISCOVERY_API Operation()=default
void SetCreateDate(CreateDateT &&value)
void SetErrorCode(ErrorCodeT &&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