AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateCertificateProviderRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iot/IoTRequest.h>
10#include <aws/iot/IoT_EXPORTS.h>
11#include <aws/iot/model/CertificateProviderOperation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace IoT {
17namespace Model {
18
22 public:
23 AWS_IOT_API UpdateCertificateProviderRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateCertificateProvider"; }
30
31 AWS_IOT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetCertificateProviderName() const { return m_certificateProviderName; }
38 inline bool CertificateProviderNameHasBeenSet() const { return m_certificateProviderNameHasBeenSet; }
39 template <typename CertificateProviderNameT = Aws::String>
40 void SetCertificateProviderName(CertificateProviderNameT&& value) {
41 m_certificateProviderNameHasBeenSet = true;
42 m_certificateProviderName = std::forward<CertificateProviderNameT>(value);
43 }
44 template <typename CertificateProviderNameT = Aws::String>
46 SetCertificateProviderName(std::forward<CertificateProviderNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetLambdaFunctionArn() const { return m_lambdaFunctionArn; }
56 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
57 template <typename LambdaFunctionArnT = Aws::String>
58 void SetLambdaFunctionArn(LambdaFunctionArnT&& value) {
59 m_lambdaFunctionArnHasBeenSet = true;
60 m_lambdaFunctionArn = std::forward<LambdaFunctionArnT>(value);
61 }
62 template <typename LambdaFunctionArnT = Aws::String>
64 SetLambdaFunctionArn(std::forward<LambdaFunctionArnT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::Vector<CertificateProviderOperation>& GetAccountDefaultForOperations() const { return m_accountDefaultForOperations; }
75 inline bool AccountDefaultForOperationsHasBeenSet() const { return m_accountDefaultForOperationsHasBeenSet; }
76 template <typename AccountDefaultForOperationsT = Aws::Vector<CertificateProviderOperation>>
77 void SetAccountDefaultForOperations(AccountDefaultForOperationsT&& value) {
78 m_accountDefaultForOperationsHasBeenSet = true;
79 m_accountDefaultForOperations = std::forward<AccountDefaultForOperationsT>(value);
80 }
81 template <typename AccountDefaultForOperationsT = Aws::Vector<CertificateProviderOperation>>
83 SetAccountDefaultForOperations(std::forward<AccountDefaultForOperationsT>(value));
84 return *this;
85 }
87 m_accountDefaultForOperationsHasBeenSet = true;
88 m_accountDefaultForOperations.push_back(value);
89 return *this;
90 }
92 private:
93 Aws::String m_certificateProviderName;
94 bool m_certificateProviderNameHasBeenSet = false;
95
96 Aws::String m_lambdaFunctionArn;
97 bool m_lambdaFunctionArnHasBeenSet = false;
98
99 Aws::Vector<CertificateProviderOperation> m_accountDefaultForOperations;
100 bool m_accountDefaultForOperationsHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
UpdateCertificateProviderRequest & WithCertificateProviderName(CertificateProviderNameT &&value)
void SetCertificateProviderName(CertificateProviderNameT &&value)
UpdateCertificateProviderRequest & WithAccountDefaultForOperations(AccountDefaultForOperationsT &&value)
UpdateCertificateProviderRequest & WithLambdaFunctionArn(LambdaFunctionArnT &&value)
void SetAccountDefaultForOperations(AccountDefaultForOperationsT &&value)
UpdateCertificateProviderRequest & AddAccountDefaultForOperations(CertificateProviderOperation value)
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::Vector< CertificateProviderOperation > & GetAccountDefaultForOperations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector