AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; }
43 inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); }
45 inline BatchGetIncidentFindingsRequest& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
46 inline BatchGetIncidentFindingsRequest& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
47 inline BatchGetIncidentFindingsRequest& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; }
48 inline BatchGetIncidentFindingsRequest& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
50
52
56 inline const Aws::String& GetIncidentRecordArn() const{ return m_incidentRecordArn; }
57 inline bool IncidentRecordArnHasBeenSet() const { return m_incidentRecordArnHasBeenSet; }
58 inline void SetIncidentRecordArn(const Aws::String& value) { m_incidentRecordArnHasBeenSet = true; m_incidentRecordArn = value; }
59 inline void SetIncidentRecordArn(Aws::String&& value) { m_incidentRecordArnHasBeenSet = true; m_incidentRecordArn = std::move(value); }
60 inline void SetIncidentRecordArn(const char* value) { m_incidentRecordArnHasBeenSet = true; m_incidentRecordArn.assign(value); }
63 inline BatchGetIncidentFindingsRequest& WithIncidentRecordArn(const char* value) { SetIncidentRecordArn(value); return *this;}
65 private:
66
67 Aws::Vector<Aws::String> m_findingIds;
68 bool m_findingIdsHasBeenSet = false;
69
70 Aws::String m_incidentRecordArn;
71 bool m_incidentRecordArnHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SSMIncidents
76} // namespace Aws
BatchGetIncidentFindingsRequest & AddFindingIds(Aws::String &&value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
BatchGetIncidentFindingsRequest & WithIncidentRecordArn(Aws::String &&value)
BatchGetIncidentFindingsRequest & WithFindingIds(const Aws::Vector< Aws::String > &value)
BatchGetIncidentFindingsRequest & WithIncidentRecordArn(const char *value)
BatchGetIncidentFindingsRequest & WithIncidentRecordArn(const Aws::String &value)
BatchGetIncidentFindingsRequest & AddFindingIds(const char *value)
BatchGetIncidentFindingsRequest & WithFindingIds(Aws::Vector< Aws::String > &&value)
BatchGetIncidentFindingsRequest & AddFindingIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector