AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
UpdateRelatedItemsRequest.h
1
6#pragma once
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/ssm-incidents/model/RelatedItemsUpdate.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace SSMIncidents
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SSMINCIDENTS_API UpdateRelatedItemsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRelatedItems"; }
33
34 AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetClientToken() const { return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 template<typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
46 template<typename ClientTokenT = Aws::String>
47 UpdateRelatedItemsRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
49
51
55 inline const Aws::String& GetIncidentRecordArn() const { return m_incidentRecordArn; }
56 inline bool IncidentRecordArnHasBeenSet() const { return m_incidentRecordArnHasBeenSet; }
57 template<typename IncidentRecordArnT = Aws::String>
58 void SetIncidentRecordArn(IncidentRecordArnT&& value) { m_incidentRecordArnHasBeenSet = true; m_incidentRecordArn = std::forward<IncidentRecordArnT>(value); }
59 template<typename IncidentRecordArnT = Aws::String>
60 UpdateRelatedItemsRequest& WithIncidentRecordArn(IncidentRecordArnT&& value) { SetIncidentRecordArn(std::forward<IncidentRecordArnT>(value)); return *this;}
62
64
67 inline const RelatedItemsUpdate& GetRelatedItemsUpdate() const { return m_relatedItemsUpdate; }
68 inline bool RelatedItemsUpdateHasBeenSet() const { return m_relatedItemsUpdateHasBeenSet; }
69 template<typename RelatedItemsUpdateT = RelatedItemsUpdate>
70 void SetRelatedItemsUpdate(RelatedItemsUpdateT&& value) { m_relatedItemsUpdateHasBeenSet = true; m_relatedItemsUpdate = std::forward<RelatedItemsUpdateT>(value); }
71 template<typename RelatedItemsUpdateT = RelatedItemsUpdate>
72 UpdateRelatedItemsRequest& WithRelatedItemsUpdate(RelatedItemsUpdateT&& value) { SetRelatedItemsUpdate(std::forward<RelatedItemsUpdateT>(value)); return *this;}
74 private:
75
77 bool m_clientTokenHasBeenSet = true;
78
79 Aws::String m_incidentRecordArn;
80 bool m_incidentRecordArnHasBeenSet = false;
81
82 RelatedItemsUpdate m_relatedItemsUpdate;
83 bool m_relatedItemsUpdateHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SSMIncidents
88} // namespace Aws
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String