AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ModifyTrustStoreResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
9#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
10#include <aws/elasticloadbalancingv2/model/TrustStore.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticLoadBalancingv2 {
24namespace Model {
26 public:
27 AWS_ELASTICLOADBALANCINGV2_API ModifyTrustStoreResult() = default;
30
32
35 inline const Aws::Vector<TrustStore>& GetTrustStores() const { return m_trustStores; }
36 template <typename TrustStoresT = Aws::Vector<TrustStore>>
37 void SetTrustStores(TrustStoresT&& value) {
38 m_trustStoresHasBeenSet = true;
39 m_trustStores = std::forward<TrustStoresT>(value);
40 }
41 template <typename TrustStoresT = Aws::Vector<TrustStore>>
42 ModifyTrustStoreResult& WithTrustStores(TrustStoresT&& value) {
43 SetTrustStores(std::forward<TrustStoresT>(value));
44 return *this;
45 }
46 template <typename TrustStoresT = TrustStore>
47 ModifyTrustStoreResult& AddTrustStores(TrustStoresT&& value) {
48 m_trustStoresHasBeenSet = true;
49 m_trustStores.emplace_back(std::forward<TrustStoresT>(value));
50 return *this;
51 }
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template <typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) {
59 m_responseMetadataHasBeenSet = true;
60 m_responseMetadata = std::forward<ResponseMetadataT>(value);
61 }
62 template <typename ResponseMetadataT = ResponseMetadata>
63 ModifyTrustStoreResult& WithResponseMetadata(ResponseMetadataT&& value) {
64 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
65 return *this;
66 }
68 private:
69 Aws::Vector<TrustStore> m_trustStores;
70
71 ResponseMetadata m_responseMetadata;
72 bool m_trustStoresHasBeenSet = false;
73 bool m_responseMetadataHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ElasticLoadBalancingv2
78} // 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