AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
BatchGetIncidentFindingsRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SSMIncidents
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SSMINCIDENTS_API BatchGetIncidentFindingsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchGetIncidentFindings"; }
32
33 AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Vector<Aws::String>& GetFindingIds() const { return m_findingIds; }
41 inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
42 template<typename FindingIdsT = Aws::Vector<Aws::String>>
43 void SetFindingIds(FindingIdsT&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::forward<FindingIdsT>(value); }
44 template<typename FindingIdsT = Aws::Vector<Aws::String>>
45 BatchGetIncidentFindingsRequest& WithFindingIds(FindingIdsT&& value) { SetFindingIds(std::forward<FindingIdsT>(value)); return *this;}
46 template<typename FindingIdsT = Aws::String>
47 BatchGetIncidentFindingsRequest& AddFindingIds(FindingIdsT&& value) { m_findingIdsHasBeenSet = true; m_findingIds.emplace_back(std::forward<FindingIdsT>(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 BatchGetIncidentFindingsRequest& WithIncidentRecordArn(IncidentRecordArnT&& value) { SetIncidentRecordArn(std::forward<IncidentRecordArnT>(value)); return *this;}
62 private:
63
64 Aws::Vector<Aws::String> m_findingIds;
65 bool m_findingIdsHasBeenSet = false;
66
67 Aws::String m_incidentRecordArn;
68 bool m_incidentRecordArnHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace SSMIncidents
73} // namespace Aws
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
BatchGetIncidentFindingsRequest & WithIncidentRecordArn(IncidentRecordArnT &&value)
BatchGetIncidentFindingsRequest & WithFindingIds(FindingIdsT &&value)
BatchGetIncidentFindingsRequest & AddFindingIds(FindingIdsT &&value)
AWS_SSMINCIDENTS_API BatchGetIncidentFindingsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector