7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ssm-incidents/model/TriggerDetails.h>
12#include <aws/ssm-incidents/model/RelatedItem.h>
14#include <aws/core/utils/UUID.h>
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
65 inline void SetImpact(
int value) { m_impactHasBeenSet =
true; m_impact = value; }
95 inline void SetResponsePlanArn(
const char* value) { m_responsePlanArnHasBeenSet =
true; m_responsePlanArn.assign(value); }
110 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
130 bool m_clientTokenHasBeenSet =
false;
133 bool m_impactHasBeenSet =
false;
136 bool m_relatedItemsHasBeenSet =
false;
139 bool m_responsePlanArnHasBeenSet =
false;
142 bool m_titleHasBeenSet =
false;
145 bool m_triggerDetailsHasBeenSet =
false;
void SetTitle(const Aws::String &value)
StartIncidentRequest & WithImpact(int value)
void SetTriggerDetails(const TriggerDetails &value)
bool RelatedItemsHasBeenSet() const
StartIncidentRequest & WithResponsePlanArn(const char *value)
const Aws::String & GetClientToken() const
StartIncidentRequest & WithClientToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
void SetRelatedItems(Aws::Vector< RelatedItem > &&value)
void SetClientToken(const Aws::String &value)
void SetTitle(const char *value)
StartIncidentRequest & WithRelatedItems(Aws::Vector< RelatedItem > &&value)
StartIncidentRequest & WithTriggerDetails(TriggerDetails &&value)
StartIncidentRequest & WithClientToken(Aws::String &&value)
StartIncidentRequest & AddRelatedItems(const RelatedItem &value)
bool TitleHasBeenSet() const
bool ResponsePlanArnHasBeenSet() const
const Aws::String & GetResponsePlanArn() const
void SetRelatedItems(const Aws::Vector< RelatedItem > &value)
void SetTitle(Aws::String &&value)
void SetImpact(int value)
StartIncidentRequest & WithResponsePlanArn(const Aws::String &value)
void SetResponsePlanArn(const char *value)
void SetResponsePlanArn(Aws::String &&value)
const TriggerDetails & GetTriggerDetails() const
StartIncidentRequest & WithTitle(Aws::String &&value)
void SetResponsePlanArn(const Aws::String &value)
void SetClientToken(const char *value)
AWS_SSMINCIDENTS_API StartIncidentRequest()
const Aws::Vector< RelatedItem > & GetRelatedItems() const
virtual const char * GetServiceRequestName() const override
StartIncidentRequest & WithTitle(const char *value)
const Aws::String & GetTitle() const
bool ClientTokenHasBeenSet() const
StartIncidentRequest & WithTitle(const Aws::String &value)
void SetTriggerDetails(TriggerDetails &&value)
bool TriggerDetailsHasBeenSet() const
StartIncidentRequest & WithClientToken(const char *value)
StartIncidentRequest & AddRelatedItems(RelatedItem &&value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
StartIncidentRequest & WithResponsePlanArn(Aws::String &&value)
StartIncidentRequest & WithRelatedItems(const Aws::Vector< RelatedItem > &value)
bool ImpactHasBeenSet() const
StartIncidentRequest & WithTriggerDetails(const TriggerDetails &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector