AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
CreateComplianceInquiryRequest.h
1
6#pragma once
7#include <aws/artifact/ArtifactRequest.h>
8#include <aws/artifact/Artifact_EXPORTS.h>
9#include <aws/artifact/model/InquiryContent.h>
10#include <aws/artifact/model/InquirySupportMode.h>
11#include <aws/core/utils/UUID.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Artifact {
19namespace Model {
20
24 public:
25 AWS_ARTIFACT_API CreateComplianceInquiryRequest() = 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 "CreateComplianceInquiry"; }
32
33 AWS_ARTIFACT_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
58 inline const InquiryContent& GetInquiryContent() const { return m_inquiryContent; }
59 inline bool InquiryContentHasBeenSet() const { return m_inquiryContentHasBeenSet; }
60 template <typename InquiryContentT = InquiryContent>
61 void SetInquiryContent(InquiryContentT&& value) {
62 m_inquiryContentHasBeenSet = true;
63 m_inquiryContent = std::forward<InquiryContentT>(value);
64 }
65 template <typename InquiryContentT = InquiryContent>
67 SetInquiryContent(std::forward<InquiryContentT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetClientToken() const { return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 template <typename ClientTokenT = Aws::String>
79 void SetClientToken(ClientTokenT&& value) {
80 m_clientTokenHasBeenSet = true;
81 m_clientToken = std::forward<ClientTokenT>(value);
82 }
83 template <typename ClientTokenT = Aws::String>
85 SetClientToken(std::forward<ClientTokenT>(value));
86 return *this;
87 }
89
91
95 inline InquirySupportMode GetSupportMode() const { return m_supportMode; }
96 inline bool SupportModeHasBeenSet() const { return m_supportModeHasBeenSet; }
98 m_supportModeHasBeenSet = true;
99 m_supportMode = value;
100 }
102 SetSupportMode(value);
103 return *this;
104 }
106
108
111 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
112 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
113 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 void SetTags(TagsT&& value) {
115 m_tagsHasBeenSet = true;
116 m_tags = std::forward<TagsT>(value);
117 }
118 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
120 SetTags(std::forward<TagsT>(value));
121 return *this;
122 }
123 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
124 CreateComplianceInquiryRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
125 m_tagsHasBeenSet = true;
126 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_name;
132
133 InquiryContent m_inquiryContent;
134
136
138
140 bool m_nameHasBeenSet = false;
141 bool m_inquiryContentHasBeenSet = false;
142 bool m_clientTokenHasBeenSet = true;
143 bool m_supportModeHasBeenSet = false;
144 bool m_tagsHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace Artifact
149} // namespace Aws
AWS_ARTIFACT_API CreateComplianceInquiryRequest()=default
CreateComplianceInquiryRequest & WithInquiryContent(InquiryContentT &&value)
CreateComplianceInquiryRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateComplianceInquiryRequest & WithTags(TagsT &&value)
CreateComplianceInquiryRequest & WithClientToken(ClientTokenT &&value)
CreateComplianceInquiryRequest & WithSupportMode(InquirySupportMode value)
CreateComplianceInquiryRequest & WithName(NameT &&value)
AWS_ARTIFACT_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String