AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateTrustStoreResult.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/model/ResponseMetadata.h>
10#include <aws/elasticloadbalancingv2/model/TrustStore.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticLoadBalancingv2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreResult() = default;
35
36
38
41 inline const Aws::Vector<TrustStore>& GetTrustStores() const { return m_trustStores; }
42 template<typename TrustStoresT = Aws::Vector<TrustStore>>
43 void SetTrustStores(TrustStoresT&& value) { m_trustStoresHasBeenSet = true; m_trustStores = std::forward<TrustStoresT>(value); }
44 template<typename TrustStoresT = Aws::Vector<TrustStore>>
45 CreateTrustStoreResult& WithTrustStores(TrustStoresT&& value) { SetTrustStores(std::forward<TrustStoresT>(value)); return *this;}
46 template<typename TrustStoresT = TrustStore>
47 CreateTrustStoreResult& AddTrustStores(TrustStoresT&& value) { m_trustStoresHasBeenSet = true; m_trustStores.emplace_back(std::forward<TrustStoresT>(value)); return *this; }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
53 template<typename ResponseMetadataT = ResponseMetadata>
54 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
55 template<typename ResponseMetadataT = ResponseMetadata>
56 CreateTrustStoreResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
58 private:
59
60 Aws::Vector<TrustStore> m_trustStores;
61 bool m_trustStoresHasBeenSet = false;
62
63 ResponseMetadata m_responseMetadata;
64 bool m_responseMetadataHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace ElasticLoadBalancingv2
69} // namespace Aws
CreateTrustStoreResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateTrustStoreResult & AddTrustStores(TrustStoresT &&value)
AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreResult()=default
CreateTrustStoreResult & WithTrustStores(TrustStoresT &&value)
AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument