AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
BatchGetArtifactMetadataRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityagent/SecurityAgentRequest.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityAgent {
16namespace Model {
17
21 public:
22 AWS_SECURITYAGENT_API BatchGetArtifactMetadataRequest() = 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 "BatchGetArtifactMetadata"; }
29
30 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAgentSpaceId() const { return m_agentSpaceId; }
37 inline bool AgentSpaceIdHasBeenSet() const { return m_agentSpaceIdHasBeenSet; }
38 template <typename AgentSpaceIdT = Aws::String>
39 void SetAgentSpaceId(AgentSpaceIdT&& value) {
40 m_agentSpaceIdHasBeenSet = true;
41 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
42 }
43 template <typename AgentSpaceIdT = Aws::String>
45 SetAgentSpaceId(std::forward<AgentSpaceIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Vector<Aws::String>& GetArtifactIds() const { return m_artifactIds; }
55 inline bool ArtifactIdsHasBeenSet() const { return m_artifactIdsHasBeenSet; }
56 template <typename ArtifactIdsT = Aws::Vector<Aws::String>>
57 void SetArtifactIds(ArtifactIdsT&& value) {
58 m_artifactIdsHasBeenSet = true;
59 m_artifactIds = std::forward<ArtifactIdsT>(value);
60 }
61 template <typename ArtifactIdsT = Aws::Vector<Aws::String>>
63 SetArtifactIds(std::forward<ArtifactIdsT>(value));
64 return *this;
65 }
66 template <typename ArtifactIdsT = Aws::String>
68 m_artifactIdsHasBeenSet = true;
69 m_artifactIds.emplace_back(std::forward<ArtifactIdsT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_agentSpaceId;
75
76 Aws::Vector<Aws::String> m_artifactIds;
77 bool m_agentSpaceIdHasBeenSet = false;
78 bool m_artifactIdsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SecurityAgent
83} // namespace Aws
BatchGetArtifactMetadataRequest & AddArtifactIds(ArtifactIdsT &&value)
BatchGetArtifactMetadataRequest & WithArtifactIds(ArtifactIdsT &&value)
AWS_SECURITYAGENT_API BatchGetArtifactMetadataRequest()=default
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
BatchGetArtifactMetadataRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector