AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateTrustStoreRequest.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/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticLoadBalancingv2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreRequest() = 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 "CreateTrustStore"; }
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
46 inline const Aws::String& GetName() const { return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 CreateTrustStoreRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCaCertificatesBundleS3Bucket() const { return m_caCertificatesBundleS3Bucket; }
59 inline bool CaCertificatesBundleS3BucketHasBeenSet() const { return m_caCertificatesBundleS3BucketHasBeenSet; }
60 template<typename CaCertificatesBundleS3BucketT = Aws::String>
61 void SetCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT&& value) { m_caCertificatesBundleS3BucketHasBeenSet = true; m_caCertificatesBundleS3Bucket = std::forward<CaCertificatesBundleS3BucketT>(value); }
62 template<typename CaCertificatesBundleS3BucketT = Aws::String>
63 CreateTrustStoreRequest& WithCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT&& value) { SetCaCertificatesBundleS3Bucket(std::forward<CaCertificatesBundleS3BucketT>(value)); return *this;}
65
67
70 inline const Aws::String& GetCaCertificatesBundleS3Key() const { return m_caCertificatesBundleS3Key; }
71 inline bool CaCertificatesBundleS3KeyHasBeenSet() const { return m_caCertificatesBundleS3KeyHasBeenSet; }
72 template<typename CaCertificatesBundleS3KeyT = Aws::String>
73 void SetCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT&& value) { m_caCertificatesBundleS3KeyHasBeenSet = true; m_caCertificatesBundleS3Key = std::forward<CaCertificatesBundleS3KeyT>(value); }
74 template<typename CaCertificatesBundleS3KeyT = Aws::String>
75 CreateTrustStoreRequest& WithCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT&& value) { SetCaCertificatesBundleS3Key(std::forward<CaCertificatesBundleS3KeyT>(value)); return *this;}
77
79
83 inline const Aws::String& GetCaCertificatesBundleS3ObjectVersion() const { return m_caCertificatesBundleS3ObjectVersion; }
84 inline bool CaCertificatesBundleS3ObjectVersionHasBeenSet() const { return m_caCertificatesBundleS3ObjectVersionHasBeenSet; }
85 template<typename CaCertificatesBundleS3ObjectVersionT = Aws::String>
86 void SetCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT&& value) { m_caCertificatesBundleS3ObjectVersionHasBeenSet = true; m_caCertificatesBundleS3ObjectVersion = std::forward<CaCertificatesBundleS3ObjectVersionT>(value); }
87 template<typename CaCertificatesBundleS3ObjectVersionT = Aws::String>
88 CreateTrustStoreRequest& WithCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT&& value) { SetCaCertificatesBundleS3ObjectVersion(std::forward<CaCertificatesBundleS3ObjectVersionT>(value)); return *this;}
90
92
95 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
96 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
97 template<typename TagsT = Aws::Vector<Tag>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
99 template<typename TagsT = Aws::Vector<Tag>>
100 CreateTrustStoreRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
101 template<typename TagsT = Tag>
102 CreateTrustStoreRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
104 private:
105
106 Aws::String m_name;
107 bool m_nameHasBeenSet = false;
108
109 Aws::String m_caCertificatesBundleS3Bucket;
110 bool m_caCertificatesBundleS3BucketHasBeenSet = false;
111
112 Aws::String m_caCertificatesBundleS3Key;
113 bool m_caCertificatesBundleS3KeyHasBeenSet = false;
114
115 Aws::String m_caCertificatesBundleS3ObjectVersion;
116 bool m_caCertificatesBundleS3ObjectVersionHasBeenSet = false;
117
118 Aws::Vector<Tag> m_tags;
119 bool m_tagsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace ElasticLoadBalancingv2
124} // namespace Aws
CreateTrustStoreRequest & WithCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT &&value)
void SetCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT &&value)
CreateTrustStoreRequest & WithCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT &&value)
void SetCaCertificatesBundleS3Key(CaCertificatesBundleS3KeyT &&value)
AWS_ELASTICLOADBALANCINGV2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICLOADBALANCINGV2_API Aws::String SerializePayload() const override
CreateTrustStoreRequest & WithCaCertificatesBundleS3Bucket(CaCertificatesBundleS3BucketT &&value)
void SetCaCertificatesBundleS3ObjectVersion(CaCertificatesBundleS3ObjectVersionT &&value)
AWS_ELASTICLOADBALANCINGV2_API CreateTrustStoreRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector