AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
BatchGetTargetDomainsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityagent/SecurityAgent_EXPORTS.h>
11#include <aws/securityagent/model/TargetDomain.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityAgent {
25namespace Model {
32 public:
33 AWS_SECURITYAGENT_API BatchGetTargetDomainsResult() = default;
36
38
41 inline const Aws::Vector<TargetDomain>& GetTargetDomains() const { return m_targetDomains; }
42 template <typename TargetDomainsT = Aws::Vector<TargetDomain>>
43 void SetTargetDomains(TargetDomainsT&& value) {
44 m_targetDomainsHasBeenSet = true;
45 m_targetDomains = std::forward<TargetDomainsT>(value);
46 }
47 template <typename TargetDomainsT = Aws::Vector<TargetDomain>>
49 SetTargetDomains(std::forward<TargetDomainsT>(value));
50 return *this;
51 }
52 template <typename TargetDomainsT = TargetDomain>
54 m_targetDomainsHasBeenSet = true;
55 m_targetDomains.emplace_back(std::forward<TargetDomainsT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetNotFound() const { return m_notFound; }
65 template <typename NotFoundT = Aws::Vector<Aws::String>>
66 void SetNotFound(NotFoundT&& value) {
67 m_notFoundHasBeenSet = true;
68 m_notFound = std::forward<NotFoundT>(value);
69 }
70 template <typename NotFoundT = Aws::Vector<Aws::String>>
72 SetNotFound(std::forward<NotFoundT>(value));
73 return *this;
74 }
75 template <typename NotFoundT = Aws::String>
77 m_notFoundHasBeenSet = true;
78 m_notFound.emplace_back(std::forward<NotFoundT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::Vector<TargetDomain> m_targetDomains;
101
102 Aws::Vector<Aws::String> m_notFound;
103
104 Aws::String m_requestId;
105 Aws::Http::HttpResponseCode m_HttpResponseCode;
106 bool m_targetDomainsHasBeenSet = false;
107 bool m_notFoundHasBeenSet = false;
108 bool m_requestIdHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace SecurityAgent
113} // namespace Aws
BatchGetTargetDomainsResult & WithRequestId(RequestIdT &&value)
BatchGetTargetDomainsResult & WithNotFound(NotFoundT &&value)
AWS_SECURITYAGENT_API BatchGetTargetDomainsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYAGENT_API BatchGetTargetDomainsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYAGENT_API BatchGetTargetDomainsResult()=default
const Aws::Vector< TargetDomain > & GetTargetDomains() const
BatchGetTargetDomainsResult & WithTargetDomains(TargetDomainsT &&value)
BatchGetTargetDomainsResult & AddTargetDomains(TargetDomainsT &&value)
BatchGetTargetDomainsResult & AddNotFound(NotFoundT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue