AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ImportSecurityRequirementsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgentRequest.h>
9#include <aws/securityagent/SecurityAgent_EXPORTS.h>
10#include <aws/securityagent/model/ImportSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityAgent {
16namespace Model {
17
21 public:
22 AWS_SECURITYAGENT_API ImportSecurityRequirementsRequest() = 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 "ImportSecurityRequirements"; }
29
30 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetPackId() const { return m_packId; }
38 inline bool PackIdHasBeenSet() const { return m_packIdHasBeenSet; }
39 template <typename PackIdT = Aws::String>
40 void SetPackId(PackIdT&& value) {
41 m_packIdHasBeenSet = true;
42 m_packId = std::forward<PackIdT>(value);
43 }
44 template <typename PackIdT = Aws::String>
46 SetPackId(std::forward<PackIdT>(value));
47 return *this;
48 }
50
52
56 inline const ImportSource& GetInput() const { return m_input; }
57 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
58 template <typename InputT = ImportSource>
59 void SetInput(InputT&& value) {
60 m_inputHasBeenSet = true;
61 m_input = std::forward<InputT>(value);
62 }
63 template <typename InputT = ImportSource>
65 SetInput(std::forward<InputT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_packId;
71
72 ImportSource m_input;
73 bool m_packIdHasBeenSet = false;
74 bool m_inputHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace SecurityAgent
79} // namespace Aws
ImportSecurityRequirementsRequest & WithPackId(PackIdT &&value)
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
AWS_SECURITYAGENT_API ImportSecurityRequirementsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String