AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCodeSigningConfigRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/AllowedPublishers.h>
11#include <aws/lambda/model/CodeSigningPolicies.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Lambda
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 "UpdateCodeSigningConfig"; }
33
34 AWS_LAMBDA_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
42 inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
43 inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
44 inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
45 inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
48 inline UpdateCodeSigningConfigRequest& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline UpdateCodeSigningConfigRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline UpdateCodeSigningConfigRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline UpdateCodeSigningConfigRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
70 inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
71 inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
72 inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
76
78
81 inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
82 inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
83 inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
84 inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
88 private:
89
90 Aws::String m_codeSigningConfigArn;
91 bool m_codeSigningConfigArnHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
96 AllowedPublishers m_allowedPublishers;
97 bool m_allowedPublishersHasBeenSet = false;
98
99 CodeSigningPolicies m_codeSigningPolicies;
100 bool m_codeSigningPoliciesHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Lambda
105} // namespace Aws
UpdateCodeSigningConfigRequest & WithDescription(Aws::String &&value)
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(const Aws::String &value)
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(const char *value)
UpdateCodeSigningConfigRequest & WithCodeSigningPolicies(const CodeSigningPolicies &value)
UpdateCodeSigningConfigRequest & WithAllowedPublishers(AllowedPublishers &&value)
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(Aws::String &&value)
UpdateCodeSigningConfigRequest & WithCodeSigningPolicies(CodeSigningPolicies &&value)
UpdateCodeSigningConfigRequest & WithAllowedPublishers(const AllowedPublishers &value)
UpdateCodeSigningConfigRequest & WithDescription(const char *value)
AWS_LAMBDA_API Aws::String SerializePayload() const override
UpdateCodeSigningConfigRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String