AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AddTrustStoreRevocationsRequest.h
1
6#pragma once
7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticloadbalancingv2/model/RevocationContent.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticLoadBalancingv2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ELASTICLOADBALANCINGV2_API AddTrustStoreRevocationsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "AddTrustStoreRevocations"; }
33
34 AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetTrustStoreArn() const { return m_trustStoreArn; }
46 inline bool TrustStoreArnHasBeenSet() const { return m_trustStoreArnHasBeenSet; }
47 template<typename TrustStoreArnT = Aws::String>
48 void SetTrustStoreArn(TrustStoreArnT&& value) { m_trustStoreArnHasBeenSet = true; m_trustStoreArn = std::forward<TrustStoreArnT>(value); }
49 template<typename TrustStoreArnT = Aws::String>
50 AddTrustStoreRevocationsRequest& WithTrustStoreArn(TrustStoreArnT&& value) { SetTrustStoreArn(std::forward<TrustStoreArnT>(value)); return *this;}
52
54
57 inline const Aws::Vector<RevocationContent>& GetRevocationContents() const { return m_revocationContents; }
58 inline bool RevocationContentsHasBeenSet() const { return m_revocationContentsHasBeenSet; }
59 template<typename RevocationContentsT = Aws::Vector<RevocationContent>>
60 void SetRevocationContents(RevocationContentsT&& value) { m_revocationContentsHasBeenSet = true; m_revocationContents = std::forward<RevocationContentsT>(value); }
61 template<typename RevocationContentsT = Aws::Vector<RevocationContent>>
62 AddTrustStoreRevocationsRequest& WithRevocationContents(RevocationContentsT&& value) { SetRevocationContents(std::forward<RevocationContentsT>(value)); return *this;}
63 template<typename RevocationContentsT = RevocationContent>
64 AddTrustStoreRevocationsRequest& AddRevocationContents(RevocationContentsT&& value) { m_revocationContentsHasBeenSet = true; m_revocationContents.emplace_back(std::forward<RevocationContentsT>(value)); return *this; }
66 private:
67
68 Aws::String m_trustStoreArn;
69 bool m_trustStoreArnHasBeenSet = false;
70
71 Aws::Vector<RevocationContent> m_revocationContents;
72 bool m_revocationContentsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ElasticLoadBalancingv2
77} // namespace Aws
AWS_ELASTICLOADBALANCINGV2_API AddTrustStoreRevocationsRequest()=default
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AddTrustStoreRevocationsRequest & WithTrustStoreArn(TrustStoreArnT &&value)
AddTrustStoreRevocationsRequest & AddRevocationContents(RevocationContentsT &&value)
AddTrustStoreRevocationsRequest & WithRevocationContents(RevocationContentsT &&value)
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector