7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/OperationStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
66 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
92 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
114 inline Operation&
AddProperties(
const char* key,
const char* value) { m_propertiesHasBeenSet =
true; m_properties.emplace(key, value);
return *
this; }
125 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
139 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
153 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
197 bool m_idHasBeenSet =
false;
200 bool m_typeHasBeenSet =
false;
203 bool m_statusHasBeenSet =
false;
206 bool m_statusMessageHasBeenSet =
false;
209 bool m_propertiesHasBeenSet =
false;
212 bool m_resourceTypeHasBeenSet =
false;
215 bool m_resourceIdHasBeenSet =
false;
218 bool m_resourceArnHasBeenSet =
false;
221 bool m_startTimeHasBeenSet =
false;
224 bool m_endTimeHasBeenSet =
false;
227 bool m_lastUpdatedTimeHasBeenSet =
false;
Operation & WithResourceId(const Aws::String &value)
const Aws::String & GetResourceArn() const
Operation & WithId(const Aws::String &value)
Operation & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
Operation & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
bool ResourceIdHasBeenSet() const
bool PropertiesHasBeenSet() const
bool TypeHasBeenSet() const
void SetResourceArn(Aws::String &&value)
void SetEndTime(Aws::Utils::DateTime &&value)
void SetType(const char *value)
Operation & WithStatusMessage(const char *value)
Operation & WithResourceType(const Aws::String &value)
Operation & AddProperties(Aws::String &&key, const char *value)
bool ResourceTypeHasBeenSet() const
Operation & WithType(Aws::String &&value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
Operation & WithEndTime(Aws::Utils::DateTime &&value)
void SetResourceId(Aws::String &&value)
Operation & WithType(const char *value)
const Aws::Utils::DateTime & GetEndTime() const
void SetResourceType(const char *value)
void SetType(Aws::String &&value)
const Aws::Utils::DateTime & GetStartTime() const
void SetResourceArn(const Aws::String &value)
void SetResourceArn(const char *value)
const Aws::String & GetStatusMessage() const
Operation & AddProperties(Aws::String &&key, const Aws::String &value)
Operation & WithResourceType(Aws::String &&value)
void SetId(Aws::String &&value)
Operation & WithStartTime(Aws::Utils::DateTime &&value)
void SetResourceType(Aws::String &&value)
Operation & AddProperties(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Operation & WithStatusMessage(Aws::String &&value)
Operation & WithId(Aws::String &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetId() const
void SetResourceId(const Aws::String &value)
Operation & AddProperties(const char *key, Aws::String &&value)
void SetType(const Aws::String &value)
AWS_SSMSAP_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
Operation & WithResourceArn(const Aws::String &value)
bool StartTimeHasBeenSet() const
AWS_SSMSAP_API Operation()
Operation & WithResourceId(Aws::String &&value)
bool IdHasBeenSet() const
Operation & WithStatusMessage(const Aws::String &value)
Operation & WithStartTime(const Aws::Utils::DateTime &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
void SetStatusMessage(const char *value)
Operation & WithResourceType(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
void SetStatusMessage(const Aws::String &value)
bool StatusHasBeenSet() const
void SetStatus(const OperationStatus &value)
bool EndTimeHasBeenSet() const
Operation & WithStatus(const OperationStatus &value)
Operation & WithEndTime(const Aws::Utils::DateTime &value)
Operation & WithStatus(OperationStatus &&value)
void SetResourceId(const char *value)
Operation & AddProperties(const Aws::String &key, Aws::String &&value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(const Aws::String &value)
AWS_SSMSAP_API Operation(Aws::Utils::Json::JsonView jsonValue)
Operation & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetResourceType() const
void SetId(const Aws::String &value)
void SetId(const char *value)
const OperationStatus & GetStatus() const
const Aws::String & GetType() const
void SetStartTime(Aws::Utils::DateTime &&value)
void SetStatusMessage(Aws::String &&value)
Operation & WithResourceId(const char *value)
Operation & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
bool ResourceArnHasBeenSet() const
Operation & AddProperties(const Aws::String &key, const Aws::String &value)
void SetStatus(OperationStatus &&value)
Operation & WithType(const Aws::String &value)
Operation & WithResourceArn(const char *value)
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
Operation & WithId(const char *value)
Operation & WithResourceArn(Aws::String &&value)
bool LastUpdatedTimeHasBeenSet() const
Operation & AddProperties(const char *key, const char *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