AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ExportComplianceInquiryRequest.h
1
6#pragma once
7#include <aws/artifact/ArtifactRequest.h>
8#include <aws/artifact/Artifact_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Artifact {
16namespace Model {
17
21 public:
22 AWS_ARTIFACT_API ExportComplianceInquiryRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ExportComplianceInquiry"; }
29
30 AWS_ARTIFACT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetComplianceInquiryId() const { return m_complianceInquiryId; }
37 inline bool ComplianceInquiryIdHasBeenSet() const { return m_complianceInquiryIdHasBeenSet; }
38 template <typename ComplianceInquiryIdT = Aws::String>
39 void SetComplianceInquiryId(ComplianceInquiryIdT&& value) {
40 m_complianceInquiryIdHasBeenSet = true;
41 m_complianceInquiryId = std::forward<ComplianceInquiryIdT>(value);
42 }
43 template <typename ComplianceInquiryIdT = Aws::String>
45 SetComplianceInquiryId(std::forward<ComplianceInquiryIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Vector<int>& GetQueryIdentifiers() const { return m_queryIdentifiers; }
55 inline bool QueryIdentifiersHasBeenSet() const { return m_queryIdentifiersHasBeenSet; }
56 template <typename QueryIdentifiersT = Aws::Vector<int>>
57 void SetQueryIdentifiers(QueryIdentifiersT&& value) {
58 m_queryIdentifiersHasBeenSet = true;
59 m_queryIdentifiers = std::forward<QueryIdentifiersT>(value);
60 }
61 template <typename QueryIdentifiersT = Aws::Vector<int>>
63 SetQueryIdentifiers(std::forward<QueryIdentifiersT>(value));
64 return *this;
65 }
67 m_queryIdentifiersHasBeenSet = true;
68 m_queryIdentifiers.push_back(value);
69 return *this;
70 }
72
74
77 inline bool GetIncludeCitations() const { return m_includeCitations; }
78 inline bool IncludeCitationsHasBeenSet() const { return m_includeCitationsHasBeenSet; }
79 inline void SetIncludeCitations(bool value) {
80 m_includeCitationsHasBeenSet = true;
81 m_includeCitations = value;
82 }
85 return *this;
86 }
88 private:
89 Aws::String m_complianceInquiryId;
90
91 Aws::Vector<int> m_queryIdentifiers;
92
93 bool m_includeCitations{false};
94 bool m_complianceInquiryIdHasBeenSet = false;
95 bool m_queryIdentifiersHasBeenSet = false;
96 bool m_includeCitationsHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Artifact
101} // namespace Aws
ExportComplianceInquiryRequest & AddQueryIdentifiers(int value)
AWS_ARTIFACT_API Aws::String SerializePayload() const override
AWS_ARTIFACT_API ExportComplianceInquiryRequest()=default
ExportComplianceInquiryRequest & WithComplianceInquiryId(ComplianceInquiryIdT &&value)
ExportComplianceInquiryRequest & WithQueryIdentifiers(QueryIdentifiersT &&value)
ExportComplianceInquiryRequest & WithIncludeCitations(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector