AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
BatchGetTargetDomainsRequest.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
24 public:
25 AWS_SECURITYAGENT_API BatchGetTargetDomainsRequest() = 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 "BatchGetTargetDomains"; }
32
33 AWS_SECURITYAGENT_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::Vector<Aws::String>& GetTargetDomainIds() const { return m_targetDomainIds; }
40 inline bool TargetDomainIdsHasBeenSet() const { return m_targetDomainIdsHasBeenSet; }
41 template <typename TargetDomainIdsT = Aws::Vector<Aws::String>>
42 void SetTargetDomainIds(TargetDomainIdsT&& value) {
43 m_targetDomainIdsHasBeenSet = true;
44 m_targetDomainIds = std::forward<TargetDomainIdsT>(value);
45 }
46 template <typename TargetDomainIdsT = Aws::Vector<Aws::String>>
48 SetTargetDomainIds(std::forward<TargetDomainIdsT>(value));
49 return *this;
50 }
51 template <typename TargetDomainIdsT = Aws::String>
53 m_targetDomainIdsHasBeenSet = true;
54 m_targetDomainIds.emplace_back(std::forward<TargetDomainIdsT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<Aws::String> m_targetDomainIds;
60 bool m_targetDomainIdsHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace SecurityAgent
65} // namespace Aws
BatchGetTargetDomainsRequest & WithTargetDomainIds(TargetDomainIdsT &&value)
AWS_SECURITYAGENT_API BatchGetTargetDomainsRequest()=default
BatchGetTargetDomainsRequest & AddTargetDomainIds(TargetDomainIdsT &&value)
const Aws::Vector< Aws::String > & GetTargetDomainIds() const
AWS_SECURITYAGENT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector