AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
ModifyTrustStoreResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
11#include <aws/elasticloadbalancingv2/model/TrustStore.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticLoadBalancingv2 {
25namespace Model {
27 public:
28 AWS_ELASTICLOADBALANCINGV2_API ModifyTrustStoreResult() = default;
31
33
36 inline const Aws::Vector<TrustStore>& GetTrustStores() const { return m_trustStores; }
37 template <typename TrustStoresT = Aws::Vector<TrustStore>>
38 void SetTrustStores(TrustStoresT&& value) {
39 m_trustStoresHasBeenSet = true;
40 m_trustStores = std::forward<TrustStoresT>(value);
41 }
42 template <typename TrustStoresT = Aws::Vector<TrustStore>>
43 ModifyTrustStoreResult& WithTrustStores(TrustStoresT&& value) {
44 SetTrustStores(std::forward<TrustStoresT>(value));
45 return *this;
46 }
47 template <typename TrustStoresT = TrustStore>
48 ModifyTrustStoreResult& AddTrustStores(TrustStoresT&& value) {
49 m_trustStoresHasBeenSet = true;
50 m_trustStores.emplace_back(std::forward<TrustStoresT>(value));
51 return *this;
52 }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
58 template <typename ResponseMetadataT = ResponseMetadata>
59 void SetResponseMetadata(ResponseMetadataT&& value) {
60 m_responseMetadataHasBeenSet = true;
61 m_responseMetadata = std::forward<ResponseMetadataT>(value);
62 }
63 template <typename ResponseMetadataT = ResponseMetadata>
64 ModifyTrustStoreResult& WithResponseMetadata(ResponseMetadataT&& value) {
65 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 Aws::Vector<TrustStore> m_trustStores;
73
74 ResponseMetadata m_responseMetadata;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_trustStoresHasBeenSet = false;
77 bool m_responseMetadataHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ElasticLoadBalancingv2
82} // namespace Aws
ModifyTrustStoreResult & AddTrustStores(TrustStoresT &&value)
AWS_ELASTICLOADBALANCINGV2_API ModifyTrustStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API ModifyTrustStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICLOADBALANCINGV2_API ModifyTrustStoreResult()=default
ModifyTrustStoreResult & WithTrustStores(TrustStoresT &&value)
ModifyTrustStoreResult & WithResponseMetadata(ResponseMetadataT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument