AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchDeletePhoneNumberResult.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/chime/model/PhoneNumberError.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Chime
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CHIME_API BatchDeletePhoneNumberResult() = default;
35
36
38
43 inline const Aws::Vector<PhoneNumberError>& GetPhoneNumberErrors() const { return m_phoneNumberErrors; }
44 template<typename PhoneNumberErrorsT = Aws::Vector<PhoneNumberError>>
45 void SetPhoneNumberErrors(PhoneNumberErrorsT&& value) { m_phoneNumberErrorsHasBeenSet = true; m_phoneNumberErrors = std::forward<PhoneNumberErrorsT>(value); }
46 template<typename PhoneNumberErrorsT = Aws::Vector<PhoneNumberError>>
47 BatchDeletePhoneNumberResult& WithPhoneNumberErrors(PhoneNumberErrorsT&& value) { SetPhoneNumberErrors(std::forward<PhoneNumberErrorsT>(value)); return *this;}
48 template<typename PhoneNumberErrorsT = PhoneNumberError>
49 BatchDeletePhoneNumberResult& AddPhoneNumberErrors(PhoneNumberErrorsT&& value) { m_phoneNumberErrorsHasBeenSet = true; m_phoneNumberErrors.emplace_back(std::forward<PhoneNumberErrorsT>(value)); return *this; }
51
53
54 inline const Aws::String& GetRequestId() const { return m_requestId; }
55 template<typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
57 template<typename RequestIdT = Aws::String>
58 BatchDeletePhoneNumberResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
60 private:
61
62 Aws::Vector<PhoneNumberError> m_phoneNumberErrors;
63 bool m_phoneNumberErrorsHasBeenSet = false;
64
65 Aws::String m_requestId;
66 bool m_requestIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Chime
71} // namespace Aws
AWS_CHIME_API BatchDeletePhoneNumberResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeletePhoneNumberResult & AddPhoneNumberErrors(PhoneNumberErrorsT &&value)
BatchDeletePhoneNumberResult & WithPhoneNumberErrors(PhoneNumberErrorsT &&value)
BatchDeletePhoneNumberResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< PhoneNumberError > & GetPhoneNumberErrors() const
AWS_CHIME_API BatchDeletePhoneNumberResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CHIME_API BatchDeletePhoneNumberResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue