AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCertificateProviderRequest.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 <aws/iot/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoT
19{
20namespace Model
21{
22
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateCertificateProvider"; }
35
36 AWS_IOT_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetCertificateProviderName() const{ return m_certificateProviderName; }
44 inline bool CertificateProviderNameHasBeenSet() const { return m_certificateProviderNameHasBeenSet; }
45 inline void SetCertificateProviderName(const Aws::String& value) { m_certificateProviderNameHasBeenSet = true; m_certificateProviderName = value; }
46 inline void SetCertificateProviderName(Aws::String&& value) { m_certificateProviderNameHasBeenSet = true; m_certificateProviderName = std::move(value); }
47 inline void SetCertificateProviderName(const char* value) { m_certificateProviderNameHasBeenSet = true; m_certificateProviderName.assign(value); }
52
54
57 inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; }
58 inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; }
59 inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; }
60 inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); }
61 inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); }
64 inline CreateCertificateProviderRequest& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;}
66
68
72 inline const Aws::Vector<CertificateProviderOperation>& GetAccountDefaultForOperations() const{ return m_accountDefaultForOperations; }
73 inline bool AccountDefaultForOperationsHasBeenSet() const { return m_accountDefaultForOperationsHasBeenSet; }
74 inline void SetAccountDefaultForOperations(const Aws::Vector<CertificateProviderOperation>& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations = value; }
75 inline void SetAccountDefaultForOperations(Aws::Vector<CertificateProviderOperation>&& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations = std::move(value); }
78 inline CreateCertificateProviderRequest& AddAccountDefaultForOperations(const CertificateProviderOperation& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations.push_back(value); return *this; }
79 inline CreateCertificateProviderRequest& AddAccountDefaultForOperations(CertificateProviderOperation&& value) { m_accountDefaultForOperationsHasBeenSet = true; m_accountDefaultForOperations.push_back(std::move(value)); return *this; }
81
83
88 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
91 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
92 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
93 inline CreateCertificateProviderRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
94 inline CreateCertificateProviderRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
95 inline CreateCertificateProviderRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97
99
102 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline CreateCertificateProviderRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
107 inline CreateCertificateProviderRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
108 inline CreateCertificateProviderRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
109 inline CreateCertificateProviderRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_certificateProviderName;
114 bool m_certificateProviderNameHasBeenSet = false;
115
116 Aws::String m_lambdaFunctionArn;
117 bool m_lambdaFunctionArnHasBeenSet = false;
118
119 Aws::Vector<CertificateProviderOperation> m_accountDefaultForOperations;
120 bool m_accountDefaultForOperationsHasBeenSet = false;
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 Aws::Vector<Tag> m_tags;
126 bool m_tagsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace IoT
131} // namespace Aws
CreateCertificateProviderRequest & WithAccountDefaultForOperations(Aws::Vector< CertificateProviderOperation > &&value)
CreateCertificateProviderRequest & WithTags(Aws::Vector< Tag > &&value)
CreateCertificateProviderRequest & WithClientToken(Aws::String &&value)
CreateCertificateProviderRequest & WithLambdaFunctionArn(Aws::String &&value)
CreateCertificateProviderRequest & WithCertificateProviderName(Aws::String &&value)
const Aws::Vector< CertificateProviderOperation > & GetAccountDefaultForOperations() const
CreateCertificateProviderRequest & AddAccountDefaultForOperations(const CertificateProviderOperation &value)
CreateCertificateProviderRequest & WithTags(const Aws::Vector< Tag > &value)
CreateCertificateProviderRequest & WithAccountDefaultForOperations(const Aws::Vector< CertificateProviderOperation > &value)
CreateCertificateProviderRequest & WithLambdaFunctionArn(const char *value)
void SetAccountDefaultForOperations(const Aws::Vector< CertificateProviderOperation > &value)
CreateCertificateProviderRequest & AddTags(const Tag &value)
CreateCertificateProviderRequest & WithCertificateProviderName(const char *value)
CreateCertificateProviderRequest & AddAccountDefaultForOperations(CertificateProviderOperation &&value)
void SetAccountDefaultForOperations(Aws::Vector< CertificateProviderOperation > &&value)
AWS_IOT_API Aws::String SerializePayload() const override
CreateCertificateProviderRequest & WithClientToken(const Aws::String &value)
CreateCertificateProviderRequest & AddTags(Tag &&value)
CreateCertificateProviderRequest & WithClientToken(const char *value)
CreateCertificateProviderRequest & WithCertificateProviderName(const Aws::String &value)
CreateCertificateProviderRequest & WithLambdaFunctionArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector