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>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename TypeT = Aws::String>
63 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
64 template<
typename TypeT = Aws::String>
84 template<
typename StatusMessageT = Aws::String>
85 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
86 template<
typename StatusMessageT = Aws::String>
96 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
97 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
98 template<
typename PropertiesT = Aws::Map<Aws::String, Aws::String>>
100 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = Aws::String>
102 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
112 template<
typename ResourceTypeT = Aws::String>
113 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
114 template<
typename ResourceTypeT = Aws::String>
124 template<
typename ResourceIdT = Aws::String>
125 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
126 template<
typename ResourceIdT = Aws::String>
136 template<
typename ResourceArnT = Aws::String>
137 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
138 template<
typename ResourceArnT = Aws::String>
148 template<
typename StartTimeT = Aws::Utils::DateTime>
149 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
150 template<
typename StartTimeT = Aws::Utils::DateTime>
160 template<
typename EndTimeT = Aws::Utils::DateTime>
161 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet =
true; m_endTime = std::forward<EndTimeT>(value); }
162 template<
typename EndTimeT = Aws::Utils::DateTime>
172 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
173 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
174 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
180 bool m_idHasBeenSet =
false;
183 bool m_typeHasBeenSet =
false;
186 bool m_statusHasBeenSet =
false;
189 bool m_statusMessageHasBeenSet =
false;
192 bool m_propertiesHasBeenSet =
false;
195 bool m_resourceTypeHasBeenSet =
false;
198 bool m_resourceIdHasBeenSet =
false;
201 bool m_resourceArnHasBeenSet =
false;
204 bool m_startTimeHasBeenSet =
false;
207 bool m_endTimeHasBeenSet =
false;
210 bool m_lastUpdatedTimeHasBeenSet =
false;
const Aws::String & GetResourceArn() const
void SetResourceArn(ResourceArnT &&value)
bool ResourceIdHasBeenSet() const
bool PropertiesHasBeenSet() const
bool TypeHasBeenSet() const
bool ResourceTypeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetResourceType(ResourceTypeT &&value)
Operation & WithId(IdT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetStatusMessage() const
OperationStatus GetStatus() const
Operation & WithResourceType(ResourceTypeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Operation & WithType(TypeT &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetId() const
Operation & WithStartTime(StartTimeT &&value)
void SetType(TypeT &&value)
Operation & WithEndTime(EndTimeT &&value)
AWS_SSMSAP_API Operation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
bool StartTimeHasBeenSet() const
void SetProperties(PropertiesT &&value)
bool IdHasBeenSet() const
void SetStatusMessage(StatusMessageT &&value)
Operation & WithLastUpdatedTime(LastUpdatedTimeT &&value)
Operation & WithResourceId(ResourceIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
bool StatusHasBeenSet() const
Operation & WithProperties(PropertiesT &&value)
bool EndTimeHasBeenSet() const
Operation & WithStatusMessage(StatusMessageT &&value)
void SetStatus(OperationStatus value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
Operation & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
AWS_SSMSAP_API Operation(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceType() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const Aws::String & GetType() const
Operation & WithStatus(OperationStatus value)
void SetEndTime(EndTimeT &&value)
bool ResourceArnHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
AWS_SSMSAP_API Operation()=default
bool LastUpdatedTimeHasBeenSet() const
Operation & WithResourceArn(ResourceArnT &&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