AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetMemberAccountDetailsResult.h
1
6#pragma once
7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/security-ir/model/GetMembershipAccountDetailItem.h>
11#include <aws/security-ir/model/GetMembershipAccountDetailError.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SecurityIR
27{
28namespace Model
29{
31 {
32 public:
33 AWS_SECURITYIR_API BatchGetMemberAccountDetailsResult() = default;
36
37
39
43 inline const Aws::Vector<GetMembershipAccountDetailItem>& GetItems() const { return m_items; }
44 template<typename ItemsT = Aws::Vector<GetMembershipAccountDetailItem>>
45 void SetItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items = std::forward<ItemsT>(value); }
46 template<typename ItemsT = Aws::Vector<GetMembershipAccountDetailItem>>
47 BatchGetMemberAccountDetailsResult& WithItems(ItemsT&& value) { SetItems(std::forward<ItemsT>(value)); return *this;}
48 template<typename ItemsT = GetMembershipAccountDetailItem>
49 BatchGetMemberAccountDetailsResult& AddItems(ItemsT&& value) { m_itemsHasBeenSet = true; m_items.emplace_back(std::forward<ItemsT>(value)); return *this; }
51
53
57 inline const Aws::Vector<GetMembershipAccountDetailError>& GetErrors() const { return m_errors; }
58 template<typename ErrorsT = Aws::Vector<GetMembershipAccountDetailError>>
59 void SetErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors = std::forward<ErrorsT>(value); }
60 template<typename ErrorsT = Aws::Vector<GetMembershipAccountDetailError>>
61 BatchGetMemberAccountDetailsResult& WithErrors(ErrorsT&& value) { SetErrors(std::forward<ErrorsT>(value)); return *this;}
62 template<typename ErrorsT = GetMembershipAccountDetailError>
63 BatchGetMemberAccountDetailsResult& AddErrors(ErrorsT&& value) { m_errorsHasBeenSet = true; m_errors.emplace_back(std::forward<ErrorsT>(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template<typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
71 template<typename RequestIdT = Aws::String>
72 BatchGetMemberAccountDetailsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
74 private:
75
77 bool m_itemsHasBeenSet = false;
78
80 bool m_errorsHasBeenSet = false;
81
82 Aws::String m_requestId;
83 bool m_requestIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace SecurityIR
88} // namespace Aws
BatchGetMemberAccountDetailsResult & AddItems(ItemsT &&value)
BatchGetMemberAccountDetailsResult & WithItems(ItemsT &&value)
AWS_SECURITYIR_API BatchGetMemberAccountDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< GetMembershipAccountDetailItem > & GetItems() const
AWS_SECURITYIR_API BatchGetMemberAccountDetailsResult()=default
BatchGetMemberAccountDetailsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< GetMembershipAccountDetailError > & GetErrors() const
BatchGetMemberAccountDetailsResult & AddErrors(ErrorsT &&value)
BatchGetMemberAccountDetailsResult & WithErrors(ErrorsT &&value)
AWS_SECURITYIR_API BatchGetMemberAccountDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue