AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCertificateProviderRequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/CertificateProviderOperation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoT
17{
18namespace Model
19{
20
24 {
25 public:
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 "UpdateCertificateProvider"; }
33
34 AWS_IOT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetCertificateProviderName() const{ return m_certificateProviderName; }
42 inline bool CertificateProviderNameHasBeenSet() const { return m_certificateProviderNameHasBeenSet; }
43 inline void SetCertificateProviderName(const Aws::String& value) { m_certificateProviderNameHasBeenSet = true; m_certificateProviderName = value; }
44 inline void SetCertificateProviderName(Aws::String&& value) { m_certificateProviderNameHasBeenSet = true; m_certificateProviderName = std::move(value); }
45 inline void SetCertificateProviderName(const char* value) { m_certificateProviderNameHasBeenSet = true; m_certificateProviderName.assign(value); }
50
52
55 inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
56 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
57 inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
58 inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
59 inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
62 inline UpdateCertificateProviderRequest& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
64
66
70 inline const Aws::Vector<CertificateProviderOperation>& GetAccountDefaultForOperations() const{ return m_accountDefaultForOperations; }
71 inline bool AccountDefaultForOperationsHasBeenSet() const { return m_accountDefaultForOperationsHasBeenSet; }
72 inline void SetAccountDefaultForOperations(const Aws::Vector<CertificateProviderOperation>& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations = value; }
73 inline void SetAccountDefaultForOperations(Aws::Vector<CertificateProviderOperation>&& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations = std::move(value); }
76 inline UpdateCertificateProviderRequest& AddAccountDefaultForOperations(const CertificateProviderOperation& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations.push_back(value); return *this; }
77 inline UpdateCertificateProviderRequest& AddAccountDefaultForOperations(CertificateProviderOperation&& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations.push_back(std::move(value)); return *this; }
79 private:
80
81 Aws::String m_certificateProviderName;
82 bool m_certificateProviderNameHasBeenSet = false;
83
84 Aws::String m_lambdaFunctionArn;
85 bool m_lambdaFunctionArnHasBeenSet = false;
86
87 Aws::Vector<CertificateProviderOperation> m_accountDefaultForOperations;
88 bool m_accountDefaultForOperationsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoT
93} // namespace Aws
UpdateCertificateProviderRequest & WithCertificateProviderName(const char *value)
void SetAccountDefaultForOperations(Aws::Vector< CertificateProviderOperation > &&value)
UpdateCertificateProviderRequest & WithLambdaFunctionArn(const char *value)
UpdateCertificateProviderRequest & WithCertificateProviderName(const Aws::String &value)
UpdateCertificateProviderRequest & WithAccountDefaultForOperations(Aws::Vector< CertificateProviderOperation > &&value)
UpdateCertificateProviderRequest & WithCertificateProviderName(Aws::String &&value)
UpdateCertificateProviderRequest & AddAccountDefaultForOperations(CertificateProviderOperation &&value)
UpdateCertificateProviderRequest & WithLambdaFunctionArn(Aws::String &&value)
UpdateCertificateProviderRequest & WithAccountDefaultForOperations(const Aws::Vector< CertificateProviderOperation > &value)
UpdateCertificateProviderRequest & AddAccountDefaultForOperations(const CertificateProviderOperation &value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetAccountDefaultForOperations(const Aws::Vector< CertificateProviderOperation > &value)
UpdateCertificateProviderRequest & WithLambdaFunctionArn(const Aws::String &value)
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