From 8a621d727dde4d89eb4092d8bc26a22b36bba3e6 Mon Sep 17 00:00:00 2001
From: aws-sdk-cpp-automation Retrieves a list of the contents of a directory from a remote SFTP server.
+ * You specify the connector ID, the output path, and the remote directory path.
+ * You can also specify the optional After
+ * you receive the listing file, you can provide the files that you want to
+ * transfer to the The naming convention for the
+ * output file is
+ *
+ * MaxItems
value to control the
+ * maximum number of items that are listed from the remote directory. This API
+ * returns a list of all files and directories in the remote directory (up to the
+ * maximum value), but does not return files or folders in sub-directories. That
+ * is, it only returns a list of files and directories one-level deep.RetrieveFilePaths
parameter of the
+ * StartFileTransfer
API call. connector-ID-listing-ID.json
. The
+ * output file contains the following information:
filePath
: the complete path of a remote file, relative to the
+ * directory of the listing request for your SFTP connector on the remote
+ * server.modifiedTimestamp
: the last time the
+ * file was modified, in UTC time format. This field is optional. If the remote
+ * file attributes don't contain a timestamp, it is omitted from the file
+ * listing.size
: the size of the file, in bytes.
+ * This field is optional. If the remote file attributes don't contain a file size,
+ * it is omitted from the file listing.path
: the
+ * complete path of a remote directory, relative to the directory of the listing
+ * request for your SFTP connector on the remote server.truncated
: a flag indicating whether the list output contains all
+ * of the items contained in the remote directory or not. If your
+ * Truncated
output value is true, you can increase the value provided
+ * in the optional max-items
input attribute to be able to list more
+ * items (up to the maximum allowed list size of 10,000 items).See Also:
AWS
+ * API Reference
Begins a file transfer between local Amazon Web Services storage and a remote * AS2 or SFTP server.
For an AS2 connector, you specify the
@@ -1310,7 +1362,7 @@ namespace Transfer
* ConnectorId
. Depending on the direction of the transfer, you also
* specify the following items:
If you are transferring file from
* a partner's SFTP server to Amazon Web Services storage, you specify one or more
- * RetreiveFilePaths
to identify the files you want to transfer, and a
+ * RetrieveFilePaths
to identify the files you want to transfer, and a
* LocalDirectoryPath
to specify the destination folder.
If you are transferring file to a partner's SFTP server from Amazon Web
* Services storage, you specify one or more Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. Specifies how this certificate is used. It can be used in the following
- * ways:
- * Specifies whether this certificate is used for signing or encryption. The unique identifier for the connector. The unique identifier for the connector. The unique identifier for the connector. The unique identifier for the connector. The unique identifier for the connector. The unique identifier for the connector. The unique identifier for the connector. The unique identifier for the connector. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. Specifies the directory on the remote SFTP server for which you want to list
+ * its contents. An optional parameter where you can specify the maximum number of
+ * file/directory names to retrieve. The default value is 1,000. An optional parameter where you can specify the maximum number of
+ * file/directory names to retrieve. The default value is 1,000. An optional parameter where you can specify the maximum number of
+ * file/directory names to retrieve. The default value is 1,000. An optional parameter where you can specify the maximum number of
+ * file/directory names to retrieve. The default value is 1,000. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Specifies the path (bucket and prefix) in Amazon S3 storage to store the
+ * results of the directory listing. Returns a unique identifier for the directory listing call. Returns a unique identifier for the directory listing call. Returns a unique identifier for the directory listing call. Returns a unique identifier for the directory listing call. Returns a unique identifier for the directory listing call. Returns a unique identifier for the directory listing call. Returns a unique identifier for the directory listing call. Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Returns the file name where the results are stored. This is a combination of
+ * the connector ID and the listing ID:
+ * Sends a prompt for the agent to process and respond to. The CLI
- * doesn't support To continue
- * the same conversation with an agent, use the same To activate trace enablement, turn
+ * Sends a prompt for the agent to process and respond to. Use return control
+ * event type for function calling. The CLI doesn't support
+ * To continue the same
+ * conversation with an agent, use the same To activate trace enablement, turn
* End a conversation by setting
- * Include
- * attributes for the session or prompt in the The response is returned in the The
- * If you set Errors are also surfaced
- * in the response.SendFilePaths
to identify
diff --git a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferServiceClientModel.h b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferServiceClientModel.h
index f86e1d280c6..34e329d1c23 100644
--- a/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-awstransfer/include/aws/awstransfer/TransferServiceClientModel.h
@@ -52,6 +52,7 @@
#include
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS
+ * SIGNING
: For signing AS2 messagesENCRYPTION
: For encrypting AS2 messagesTLS
: For securing AS2 communications sent over HTTPS<connector-id>-<listing-id>.json
.<connector-id>-<listing-id>.json
.<connector-id>-<listing-id>.json
.<connector-id>-<listing-id>.json
.<connector-id>-<listing-id>.json
.<connector-id>-<listing-id>.json
.<connector-id>-<listing-id>.json
.InvokeAgent
.
sessionId
value
- * in the request.InvokeAgent
.
sessionId
value in the
+ * request.enableTrace
to true
. Trace enablement helps you follow
* the agent's reasoning process that led it to the information it processed, the
* actions it took, and the final result it yielded. For more information, see Trace
* enablement.endSession
to true
.sessionState
- * object.bytes
- * field of the chunk
object.
attribution
object contains citations for parts of the
- * response.enableTrace
to
- * true
in the request, you can trace the agent's steps and reasoning
- * process that led it to the response.See Also:
endSession to true
.
In the
+ * sessionState
object, you can include attributes for the session or
+ * prompt or parameters returned from the action group.
Use + * return control event type for function calling.
The response
+ * is returned in the bytes
field of the chunk
+ * object.
The attribution
object contains citations
+ * for parts of the response.
If you set enableTrace
+ * to true
in the request, you can trace the agent's steps and
+ * reasoning process that led it to the response.
Errors are also + * surfaced in the response.
Contains information about the action group being invoked.
The function in the action group to call.
+ */ + inline const Aws::String& GetFunction() const{ return m_function; } + + /** + *The function in the action group to call.
+ */ + inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; } + + /** + *The function in the action group to call.
+ */ + inline void SetFunction(const Aws::String& value) { m_functionHasBeenSet = true; m_function = value; } + + /** + *The function in the action group to call.
+ */ + inline void SetFunction(Aws::String&& value) { m_functionHasBeenSet = true; m_function = std::move(value); } + + /** + *The function in the action group to call.
+ */ + inline void SetFunction(const char* value) { m_functionHasBeenSet = true; m_function.assign(value); } + + /** + *The function in the action group to call.
+ */ + inline ActionGroupInvocationInput& WithFunction(const Aws::String& value) { SetFunction(value); return *this;} + + /** + *The function in the action group to call.
+ */ + inline ActionGroupInvocationInput& WithFunction(Aws::String&& value) { SetFunction(std::move(value)); return *this;} + + /** + *The function in the action group to call.
+ */ + inline ActionGroupInvocationInput& WithFunction(const char* value) { SetFunction(value); return *this;} + + /** *The parameters in the Lambda input event.
*/ @@ -243,6 +286,9 @@ namespace Model Aws::String m_apiPath; bool m_apiPathHasBeenSet = false; + Aws::String m_function; + bool m_functionHasBeenSet = false; + Aws::VectorContains information about the API operation that the agent predicts should + * be called.
This data type is used in the following API operations:
+ *In the returnControl
field of the Retrieve
+ * response
The action group that the API operation belongs to.
+ */ + inline const Aws::String& GetActionGroup() const{ return m_actionGroup; } + + /** + *The action group that the API operation belongs to.
+ */ + inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; } + + /** + *The action group that the API operation belongs to.
+ */ + inline void SetActionGroup(const Aws::String& value) { m_actionGroupHasBeenSet = true; m_actionGroup = value; } + + /** + *The action group that the API operation belongs to.
+ */ + inline void SetActionGroup(Aws::String&& value) { m_actionGroupHasBeenSet = true; m_actionGroup = std::move(value); } + + /** + *The action group that the API operation belongs to.
+ */ + inline void SetActionGroup(const char* value) { m_actionGroupHasBeenSet = true; m_actionGroup.assign(value); } + + /** + *The action group that the API operation belongs to.
+ */ + inline ApiInvocationInput& WithActionGroup(const Aws::String& value) { SetActionGroup(value); return *this;} + + /** + *The action group that the API operation belongs to.
+ */ + inline ApiInvocationInput& WithActionGroup(Aws::String&& value) { SetActionGroup(std::move(value)); return *this;} + + /** + *The action group that the API operation belongs to.
+ */ + inline ApiInvocationInput& WithActionGroup(const char* value) { SetActionGroup(value); return *this;} + + + /** + *The path to the API operation.
+ */ + inline const Aws::String& GetApiPath() const{ return m_apiPath; } + + /** + *The path to the API operation.
+ */ + inline bool ApiPathHasBeenSet() const { return m_apiPathHasBeenSet; } + + /** + *The path to the API operation.
+ */ + inline void SetApiPath(const Aws::String& value) { m_apiPathHasBeenSet = true; m_apiPath = value; } + + /** + *The path to the API operation.
+ */ + inline void SetApiPath(Aws::String&& value) { m_apiPathHasBeenSet = true; m_apiPath = std::move(value); } + + /** + *The path to the API operation.
+ */ + inline void SetApiPath(const char* value) { m_apiPathHasBeenSet = true; m_apiPath.assign(value); } + + /** + *The path to the API operation.
+ */ + inline ApiInvocationInput& WithApiPath(const Aws::String& value) { SetApiPath(value); return *this;} + + /** + *The path to the API operation.
+ */ + inline ApiInvocationInput& WithApiPath(Aws::String&& value) { SetApiPath(std::move(value)); return *this;} + + /** + *The path to the API operation.
+ */ + inline ApiInvocationInput& WithApiPath(const char* value) { SetApiPath(value); return *this;} + + + /** + *The HTTP method of the API operation.
+ */ + inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; } + + /** + *The HTTP method of the API operation.
+ */ + inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; } + + /** + *The HTTP method of the API operation.
+ */ + inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; } + + /** + *The HTTP method of the API operation.
+ */ + inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); } + + /** + *The HTTP method of the API operation.
+ */ + inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); } + + /** + *The HTTP method of the API operation.
+ */ + inline ApiInvocationInput& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;} + + /** + *The HTTP method of the API operation.
+ */ + inline ApiInvocationInput& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;} + + /** + *The HTTP method of the API operation.
+ */ + inline ApiInvocationInput& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;} + + + /** + *The parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline const Aws::VectorThe parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *The parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline void SetParameters(const Aws::VectorThe parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline void SetParameters(Aws::VectorThe parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline ApiInvocationInput& WithParameters(const Aws::VectorThe parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline ApiInvocationInput& WithParameters(Aws::VectorThe parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline ApiInvocationInput& AddParameters(const ApiParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } + + /** + *The parameters to provide for the API request, as the agent elicited from the + * user.
+ */ + inline ApiInvocationInput& AddParameters(ApiParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } + + + /** + *The request body to provide for the API request, as the agent elicited from + * the user.
+ */ + inline const ApiRequestBody& GetRequestBody() const{ return m_requestBody; } + + /** + *The request body to provide for the API request, as the agent elicited from + * the user.
+ */ + inline bool RequestBodyHasBeenSet() const { return m_requestBodyHasBeenSet; } + + /** + *The request body to provide for the API request, as the agent elicited from + * the user.
+ */ + inline void SetRequestBody(const ApiRequestBody& value) { m_requestBodyHasBeenSet = true; m_requestBody = value; } + + /** + *The request body to provide for the API request, as the agent elicited from + * the user.
+ */ + inline void SetRequestBody(ApiRequestBody&& value) { m_requestBodyHasBeenSet = true; m_requestBody = std::move(value); } + + /** + *The request body to provide for the API request, as the agent elicited from + * the user.
+ */ + inline ApiInvocationInput& WithRequestBody(const ApiRequestBody& value) { SetRequestBody(value); return *this;} + + /** + *The request body to provide for the API request, as the agent elicited from + * the user.
+ */ + inline ApiInvocationInput& WithRequestBody(ApiRequestBody&& value) { SetRequestBody(std::move(value)); return *this;} + + private: + + Aws::String m_actionGroup; + bool m_actionGroupHasBeenSet = false; + + Aws::String m_apiPath; + bool m_apiPathHasBeenSet = false; + + Aws::String m_httpMethod; + bool m_httpMethodHasBeenSet = false; + + Aws::VectorInformation about a parameter to provide to the API request.
This data + * type is used in the following API operations:
The name of the parameter.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the parameter.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *The name of the parameter.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *The name of the parameter.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *The name of the parameter.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *The name of the parameter.
+ */ + inline ApiParameter& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the parameter.
+ */ + inline ApiParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the parameter.
+ */ + inline ApiParameter& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The data type for the parameter.
+ */ + inline const Aws::String& GetType() const{ return m_type; } + + /** + *The data type for the parameter.
+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *The data type for the parameter.
+ */ + inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *The data type for the parameter.
+ */ + inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *The data type for the parameter.
+ */ + inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } + + /** + *The data type for the parameter.
+ */ + inline ApiParameter& WithType(const Aws::String& value) { SetType(value); return *this;} + + /** + *The data type for the parameter.
+ */ + inline ApiParameter& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} + + /** + *The data type for the parameter.
+ */ + inline ApiParameter& WithType(const char* value) { SetType(value); return *this;} + + + /** + *The value of the parameter.
+ */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *The value of the parameter.
+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *The value of the parameter.
+ */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *The value of the parameter.
+ */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *The value of the parameter.
+ */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *The value of the parameter.
+ */ + inline ApiParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *The value of the parameter.
+ */ + inline ApiParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *The value of the parameter.
+ */ + inline ApiParameter& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_type; + bool m_typeHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiRequestBody.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiRequestBody.h new file mode 100644 index 00000000000..12615f7f171 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ApiRequestBody.h @@ -0,0 +1,126 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe request body to provide for the API request, as the agent elicited from + * the user.
This data type is used in the following API operations:
+ *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline const Aws::MapThe content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } + + /** + *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline void SetContent(const Aws::MapThe content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline void SetContent(Aws::MapThe content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& WithContent(const Aws::MapThe content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& WithContent(Aws::MapThe content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& AddContent(const Aws::String& key, const PropertyParameters& value) { m_contentHasBeenSet = true; m_content.emplace(key, value); return *this; } + + /** + *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& AddContent(Aws::String&& key, const PropertyParameters& value) { m_contentHasBeenSet = true; m_content.emplace(std::move(key), value); return *this; } + + /** + *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& AddContent(const Aws::String& key, PropertyParameters&& value) { m_contentHasBeenSet = true; m_content.emplace(key, std::move(value)); return *this; } + + /** + *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& AddContent(Aws::String&& key, PropertyParameters&& value) { m_contentHasBeenSet = true; m_content.emplace(std::move(key), std::move(value)); return *this; } + + /** + *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& AddContent(const char* key, PropertyParameters&& value) { m_contentHasBeenSet = true; m_content.emplace(key, std::move(value)); return *this; } + + /** + *The content of the request body. The key of the object in this field is a + * media type defining the format of the request body.
+ */ + inline ApiRequestBody& AddContent(const char* key, const PropertyParameters& value) { m_contentHasBeenSet = true; m_content.emplace(key, value); return *this; } + + private: + + Aws::MapContains information about the API operation that was called from the action + * group and the response body that was returned.
This data type is used in + * the following API operations:
In the
+ * returnControlInvocationResults
of the Retrieve
+ * request
The action group that the API operation belongs to.
+ */ + inline const Aws::String& GetActionGroup() const{ return m_actionGroup; } + + /** + *The action group that the API operation belongs to.
+ */ + inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; } + + /** + *The action group that the API operation belongs to.
+ */ + inline void SetActionGroup(const Aws::String& value) { m_actionGroupHasBeenSet = true; m_actionGroup = value; } + + /** + *The action group that the API operation belongs to.
+ */ + inline void SetActionGroup(Aws::String&& value) { m_actionGroupHasBeenSet = true; m_actionGroup = std::move(value); } + + /** + *The action group that the API operation belongs to.
+ */ + inline void SetActionGroup(const char* value) { m_actionGroupHasBeenSet = true; m_actionGroup.assign(value); } + + /** + *The action group that the API operation belongs to.
+ */ + inline ApiResult& WithActionGroup(const Aws::String& value) { SetActionGroup(value); return *this;} + + /** + *The action group that the API operation belongs to.
+ */ + inline ApiResult& WithActionGroup(Aws::String&& value) { SetActionGroup(std::move(value)); return *this;} + + /** + *The action group that the API operation belongs to.
+ */ + inline ApiResult& WithActionGroup(const char* value) { SetActionGroup(value); return *this;} + + + /** + *The path to the API operation.
+ */ + inline const Aws::String& GetApiPath() const{ return m_apiPath; } + + /** + *The path to the API operation.
+ */ + inline bool ApiPathHasBeenSet() const { return m_apiPathHasBeenSet; } + + /** + *The path to the API operation.
+ */ + inline void SetApiPath(const Aws::String& value) { m_apiPathHasBeenSet = true; m_apiPath = value; } + + /** + *The path to the API operation.
+ */ + inline void SetApiPath(Aws::String&& value) { m_apiPathHasBeenSet = true; m_apiPath = std::move(value); } + + /** + *The path to the API operation.
+ */ + inline void SetApiPath(const char* value) { m_apiPathHasBeenSet = true; m_apiPath.assign(value); } + + /** + *The path to the API operation.
+ */ + inline ApiResult& WithApiPath(const Aws::String& value) { SetApiPath(value); return *this;} + + /** + *The path to the API operation.
+ */ + inline ApiResult& WithApiPath(Aws::String&& value) { SetApiPath(std::move(value)); return *this;} + + /** + *The path to the API operation.
+ */ + inline ApiResult& WithApiPath(const char* value) { SetApiPath(value); return *this;} + + + /** + *The HTTP method for the API operation.
+ */ + inline const Aws::String& GetHttpMethod() const{ return m_httpMethod; } + + /** + *The HTTP method for the API operation.
+ */ + inline bool HttpMethodHasBeenSet() const { return m_httpMethodHasBeenSet; } + + /** + *The HTTP method for the API operation.
+ */ + inline void SetHttpMethod(const Aws::String& value) { m_httpMethodHasBeenSet = true; m_httpMethod = value; } + + /** + *The HTTP method for the API operation.
+ */ + inline void SetHttpMethod(Aws::String&& value) { m_httpMethodHasBeenSet = true; m_httpMethod = std::move(value); } + + /** + *The HTTP method for the API operation.
+ */ + inline void SetHttpMethod(const char* value) { m_httpMethodHasBeenSet = true; m_httpMethod.assign(value); } + + /** + *The HTTP method for the API operation.
+ */ + inline ApiResult& WithHttpMethod(const Aws::String& value) { SetHttpMethod(value); return *this;} + + /** + *The HTTP method for the API operation.
+ */ + inline ApiResult& WithHttpMethod(Aws::String&& value) { SetHttpMethod(std::move(value)); return *this;} + + /** + *The HTTP method for the API operation.
+ */ + inline ApiResult& WithHttpMethod(const char* value) { SetHttpMethod(value); return *this;} + + + /** + *http status code from API execution response (for example: 200, 400, + * 500).
+ */ + inline int GetHttpStatusCode() const{ return m_httpStatusCode; } + + /** + *http status code from API execution response (for example: 200, 400, + * 500).
+ */ + inline bool HttpStatusCodeHasBeenSet() const { return m_httpStatusCodeHasBeenSet; } + + /** + *http status code from API execution response (for example: 200, 400, + * 500).
+ */ + inline void SetHttpStatusCode(int value) { m_httpStatusCodeHasBeenSet = true; m_httpStatusCode = value; } + + /** + *http status code from API execution response (for example: 200, 400, + * 500).
+ */ + inline ApiResult& WithHttpStatusCode(int value) { SetHttpStatusCode(value); return *this;} + + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline const Aws::MapThe response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline bool ResponseBodyHasBeenSet() const { return m_responseBodyHasBeenSet; } + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline void SetResponseBody(const Aws::MapThe response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline void SetResponseBody(Aws::MapThe response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& WithResponseBody(const Aws::MapThe response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& WithResponseBody(Aws::MapThe response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& AddResponseBody(const Aws::String& key, const ContentBody& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, value); return *this; } + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& AddResponseBody(Aws::String&& key, const ContentBody& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(std::move(key), value); return *this; } + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& AddResponseBody(const Aws::String& key, ContentBody&& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, std::move(value)); return *this; } + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& AddResponseBody(Aws::String&& key, ContentBody&& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(std::move(key), std::move(value)); return *this; } + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& AddResponseBody(const char* key, ContentBody&& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, std::move(value)); return *this; } + + /** + *The response body from the API operation. The key of the object is the + * content type. The response may be returned directly or from the Lambda + * function.
+ */ + inline ApiResult& AddResponseBody(const char* key, const ContentBody& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, value); return *this; } + + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline const ResponseState& GetResponseState() const{ return m_responseState; } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline bool ResponseStateHasBeenSet() const { return m_responseStateHasBeenSet; } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline void SetResponseState(const ResponseState& value) { m_responseStateHasBeenSet = true; m_responseState = value; } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline void SetResponseState(ResponseState&& value) { m_responseStateHasBeenSet = true; m_responseState = std::move(value); } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline ApiResult& WithResponseState(const ResponseState& value) { SetResponseState(value); return *this;} + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline ApiResult& WithResponseState(ResponseState&& value) { SetResponseState(std::move(value)); return *this;} + + private: + + Aws::String m_actionGroup; + bool m_actionGroupHasBeenSet = false; + + Aws::String m_apiPath; + bool m_apiPathHasBeenSet = false; + + Aws::String m_httpMethod; + bool m_httpMethodHasBeenSet = false; + + int m_httpStatusCode; + bool m_httpStatusCodeHasBeenSet = false; + + Aws::MapContains the body of the API response.
This data type is used in the + * following API operations:
In the
+ * returnControlInvocationResults
field of the Retrieve
+ * request
The body of the API response.
+ */ + inline const Aws::String& GetBody() const{ return m_body; } + + /** + *The body of the API response.
+ */ + inline bool BodyHasBeenSet() const { return m_bodyHasBeenSet; } + + /** + *The body of the API response.
+ */ + inline void SetBody(const Aws::String& value) { m_bodyHasBeenSet = true; m_body = value; } + + /** + *The body of the API response.
+ */ + inline void SetBody(Aws::String&& value) { m_bodyHasBeenSet = true; m_body = std::move(value); } + + /** + *The body of the API response.
+ */ + inline void SetBody(const char* value) { m_bodyHasBeenSet = true; m_body.assign(value); } + + /** + *The body of the API response.
+ */ + inline ContentBody& WithBody(const Aws::String& value) { SetBody(value); return *this;} + + /** + *The body of the API response.
+ */ + inline ContentBody& WithBody(Aws::String&& value) { SetBody(std::move(value)); return *this;} + + /** + *The body of the API response.
+ */ + inline ContentBody& WithBody(const char* value) { SetBody(value); return *this;} + + private: + + Aws::String m_body; + bool m_bodyHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h new file mode 100644 index 00000000000..35880be92bc --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionInvocationInput.h @@ -0,0 +1,182 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeContains information about the function that the agent predicts should be + * called.
This data type is used in the following API operations:
In the returnControl
field of the Retrieve
+ * response
The action group that the function belongs to.
+ */ + inline const Aws::String& GetActionGroup() const{ return m_actionGroup; } + + /** + *The action group that the function belongs to.
+ */ + inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; } + + /** + *The action group that the function belongs to.
+ */ + inline void SetActionGroup(const Aws::String& value) { m_actionGroupHasBeenSet = true; m_actionGroup = value; } + + /** + *The action group that the function belongs to.
+ */ + inline void SetActionGroup(Aws::String&& value) { m_actionGroupHasBeenSet = true; m_actionGroup = std::move(value); } + + /** + *The action group that the function belongs to.
+ */ + inline void SetActionGroup(const char* value) { m_actionGroupHasBeenSet = true; m_actionGroup.assign(value); } + + /** + *The action group that the function belongs to.
+ */ + inline FunctionInvocationInput& WithActionGroup(const Aws::String& value) { SetActionGroup(value); return *this;} + + /** + *The action group that the function belongs to.
+ */ + inline FunctionInvocationInput& WithActionGroup(Aws::String&& value) { SetActionGroup(std::move(value)); return *this;} + + /** + *The action group that the function belongs to.
+ */ + inline FunctionInvocationInput& WithActionGroup(const char* value) { SetActionGroup(value); return *this;} + + + /** + *The name of the function.
+ */ + inline const Aws::String& GetFunction() const{ return m_function; } + + /** + *The name of the function.
+ */ + inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; } + + /** + *The name of the function.
+ */ + inline void SetFunction(const Aws::String& value) { m_functionHasBeenSet = true; m_function = value; } + + /** + *The name of the function.
+ */ + inline void SetFunction(Aws::String&& value) { m_functionHasBeenSet = true; m_function = std::move(value); } + + /** + *The name of the function.
+ */ + inline void SetFunction(const char* value) { m_functionHasBeenSet = true; m_function.assign(value); } + + /** + *The name of the function.
+ */ + inline FunctionInvocationInput& WithFunction(const Aws::String& value) { SetFunction(value); return *this;} + + /** + *The name of the function.
+ */ + inline FunctionInvocationInput& WithFunction(Aws::String&& value) { SetFunction(std::move(value)); return *this;} + + /** + *The name of the function.
+ */ + inline FunctionInvocationInput& WithFunction(const char* value) { SetFunction(value); return *this;} + + + /** + *A list of parameters of the function.
+ */ + inline const Aws::VectorA list of parameters of the function.
+ */ + inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } + + /** + *A list of parameters of the function.
+ */ + inline void SetParameters(const Aws::VectorA list of parameters of the function.
+ */ + inline void SetParameters(Aws::VectorA list of parameters of the function.
+ */ + inline FunctionInvocationInput& WithParameters(const Aws::VectorA list of parameters of the function.
+ */ + inline FunctionInvocationInput& WithParameters(Aws::VectorA list of parameters of the function.
+ */ + inline FunctionInvocationInput& AddParameters(const FunctionParameter& value) { m_parametersHasBeenSet = true; m_parameters.push_back(value); return *this; } + + /** + *A list of parameters of the function.
+ */ + inline FunctionInvocationInput& AddParameters(FunctionParameter&& value) { m_parametersHasBeenSet = true; m_parameters.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_actionGroup; + bool m_actionGroupHasBeenSet = false; + + Aws::String m_function; + bool m_functionHasBeenSet = false; + + Aws::VectorContains information about a parameter of the function.
This data type + * is used in the following API operations:
In the
+ * returnControl
field of the Retrieve
+ * response
The name of the parameter.
+ */ + inline const Aws::String& GetName() const{ return m_name; } + + /** + *The name of the parameter.
+ */ + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + + /** + *The name of the parameter.
+ */ + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + + /** + *The name of the parameter.
+ */ + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + + /** + *The name of the parameter.
+ */ + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + + /** + *The name of the parameter.
+ */ + inline FunctionParameter& WithName(const Aws::String& value) { SetName(value); return *this;} + + /** + *The name of the parameter.
+ */ + inline FunctionParameter& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + + /** + *The name of the parameter.
+ */ + inline FunctionParameter& WithName(const char* value) { SetName(value); return *this;} + + + /** + *The data type of the parameter.
+ */ + inline const Aws::String& GetType() const{ return m_type; } + + /** + *The data type of the parameter.
+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *The data type of the parameter.
+ */ + inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *The data type of the parameter.
+ */ + inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *The data type of the parameter.
+ */ + inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } + + /** + *The data type of the parameter.
+ */ + inline FunctionParameter& WithType(const Aws::String& value) { SetType(value); return *this;} + + /** + *The data type of the parameter.
+ */ + inline FunctionParameter& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} + + /** + *The data type of the parameter.
+ */ + inline FunctionParameter& WithType(const char* value) { SetType(value); return *this;} + + + /** + *The value of the parameter.
+ */ + inline const Aws::String& GetValue() const{ return m_value; } + + /** + *The value of the parameter.
+ */ + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + + /** + *The value of the parameter.
+ */ + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + + /** + *The value of the parameter.
+ */ + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + + /** + *The value of the parameter.
+ */ + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + + /** + *The value of the parameter.
+ */ + inline FunctionParameter& WithValue(const Aws::String& value) { SetValue(value); return *this;} + + /** + *The value of the parameter.
+ */ + inline FunctionParameter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + + /** + *The value of the parameter.
+ */ + inline FunctionParameter& WithValue(const char* value) { SetValue(value); return *this;} + + private: + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_type; + bool m_typeHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h new file mode 100644 index 00000000000..60b7a077343 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/FunctionResult.h @@ -0,0 +1,268 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeContains information about the function that was called from the action group + * and the response that was returned.
This data type is used in the + * following API operations:
In the
+ * returnControlInvocationResults
of the Retrieve
+ * request
The action group that the function belongs to.
+ */ + inline const Aws::String& GetActionGroup() const{ return m_actionGroup; } + + /** + *The action group that the function belongs to.
+ */ + inline bool ActionGroupHasBeenSet() const { return m_actionGroupHasBeenSet; } + + /** + *The action group that the function belongs to.
+ */ + inline void SetActionGroup(const Aws::String& value) { m_actionGroupHasBeenSet = true; m_actionGroup = value; } + + /** + *The action group that the function belongs to.
+ */ + inline void SetActionGroup(Aws::String&& value) { m_actionGroupHasBeenSet = true; m_actionGroup = std::move(value); } + + /** + *The action group that the function belongs to.
+ */ + inline void SetActionGroup(const char* value) { m_actionGroupHasBeenSet = true; m_actionGroup.assign(value); } + + /** + *The action group that the function belongs to.
+ */ + inline FunctionResult& WithActionGroup(const Aws::String& value) { SetActionGroup(value); return *this;} + + /** + *The action group that the function belongs to.
+ */ + inline FunctionResult& WithActionGroup(Aws::String&& value) { SetActionGroup(std::move(value)); return *this;} + + /** + *The action group that the function belongs to.
+ */ + inline FunctionResult& WithActionGroup(const char* value) { SetActionGroup(value); return *this;} + + + /** + *The name of the function that was called.
+ */ + inline const Aws::String& GetFunction() const{ return m_function; } + + /** + *The name of the function that was called.
+ */ + inline bool FunctionHasBeenSet() const { return m_functionHasBeenSet; } + + /** + *The name of the function that was called.
+ */ + inline void SetFunction(const Aws::String& value) { m_functionHasBeenSet = true; m_function = value; } + + /** + *The name of the function that was called.
+ */ + inline void SetFunction(Aws::String&& value) { m_functionHasBeenSet = true; m_function = std::move(value); } + + /** + *The name of the function that was called.
+ */ + inline void SetFunction(const char* value) { m_functionHasBeenSet = true; m_function.assign(value); } + + /** + *The name of the function that was called.
+ */ + inline FunctionResult& WithFunction(const Aws::String& value) { SetFunction(value); return *this;} + + /** + *The name of the function that was called.
+ */ + inline FunctionResult& WithFunction(Aws::String&& value) { SetFunction(std::move(value)); return *this;} + + /** + *The name of the function that was called.
+ */ + inline FunctionResult& WithFunction(const char* value) { SetFunction(value); return *this;} + + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline const Aws::MapThe response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline bool ResponseBodyHasBeenSet() const { return m_responseBodyHasBeenSet; } + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline void SetResponseBody(const Aws::MapThe response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline void SetResponseBody(Aws::MapThe response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& WithResponseBody(const Aws::MapThe response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& WithResponseBody(Aws::MapThe response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& AddResponseBody(const Aws::String& key, const ContentBody& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, value); return *this; } + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& AddResponseBody(Aws::String&& key, const ContentBody& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(std::move(key), value); return *this; } + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& AddResponseBody(const Aws::String& key, ContentBody&& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, std::move(value)); return *this; } + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& AddResponseBody(Aws::String&& key, ContentBody&& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(std::move(key), std::move(value)); return *this; } + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& AddResponseBody(const char* key, ContentBody&& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, std::move(value)); return *this; } + + /** + *The response from the function call using the parameters. The response may be + * returned directly or from the Lambda function.
+ */ + inline FunctionResult& AddResponseBody(const char* key, const ContentBody& value) { m_responseBodyHasBeenSet = true; m_responseBody.emplace(key, value); return *this; } + + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline const ResponseState& GetResponseState() const{ return m_responseState; } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline bool ResponseStateHasBeenSet() const { return m_responseStateHasBeenSet; } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline void SetResponseState(const ResponseState& value) { m_responseStateHasBeenSet = true; m_responseState = value; } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline void SetResponseState(ResponseState&& value) { m_responseStateHasBeenSet = true; m_responseState = std::move(value); } + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline FunctionResult& WithResponseState(const ResponseState& value) { SetResponseState(value); return *this;} + + /** + *Controls the final response state returned to end user when API/Function + * execution failed. When this state is FAILURE, the request would fail with + * dependency failure exception. When this state is REPROMPT, the API/function + * response will be sent to model for re-prompt
+ */ + inline FunctionResult& WithResponseState(ResponseState&& value) { SetResponseState(std::move(value)); return *this;} + + private: + + Aws::String m_actionGroup; + bool m_actionGroupHasBeenSet = false; + + Aws::String m_function; + bool m_functionHasBeenSet = false; + + Aws::MapContains details about the API operation or function that the agent predicts + * should be called.
This data type is used in the following API + * operations:
In the returnControl
field of the Retrieve
+ * response
Contains information about the API operation that the agent predicts should + * be called.
+ */ + inline const ApiInvocationInput& GetApiInvocationInput() const{ return m_apiInvocationInput; } + + /** + *Contains information about the API operation that the agent predicts should + * be called.
+ */ + inline bool ApiInvocationInputHasBeenSet() const { return m_apiInvocationInputHasBeenSet; } + + /** + *Contains information about the API operation that the agent predicts should + * be called.
+ */ + inline void SetApiInvocationInput(const ApiInvocationInput& value) { m_apiInvocationInputHasBeenSet = true; m_apiInvocationInput = value; } + + /** + *Contains information about the API operation that the agent predicts should + * be called.
+ */ + inline void SetApiInvocationInput(ApiInvocationInput&& value) { m_apiInvocationInputHasBeenSet = true; m_apiInvocationInput = std::move(value); } + + /** + *Contains information about the API operation that the agent predicts should + * be called.
+ */ + inline InvocationInputMember& WithApiInvocationInput(const ApiInvocationInput& value) { SetApiInvocationInput(value); return *this;} + + /** + *Contains information about the API operation that the agent predicts should + * be called.
+ */ + inline InvocationInputMember& WithApiInvocationInput(ApiInvocationInput&& value) { SetApiInvocationInput(std::move(value)); return *this;} + + + /** + *Contains information about the function that the agent predicts should be + * called.
+ */ + inline const FunctionInvocationInput& GetFunctionInvocationInput() const{ return m_functionInvocationInput; } + + /** + *Contains information about the function that the agent predicts should be + * called.
+ */ + inline bool FunctionInvocationInputHasBeenSet() const { return m_functionInvocationInputHasBeenSet; } + + /** + *Contains information about the function that the agent predicts should be + * called.
+ */ + inline void SetFunctionInvocationInput(const FunctionInvocationInput& value) { m_functionInvocationInputHasBeenSet = true; m_functionInvocationInput = value; } + + /** + *Contains information about the function that the agent predicts should be + * called.
+ */ + inline void SetFunctionInvocationInput(FunctionInvocationInput&& value) { m_functionInvocationInputHasBeenSet = true; m_functionInvocationInput = std::move(value); } + + /** + *Contains information about the function that the agent predicts should be + * called.
+ */ + inline InvocationInputMember& WithFunctionInvocationInput(const FunctionInvocationInput& value) { SetFunctionInvocationInput(value); return *this;} + + /** + *Contains information about the function that the agent predicts should be + * called.
+ */ + inline InvocationInputMember& WithFunctionInvocationInput(FunctionInvocationInput&& value) { SetFunctionInvocationInput(std::move(value)); return *this;} + + private: + + ApiInvocationInput m_apiInvocationInput; + bool m_apiInvocationInputHasBeenSet = false; + + FunctionInvocationInput m_functionInvocationInput; + bool m_functionInvocationInputHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationResultMember.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationResultMember.h new file mode 100644 index 00000000000..746ebd5e4f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvocationResultMember.h @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeA result from the action group invocation.
This data type is used in + * the following API operations:
The result from the API response from the action group invocation.
+ */ + inline const ApiResult& GetApiResult() const{ return m_apiResult; } + + /** + *The result from the API response from the action group invocation.
+ */ + inline bool ApiResultHasBeenSet() const { return m_apiResultHasBeenSet; } + + /** + *The result from the API response from the action group invocation.
+ */ + inline void SetApiResult(const ApiResult& value) { m_apiResultHasBeenSet = true; m_apiResult = value; } + + /** + *The result from the API response from the action group invocation.
+ */ + inline void SetApiResult(ApiResult&& value) { m_apiResultHasBeenSet = true; m_apiResult = std::move(value); } + + /** + *The result from the API response from the action group invocation.
+ */ + inline InvocationResultMember& WithApiResult(const ApiResult& value) { SetApiResult(value); return *this;} + + /** + *The result from the API response from the action group invocation.
+ */ + inline InvocationResultMember& WithApiResult(ApiResult&& value) { SetApiResult(std::move(value)); return *this;} + + + /** + *The result from the function from the action group invocation.
+ */ + inline const FunctionResult& GetFunctionResult() const{ return m_functionResult; } + + /** + *The result from the function from the action group invocation.
+ */ + inline bool FunctionResultHasBeenSet() const { return m_functionResultHasBeenSet; } + + /** + *The result from the function from the action group invocation.
+ */ + inline void SetFunctionResult(const FunctionResult& value) { m_functionResultHasBeenSet = true; m_functionResult = value; } + + /** + *The result from the function from the action group invocation.
+ */ + inline void SetFunctionResult(FunctionResult&& value) { m_functionResultHasBeenSet = true; m_functionResult = std::move(value); } + + /** + *The result from the function from the action group invocation.
+ */ + inline InvocationResultMember& WithFunctionResult(const FunctionResult& value) { SetFunctionResult(value); return *this;} + + /** + *The result from the function from the action group invocation.
+ */ + inline InvocationResultMember& WithFunctionResult(FunctionResult&& value) { SetFunctionResult(std::move(value)); return *this;} + + private: + + ApiResult m_apiResult; + bool m_apiResultHasBeenSet = false; + + FunctionResult m_functionResult; + bool m_functionResultHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgentRuntime +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentHandler.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentHandler.h index 70d070ebac3..5dde7cded12 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentHandler.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/InvokeAgentHandler.h @@ -12,6 +12,7 @@ #includeA parameter in the Lambda input event.
Contains the parameters in the request body.
A list of parameters in the request body.
+ */ + inline const Aws::VectorA list of parameters in the request body.
+ */ + inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; } + + /** + *A list of parameters in the request body.
+ */ + inline void SetProperties(const Aws::VectorA list of parameters in the request body.
+ */ + inline void SetProperties(Aws::VectorA list of parameters in the request body.
+ */ + inline PropertyParameters& WithProperties(const Aws::VectorA list of parameters in the request body.
+ */ + inline PropertyParameters& WithProperties(Aws::VectorA list of parameters in the request body.
+ */ + inline PropertyParameters& AddProperties(const Parameter& value) { m_propertiesHasBeenSet = true; m_properties.push_back(value); return *this; } + + /** + *A list of parameters in the request body.
+ */ + inline PropertyParameters& AddProperties(Parameter&& value) { m_propertiesHasBeenSet = true; m_properties.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorThe parameters in the request body for the Lambda input event.
The specified resource ARN was not found. Check the ARN and try your request - * again.
+ *The specified resource Amazon Resource Name (ARN) was not found. Check the + * Amazon Resource Name (ARN) and try your request again.
*/ inline const ResourceNotFoundException& GetResourceNotFoundException() const{ return m_resourceNotFoundException; } /** - *The specified resource ARN was not found. Check the ARN and try your request - * again.
+ *The specified resource Amazon Resource Name (ARN) was not found. Check the + * Amazon Resource Name (ARN) and try your request again.
*/ inline bool ResourceNotFoundExceptionHasBeenSet() const { return m_resourceNotFoundExceptionHasBeenSet; } /** - *The specified resource ARN was not found. Check the ARN and try your request - * again.
+ *The specified resource Amazon Resource Name (ARN) was not found. Check the + * Amazon Resource Name (ARN) and try your request again.
*/ inline void SetResourceNotFoundException(const ResourceNotFoundException& value) { m_resourceNotFoundExceptionHasBeenSet = true; m_resourceNotFoundException = value; } /** - *The specified resource ARN was not found. Check the ARN and try your request - * again.
+ *The specified resource Amazon Resource Name (ARN) was not found. Check the + * Amazon Resource Name (ARN) and try your request again.
*/ inline void SetResourceNotFoundException(ResourceNotFoundException&& value) { m_resourceNotFoundExceptionHasBeenSet = true; m_resourceNotFoundException = std::move(value); } /** - *The specified resource ARN was not found. Check the ARN and try your request - * again.
+ *The specified resource Amazon Resource Name (ARN) was not found. Check the + * Amazon Resource Name (ARN) and try your request again.
*/ inline ResponseStream& WithResourceNotFoundException(const ResourceNotFoundException& value) { SetResourceNotFoundException(value); return *this;} /** - *The specified resource ARN was not found. Check the ARN and try your request - * again.
+ *The specified resource Amazon Resource Name (ARN) was not found. Check the + * Amazon Resource Name (ARN) and try your request again.
*/ inline ResponseStream& WithResourceNotFoundException(ResourceNotFoundException&& value) { SetResourceNotFoundException(std::move(value)); return *this;} + /** + *Contains the parameters and information that the agent elicited from the + * customer to carry out an action. This information is returned to the system and + * can be used in your own setup for fulfilling the action.
+ */ + inline const ReturnControlPayload& GetReturnControl() const{ return m_returnControl; } + + /** + *Contains the parameters and information that the agent elicited from the + * customer to carry out an action. This information is returned to the system and + * can be used in your own setup for fulfilling the action.
+ */ + inline bool ReturnControlHasBeenSet() const { return m_returnControlHasBeenSet; } + + /** + *Contains the parameters and information that the agent elicited from the + * customer to carry out an action. This information is returned to the system and + * can be used in your own setup for fulfilling the action.
+ */ + inline void SetReturnControl(const ReturnControlPayload& value) { m_returnControlHasBeenSet = true; m_returnControl = value; } + + /** + *Contains the parameters and information that the agent elicited from the + * customer to carry out an action. This information is returned to the system and + * can be used in your own setup for fulfilling the action.
+ */ + inline void SetReturnControl(ReturnControlPayload&& value) { m_returnControlHasBeenSet = true; m_returnControl = std::move(value); } + + /** + *Contains the parameters and information that the agent elicited from the + * customer to carry out an action. This information is returned to the system and + * can be used in your own setup for fulfilling the action.
+ */ + inline ResponseStream& WithReturnControl(const ReturnControlPayload& value) { SetReturnControl(value); return *this;} + + /** + *Contains the parameters and information that the agent elicited from the + * customer to carry out an action. This information is returned to the system and + * can be used in your own setup for fulfilling the action.
+ */ + inline ResponseStream& WithReturnControl(ReturnControlPayload&& value) { SetReturnControl(std::move(value)); return *this;} + + /** *The number of requests exceeds the service quota. Resubmit your request * later.
@@ -365,10 +409,9 @@ namespace Model /** *Contains information about the agent and session, alongside the agent's - * reasoning process and results from calling API actions and querying knowledge - * bases and metadata about the trace. You can use the trace to understand how the - * agent arrived at the response it provided the customer. For more information, - * see Trace * events.
*/ @@ -376,10 +419,9 @@ namespace Model /** *Contains information about the agent and session, alongside the agent's - * reasoning process and results from calling API actions and querying knowledge - * bases and metadata about the trace. You can use the trace to understand how the - * agent arrived at the response it provided the customer. For more information, - * see Trace * events.
*/ @@ -387,10 +429,9 @@ namespace Model /** *Contains information about the agent and session, alongside the agent's - * reasoning process and results from calling API actions and querying knowledge - * bases and metadata about the trace. You can use the trace to understand how the - * agent arrived at the response it provided the customer. For more information, - * see Trace * events.
*/ @@ -398,10 +439,9 @@ namespace Model /** *Contains information about the agent and session, alongside the agent's - * reasoning process and results from calling API actions and querying knowledge - * bases and metadata about the trace. You can use the trace to understand how the - * agent arrived at the response it provided the customer. For more information, - * see Trace * events.
*/ @@ -409,10 +449,9 @@ namespace Model /** *Contains information about the agent and session, alongside the agent's - * reasoning process and results from calling API actions and querying knowledge - * bases and metadata about the trace. You can use the trace to understand how the - * agent arrived at the response it provided the customer. For more information, - * see Trace * events.
*/ @@ -420,10 +459,9 @@ namespace Model /** *Contains information about the agent and session, alongside the agent's - * reasoning process and results from calling API actions and querying knowledge - * bases and metadata about the trace. You can use the trace to understand how the - * agent arrived at the response it provided the customer. For more information, - * see Trace * events.
*/ @@ -489,6 +527,9 @@ namespace Model ResourceNotFoundException m_resourceNotFoundException; bool m_resourceNotFoundExceptionHasBeenSet = false; + ReturnControlPayload m_returnControl; + bool m_returnControlHasBeenSet = false; + ServiceQuotaExceededException m_serviceQuotaExceededException; bool m_serviceQuotaExceededExceptionHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlPayload.h b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlPayload.h new file mode 100644 index 00000000000..a7f927f2a7c --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/include/aws/bedrock-agent-runtime/model/ReturnControlPayload.h @@ -0,0 +1,154 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeContains information to return from the action group that the agent has + * predicted to invoke.
This data type is used in the following API + * operations:
The identifier of the action group invocation.
+ */ + inline const Aws::String& GetInvocationId() const{ return m_invocationId; } + + /** + *The identifier of the action group invocation.
+ */ + inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; } + + /** + *The identifier of the action group invocation.
+ */ + inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; } + + /** + *The identifier of the action group invocation.
+ */ + inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); } + + /** + *The identifier of the action group invocation.
+ */ + inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); } + + /** + *The identifier of the action group invocation.
+ */ + inline ReturnControlPayload& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;} + + /** + *The identifier of the action group invocation.
+ */ + inline ReturnControlPayload& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;} + + /** + *The identifier of the action group invocation.
+ */ + inline ReturnControlPayload& WithInvocationId(const char* value) { SetInvocationId(value); return *this;} + + + /** + *A list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline const Aws::VectorA list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline bool InvocationInputsHasBeenSet() const { return m_invocationInputsHasBeenSet; } + + /** + *A list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline void SetInvocationInputs(const Aws::VectorA list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline void SetInvocationInputs(Aws::VectorA list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline ReturnControlPayload& WithInvocationInputs(const Aws::VectorA list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline ReturnControlPayload& WithInvocationInputs(Aws::VectorA list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline ReturnControlPayload& AddInvocationInputs(const InvocationInputMember& value) { m_invocationInputsHasBeenSet = true; m_invocationInputs.push_back(value); return *this; } + + /** + *A list of objects that contain information about the parameters and inputs + * that need to be sent into the API operation or function, based on what the agent + * determines from its session with the user.
+ */ + inline ReturnControlPayload& AddInvocationInputs(InvocationInputMember&& value) { m_invocationInputsHasBeenSet = true; m_invocationInputs.push_back(std::move(value)); return *this; } + + private: + + Aws::String m_invocationId; + bool m_invocationIdHasBeenSet = false; + + Aws::VectorThe identifier of the invocation.
+ */ + inline const Aws::String& GetInvocationId() const{ return m_invocationId; } + + /** + *The identifier of the invocation.
+ */ + inline bool InvocationIdHasBeenSet() const { return m_invocationIdHasBeenSet; } + + /** + *The identifier of the invocation.
+ */ + inline void SetInvocationId(const Aws::String& value) { m_invocationIdHasBeenSet = true; m_invocationId = value; } + + /** + *The identifier of the invocation.
+ */ + inline void SetInvocationId(Aws::String&& value) { m_invocationIdHasBeenSet = true; m_invocationId = std::move(value); } + + /** + *The identifier of the invocation.
+ */ + inline void SetInvocationId(const char* value) { m_invocationIdHasBeenSet = true; m_invocationId.assign(value); } + + /** + *The identifier of the invocation.
+ */ + inline SessionState& WithInvocationId(const Aws::String& value) { SetInvocationId(value); return *this;} + + /** + *The identifier of the invocation.
+ */ + inline SessionState& WithInvocationId(Aws::String&& value) { SetInvocationId(std::move(value)); return *this;} + + /** + *The identifier of the invocation.
+ */ + inline SessionState& WithInvocationId(const char* value) { SetInvocationId(value); return *this;} + + /** *Contains attributes that persist across a prompt and the values of those * attributes. These attributes replace the $prompt_session_attributes$ placeholder @@ -166,6 +209,47 @@ namespace Model inline SessionState& AddPromptSessionAttributes(const char* key, const char* value) { m_promptSessionAttributesHasBeenSet = true; m_promptSessionAttributes.emplace(key, value); return *this; } + /** + *
Contains information about the results from the action group invocation.
+ */ + inline const Aws::VectorContains information about the results from the action group invocation.
+ */ + inline bool ReturnControlInvocationResultsHasBeenSet() const { return m_returnControlInvocationResultsHasBeenSet; } + + /** + *Contains information about the results from the action group invocation.
+ */ + inline void SetReturnControlInvocationResults(const Aws::VectorContains information about the results from the action group invocation.
+ */ + inline void SetReturnControlInvocationResults(Aws::VectorContains information about the results from the action group invocation.
+ */ + inline SessionState& WithReturnControlInvocationResults(const Aws::VectorContains information about the results from the action group invocation.
+ */ + inline SessionState& WithReturnControlInvocationResults(Aws::VectorContains information about the results from the action group invocation.
+ */ + inline SessionState& AddReturnControlInvocationResults(const InvocationResultMember& value) { m_returnControlInvocationResultsHasBeenSet = true; m_returnControlInvocationResults.push_back(value); return *this; } + + /** + *Contains information about the results from the action group invocation.
+ */ + inline SessionState& AddReturnControlInvocationResults(InvocationResultMember&& value) { m_returnControlInvocationResultsHasBeenSet = true; m_returnControlInvocationResults.push_back(std::move(value)); return *this; } + + /** *Contains attributes that persist across a session and the values of those * attributes.
@@ -246,9 +330,15 @@ namespace Model private: + Aws::String m_invocationId; + bool m_invocationIdHasBeenSet = false; + Aws::MapThe version of the agent.
+ */ + inline const Aws::String& GetAgentVersion() const{ return m_agentVersion; } + + /** + *The version of the agent.
+ */ + inline bool AgentVersionHasBeenSet() const { return m_agentVersionHasBeenSet; } + + /** + *The version of the agent.
+ */ + inline void SetAgentVersion(const Aws::String& value) { m_agentVersionHasBeenSet = true; m_agentVersion = value; } + + /** + *The version of the agent.
+ */ + inline void SetAgentVersion(Aws::String&& value) { m_agentVersionHasBeenSet = true; m_agentVersion = std::move(value); } + + /** + *The version of the agent.
+ */ + inline void SetAgentVersion(const char* value) { m_agentVersionHasBeenSet = true; m_agentVersion.assign(value); } + + /** + *The version of the agent.
+ */ + inline TracePart& WithAgentVersion(const Aws::String& value) { SetAgentVersion(value); return *this;} + + /** + *The version of the agent.
+ */ + inline TracePart& WithAgentVersion(Aws::String&& value) { SetAgentVersion(std::move(value)); return *this;} + + /** + *The version of the agent.
+ */ + inline TracePart& WithAgentVersion(const char* value) { SetAgentVersion(value); return *this;} + + /** *The unique identifier of the session with the agent.
*/ @@ -235,6 +276,9 @@ namespace Model Aws::String m_agentId; bool m_agentIdHasBeenSet = false; + Aws::String m_agentVersion; + bool m_agentVersionHasBeenSet = false; + Aws::String m_sessionId; bool m_sessionIdHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ActionGroupInvocationInput.cpp b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ActionGroupInvocationInput.cpp index 9c65b089dd3..e54316c2300 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ActionGroupInvocationInput.cpp +++ b/generated/src/aws-cpp-sdk-bedrock-agent-runtime/source/model/ActionGroupInvocationInput.cpp @@ -21,6 +21,7 @@ namespace Model ActionGroupInvocationInput::ActionGroupInvocationInput() : m_actionGroupNameHasBeenSet(false), m_apiPathHasBeenSet(false), + m_functionHasBeenSet(false), m_parametersHasBeenSet(false), m_requestBodyHasBeenSet(false), m_verbHasBeenSet(false) @@ -30,6 +31,7 @@ ActionGroupInvocationInput::ActionGroupInvocationInput() : ActionGroupInvocationInput::ActionGroupInvocationInput(JsonView jsonValue) : m_actionGroupNameHasBeenSet(false), m_apiPathHasBeenSet(false), + m_functionHasBeenSet(false), m_parametersHasBeenSet(false), m_requestBodyHasBeenSet(false), m_verbHasBeenSet(false) @@ -53,6 +55,13 @@ ActionGroupInvocationInput& ActionGroupInvocationInput::operator =(JsonView json m_apiPathHasBeenSet = true; } + if(jsonValue.ValueExists("function")) + { + m_function = jsonValue.GetString("function"); + + m_functionHasBeenSet = true; + } + if(jsonValue.ValueExists("parameters")) { Aws::Utils::ArrayTo return the action group invocation results directly in the
+ * InvokeAgent
response, specify RETURN_CONTROL
.
To return the action group invocation results directly in the
+ * InvokeAgent
response, specify RETURN_CONTROL
.
To return the action group invocation results directly in the
+ * InvokeAgent
response, specify RETURN_CONTROL
.
To return the action group invocation results directly in the
+ * InvokeAgent
response, specify RETURN_CONTROL
.
To return the action group invocation results directly in the
+ * InvokeAgent
response, specify RETURN_CONTROL
.
To return the action group invocation results directly in the
+ * InvokeAgent
response, specify RETURN_CONTROL
.
The Amazon Resource Name (ARN) of the Lambda function containing the business * logic that is carried out upon invoking the action.
@@ -88,6 +126,9 @@ namespace Model private: + CustomControlMethod m_customControl; + bool m_customControlHasBeenSet = false; + Aws::String m_lambda; bool m_lambdaHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h index 84c1d6e0881..a3f8be75158 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Agent.h @@ -219,7 +219,7 @@ namespace Model * created.PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED ��� The agent API operation failed.
UPDATING – + *
FAILED – The agent API operation failed.
UPDATING – * The agent is being updated.
DELETING – The agent is being * deleted.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED ��� The agent API operation failed.
UPDATING – + *
FAILED – The agent API operation failed.
UPDATING – * The agent is being updated.
DELETING – The agent is being * deleted.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED ��� The agent API operation failed.
UPDATING – + *
FAILED – The agent API operation failed.
UPDATING – * The agent is being updated.
DELETING – The agent is being * deleted.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED ��� The agent API operation failed.
UPDATING – + *
FAILED – The agent API operation failed.
UPDATING – * The agent is being updated.
DELETING – The agent is being * deleted.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED ��� The agent API operation failed.
UPDATING – + *
FAILED – The agent API operation failed.
UPDATING – * The agent is being updated.
DELETING – The agent is being * deleted.
PREPARING – The agent is being prepared.
PREPARED – The agent is prepared and ready to be invoked.
NOT_PREPARED – The agent has been created but not yet prepared.
FAILED ��� The agent API operation failed.
UPDATING – + *
FAILED – The agent API operation failed.
UPDATING – * The agent is being updated.
DELETING – The agent is being * deleted.
Defines functions that each define parameters that the agent needs to invoke + * from the user. Each function represents an action in an action group.
+ */ + inline const FunctionSchema& GetFunctionSchema() const{ return m_functionSchema; } + + /** + *Defines functions that each define parameters that the agent needs to invoke + * from the user. Each function represents an action in an action group.
+ */ + inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; } + + /** + *Defines functions that each define parameters that the agent needs to invoke + * from the user. Each function represents an action in an action group.
+ */ + inline void SetFunctionSchema(const FunctionSchema& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = value; } + + /** + *Defines functions that each define parameters that the agent needs to invoke + * from the user. Each function represents an action in an action group.
+ */ + inline void SetFunctionSchema(FunctionSchema&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::move(value); } + + /** + *Defines functions that each define parameters that the agent needs to invoke + * from the user. Each function represents an action in an action group.
+ */ + inline AgentActionGroup& WithFunctionSchema(const FunctionSchema& value) { SetFunctionSchema(value); return *this;} + + /** + *Defines functions that each define parameters that the agent needs to invoke + * from the user. Each function represents an action in an action group.
+ */ + inline AgentActionGroup& WithFunctionSchema(FunctionSchema&& value) { SetFunctionSchema(std::move(value)); return *this;} + + /** *If this field is set as Contains details about the function schema for the action group or the JSON
+ * or YAML-formatted payload defining the schema. Contains details about the function schema for the action group or the JSON
+ * or YAML-formatted payload defining the schema. Contains details about the function schema for the action group or the JSON
+ * or YAML-formatted payload defining the schema. Contains details about the function schema for the action group or the JSON
+ * or YAML-formatted payload defining the schema. Contains details about the function schema for the action group or the JSON
+ * or YAML-formatted payload defining the schema. Contains details about the function schema for the action group or the JSON
+ * or YAML-formatted payload defining the schema. To allow your agent to request the user for additional information when
* trying to complete a task, set this field to Defines parameters that the agent needs to invoke from the user to complete
+ * the function. Corresponds to an action in an action group. This data type
+ * is used in the following API operations: A description of the function and its purpose. A description of the function and its purpose. A description of the function and its purpose. A description of the function and its purpose. A description of the function and its purpose. A description of the function and its purpose. A description of the function and its purpose. A description of the function and its purpose. A name for the function. A name for the function. A name for the function. A name for the function. A name for the function. A name for the function. A name for the function. A name for the function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. The parameters that the agent elicits from the user to fulfill the
+ * function. Defines functions that each define parameters that the agent needs to invoke
+ * from the user. Each function represents an action in an action group. This data type is used in the following API operations:AMAZON.UserInput
, the agent can request
* the user for additional information when trying to complete a task. The
@@ -633,6 +671,9 @@ namespace Model
Aws::String m_description;
bool m_descriptionHasBeenSet = false;
+ FunctionSchema m_functionSchema;
+ bool m_functionSchemaHasBeenSet = false;
+
ActionGroupSignature m_parentActionSignature;
bool m_parentActionSignatureHasBeenSet = false;
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentActionGroupRequest.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentActionGroupRequest.h
index b7303de6b79..b77baa017ac 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentActionGroupRequest.h
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CreateAgentActionGroupRequest.h
@@ -10,6 +10,7 @@
#include AMAZON.UserInput
. You
@@ -519,6 +557,9 @@ namespace Model
Aws::String m_description;
bool m_descriptionHasBeenSet = false;
+ FunctionSchema m_functionSchema;
+ bool m_functionSchemaHasBeenSet = false;
+
ActionGroupSignature m_parentActionGroupSignature;
bool m_parentActionGroupSignatureHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CustomControlMethod.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CustomControlMethod.h
new file mode 100644
index 00000000000..3fdcf3e7259
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/CustomControlMethod.h
@@ -0,0 +1,30 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
See Also:
AWS
+ * API Reference
See Also:
AWS
+ * API Reference
A list of functions that each define an action in the action group.
+ */ + inline const Aws::VectorA list of functions that each define an action in the action group.
+ */ + inline bool FunctionsHasBeenSet() const { return m_functionsHasBeenSet; } + + /** + *A list of functions that each define an action in the action group.
+ */ + inline void SetFunctions(const Aws::VectorA list of functions that each define an action in the action group.
+ */ + inline void SetFunctions(Aws::VectorA list of functions that each define an action in the action group.
+ */ + inline FunctionSchema& WithFunctions(const Aws::VectorA list of functions that each define an action in the action group.
+ */ + inline FunctionSchema& WithFunctions(Aws::VectorA list of functions that each define an action in the action group.
+ */ + inline FunctionSchema& AddFunctions(const Function& value) { m_functionsHasBeenSet = true; m_functions.push_back(value); return *this; } + + /** + *A list of functions that each define an action in the action group.
+ */ + inline FunctionSchema& AddFunctions(Function&& value) { m_functionsHasBeenSet = true; m_functions.push_back(std::move(value)); return *this; } + + private: + + Aws::VectorContains details about a parameter in a function for an action group.
+ *This data type is used in the following API operations:
A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline const Aws::String& GetDescription() const{ return m_description; } + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline ParameterDetail& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline ParameterDetail& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} + + /** + *A description of the parameter. Helps the foundation model determine how to + * elicit the parameters from the user.
+ */ + inline ParameterDetail& WithDescription(const char* value) { SetDescription(value); return *this;} + + + /** + *Whether the parameter is required for the agent to complete the function for + * action group invocation.
+ */ + inline bool GetRequired() const{ return m_required; } + + /** + *Whether the parameter is required for the agent to complete the function for + * action group invocation.
+ */ + inline bool RequiredHasBeenSet() const { return m_requiredHasBeenSet; } + + /** + *Whether the parameter is required for the agent to complete the function for + * action group invocation.
+ */ + inline void SetRequired(bool value) { m_requiredHasBeenSet = true; m_required = value; } + + /** + *Whether the parameter is required for the agent to complete the function for + * action group invocation.
+ */ + inline ParameterDetail& WithRequired(bool value) { SetRequired(value); return *this;} + + + /** + *The data type of the parameter.
+ */ + inline const Type& GetType() const{ return m_type; } + + /** + *The data type of the parameter.
+ */ + inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } + + /** + *The data type of the parameter.
+ */ + inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; } + + /** + *The data type of the parameter.
+ */ + inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } + + /** + *The data type of the parameter.
+ */ + inline ParameterDetail& WithType(const Type& value) { SetType(value); return *this;} + + /** + *The data type of the parameter.
+ */ + inline ParameterDetail& WithType(Type&& value) { SetType(std::move(value)); return *this;} + + private: + + Aws::String m_description; + bool m_descriptionHasBeenSet = false; + + bool m_required; + bool m_requiredHasBeenSet = false; + + Type m_type; + bool m_typeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Type.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Type.h new file mode 100644 index 00000000000..311580144c5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/Type.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeContains details about the function schema for the action group or the JSON + * or YAML-formatted payload defining the schema.
+ */ + inline const FunctionSchema& GetFunctionSchema() const{ return m_functionSchema; } + + /** + *Contains details about the function schema for the action group or the JSON + * or YAML-formatted payload defining the schema.
+ */ + inline bool FunctionSchemaHasBeenSet() const { return m_functionSchemaHasBeenSet; } + + /** + *Contains details about the function schema for the action group or the JSON + * or YAML-formatted payload defining the schema.
+ */ + inline void SetFunctionSchema(const FunctionSchema& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = value; } + + /** + *Contains details about the function schema for the action group or the JSON + * or YAML-formatted payload defining the schema.
+ */ + inline void SetFunctionSchema(FunctionSchema&& value) { m_functionSchemaHasBeenSet = true; m_functionSchema = std::move(value); } + + /** + *Contains details about the function schema for the action group or the JSON + * or YAML-formatted payload defining the schema.
+ */ + inline UpdateAgentActionGroupRequest& WithFunctionSchema(const FunctionSchema& value) { SetFunctionSchema(value); return *this;} + + /** + *Contains details about the function schema for the action group or the JSON + * or YAML-formatted payload defining the schema.
+ */ + inline UpdateAgentActionGroupRequest& WithFunctionSchema(FunctionSchema&& value) { SetFunctionSchema(std::move(value)); return *this;} + + /** *To allow your agent to request the user for additional information when
* trying to complete a task, set this field to AMAZON.UserInput
. You
@@ -494,6 +532,9 @@ namespace Model
Aws::String m_description;
bool m_descriptionHasBeenSet = false;
+ FunctionSchema m_functionSchema;
+ bool m_functionSchemaHasBeenSet = false;
+
ActionGroupSignature m_parentActionGroupSignature;
bool m_parentActionGroupSignatureHasBeenSet = false;
};
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ActionGroupExecutor.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ActionGroupExecutor.cpp
index b52915efa57..647737db849 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ActionGroupExecutor.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/ActionGroupExecutor.cpp
@@ -19,11 +19,15 @@ namespace Model
{
ActionGroupExecutor::ActionGroupExecutor() :
+ m_customControl(CustomControlMethod::NOT_SET),
+ m_customControlHasBeenSet(false),
m_lambdaHasBeenSet(false)
{
}
ActionGroupExecutor::ActionGroupExecutor(JsonView jsonValue) :
+ m_customControl(CustomControlMethod::NOT_SET),
+ m_customControlHasBeenSet(false),
m_lambdaHasBeenSet(false)
{
*this = jsonValue;
@@ -31,6 +35,13 @@ ActionGroupExecutor::ActionGroupExecutor(JsonView jsonValue) :
ActionGroupExecutor& ActionGroupExecutor::operator =(JsonView jsonValue)
{
+ if(jsonValue.ValueExists("customControl"))
+ {
+ m_customControl = CustomControlMethodMapper::GetCustomControlMethodForName(jsonValue.GetString("customControl"));
+
+ m_customControlHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("lambda"))
{
m_lambda = jsonValue.GetString("lambda");
@@ -45,6 +56,11 @@ JsonValue ActionGroupExecutor::Jsonize() const
{
JsonValue payload;
+ if(m_customControlHasBeenSet)
+ {
+ payload.WithString("customControl", CustomControlMethodMapper::GetNameForCustomControlMethod(m_customControl));
+ }
+
if(m_lambdaHasBeenSet)
{
payload.WithString("lambda", m_lambda);
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentActionGroup.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentActionGroup.cpp
index 6e754c396cc..84aaf5cb75f 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentActionGroup.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/AgentActionGroup.cpp
@@ -30,6 +30,7 @@ AgentActionGroup::AgentActionGroup() :
m_clientTokenHasBeenSet(false),
m_createdAtHasBeenSet(false),
m_descriptionHasBeenSet(false),
+ m_functionSchemaHasBeenSet(false),
m_parentActionSignature(ActionGroupSignature::NOT_SET),
m_parentActionSignatureHasBeenSet(false),
m_updatedAtHasBeenSet(false)
@@ -48,6 +49,7 @@ AgentActionGroup::AgentActionGroup(JsonView jsonValue) :
m_clientTokenHasBeenSet(false),
m_createdAtHasBeenSet(false),
m_descriptionHasBeenSet(false),
+ m_functionSchemaHasBeenSet(false),
m_parentActionSignature(ActionGroupSignature::NOT_SET),
m_parentActionSignatureHasBeenSet(false),
m_updatedAtHasBeenSet(false)
@@ -127,6 +129,13 @@ AgentActionGroup& AgentActionGroup::operator =(JsonView jsonValue)
m_descriptionHasBeenSet = true;
}
+ if(jsonValue.ValueExists("functionSchema"))
+ {
+ m_functionSchema = jsonValue.GetObject("functionSchema");
+
+ m_functionSchemaHasBeenSet = true;
+ }
+
if(jsonValue.ValueExists("parentActionSignature"))
{
m_parentActionSignature = ActionGroupSignatureMapper::GetActionGroupSignatureForName(jsonValue.GetString("parentActionSignature"));
@@ -206,6 +215,12 @@ JsonValue AgentActionGroup::Jsonize() const
}
+ if(m_functionSchemaHasBeenSet)
+ {
+ payload.WithObject("functionSchema", m_functionSchema.Jsonize());
+
+ }
+
if(m_parentActionSignatureHasBeenSet)
{
payload.WithString("parentActionSignature", ActionGroupSignatureMapper::GetNameForActionGroupSignature(m_parentActionSignature));
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentActionGroupRequest.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentActionGroupRequest.cpp
index 468ca753d45..86273332514 100644
--- a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentActionGroupRequest.cpp
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CreateAgentActionGroupRequest.cpp
@@ -23,6 +23,7 @@ CreateAgentActionGroupRequest::CreateAgentActionGroupRequest() :
m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()),
m_clientTokenHasBeenSet(true),
m_descriptionHasBeenSet(false),
+ m_functionSchemaHasBeenSet(false),
m_parentActionGroupSignature(ActionGroupSignature::NOT_SET),
m_parentActionGroupSignatureHasBeenSet(false)
{
@@ -67,6 +68,12 @@ Aws::String CreateAgentActionGroupRequest::SerializePayload() const
}
+ if(m_functionSchemaHasBeenSet)
+ {
+ payload.WithObject("functionSchema", m_functionSchema.Jsonize());
+
+ }
+
if(m_parentActionGroupSignatureHasBeenSet)
{
payload.WithString("parentActionGroupSignature", ActionGroupSignatureMapper::GetNameForActionGroupSignature(m_parentActionGroupSignature));
diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CustomControlMethod.cpp b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CustomControlMethod.cpp
new file mode 100644
index 00000000000..2a35f7ba3e6
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-bedrock-agent/source/model/CustomControlMethod.cpp
@@ -0,0 +1,65 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#include
To - * change the key that's associated with the alias, call UpdateAlias. To - * delete the alias, call DeleteAlias. These operations don't affect the - * underlying key. To get the alias that you created, call ListAliases.
+ * change the key that's associated with the alias, call UpdateAlias. + * To delete the alias, call DeleteAlias. + * These operations don't affect the underlying key. To get the alias that you + * created, call ListAliases. *Cross-account use: This operation can't be used across different * Amazon Web Services accounts.
Related operations:
- * ListAliases
GetAlias + *
ListAliases + *
UpdateAlias + *
* Cross-account use: This operation can't be used across different Amazon - * Web Services accounts.
Related operations:
Related operations:
Deletes the alias, but doesn't affect the underlying key.
Each key can - * have multiple aliases. To get the aliases of all keys, use the - * ListAliases operation. To change the alias of a key, first use - * DeleteAlias to delete the current alias and then use CreateAlias + * have multiple aliases. To get the aliases of all keys, use the UpdateAlias + * operation. To change the alias of a key, first use DeleteAlias + * to delete the current alias and then use CreateAlias * to create a new alias. To associate an existing alias with a different key, call - * UpdateAlias.
Cross-account use: This operation can't be - * used across different Amazon Web Services accounts.
Related - * operations:
- * GetAlias
- * UpdateAlias
Cross-account use: This operation can't be used across different + * Amazon Web Services accounts.
Related operations:
CreateAlias + *
GetAlias + *
ListAliases + *
UpdateAlias + *
KeyState
is DELETE_COMPLETE
. You should * delete a key only when you are sure that you don't need to use it anymore and no * other parties are utilizing this key. If you aren't sure, consider deactivating - * it instead by calling StopKeyUsage.
Cross-account use: - * This operation can't be used across different Amazon Web Services accounts.
- *Related operations:
Cross-account use: This operation can't be used across different + * Amazon Web Services accounts.
Related operations:
RestoreKey + *
StartKeyUsage + *
StopKeyUsage + *
ExportDukptInitialKey
attribute KSN (KeySerialNumber
).
* The generated IPEK does not persist within Amazon Web Services Payment
- * Cryptography and has to be re-generated each time during export. To - * export initial keys (KEK) or IPEK using TR-34
Using this operation, - * you can export initial key using TR-34 asymmetric key exchange. You can only - * export KEK generated within Amazon Web Services Payment Cryptography. In TR-34 - * terminology, the sending party of the key is called Key Distribution Host (KDH) - * and the receiving party of the key is called Key Receiving Device (KRD). During - * key export process, KDH is Amazon Web Services Payment Cryptography which - * initiates key export and KRD is the user receiving the key.
To initiate - * TR-34 key export, the KRD must obtain an export token by calling - * GetParametersForExport. This operation also generates a key pair for the - * purpose of key export, signs the key and returns back the signing public key - * certificate (also known as KDH signing certificate) and root certificate chain. - * The KDH uses the private key to sign the the export payload and the signing - * public key certificate is provided to KRD to verify the signature. The KRD can - * import the root certificate into its Hardware Security Module (HSM), as - * required. The export token and the associated KDH signing certificate expires - * after 7 days.
Next the KRD generates a key pair for the the purpose of - * encrypting the KDH key and provides the public key cerificate (also known as KRD - * wrapping certificate) back to KDH. The KRD will also import the root cerificate - * chain into Amazon Web Services Payment Cryptography by calling ImportKey + * Cryptography and has to be re-generated each time during export.
For key
+ * exchange using TR-31 or TR-34 key blocks, you can also export optional blocks
+ * within the key block header which contain additional attribute information about
+ * the key. The KeyVersion
within KeyBlockHeaders
+ * indicates the version of the key within the key block. Furthermore,
+ * KeyExportability
within KeyBlockHeaders
can be used to
+ * further restrict exportability of the key after export from Amazon Web Services
+ * Payment Cryptography.
The OptionalBlocks
contain the
+ * additional data related to the key. For information on data type that can be
+ * included within optional blocks, refer to ASC
+ * X9.143-2022.
Data included in key block headers is signed but + * transmitted in clear text. Sensitive or confidential information should not be + * included in optional blocks. Refer to ASC X9.143-2022 standard for information + * on allowed data type.
To export initial keys (KEK) or IPEK + * using TR-34
Using this operation, you can export initial key using + * TR-34 asymmetric key exchange. You can only export KEK generated within Amazon + * Web Services Payment Cryptography. In TR-34 terminology, the sending party of + * the key is called Key Distribution Host (KDH) and the receiving party of the key + * is called Key Receiving Device (KRD). During key export process, KDH is Amazon + * Web Services Payment Cryptography which initiates key export and KRD is the user + * receiving the key.
To initiate TR-34 key export, the KRD must obtain an + * export token by calling GetParametersForExport. + * This operation also generates a key pair for the purpose of key export, signs + * the key and returns back the signing public key certificate (also known as KDH + * signing certificate) and root certificate chain. The KDH uses the private key to + * sign the the export payload and the signing public key certificate is provided + * to KRD to verify the signature. The KRD can import the root certificate into its + * Hardware Security Module (HSM), as required. The export token and the associated + * KDH signing certificate expires after 7 days.
Next the KRD generates a
+ * key pair for the the purpose of encrypting the KDH key and provides the public
+ * key cerificate (also known as KRD wrapping certificate) back to KDH. The KRD
+ * will also import the root cerificate chain into Amazon Web Services Payment
+ * Cryptography by calling ImportKey
* for RootCertificatePublicKey
. The KDH, Amazon Web Services Payment
* Cryptography, will use the KRD wrapping cerificate to encrypt (wrap) the key
* under export and signs it with signing private key to generate a TR-34
@@ -329,23 +376,25 @@ namespace PaymentCryptography
* Tr34KeyBlock
parameters.
* CertificateAuthorityPublicKeyIdentifier
: The KeyARN
of
* the certificate chain that signed the KRD wrapping key certificate.
ExportToken
: Obtained from KDH by calling
- * GetParametersForImport.
- * WrappingKeyCertificate
: The public key certificate in PEM format
- * (base64 encoded) of the KRD wrapping key Amazon Web Services Payment
- * Cryptography uses for encryption of the TR-34 export payload. This certificate
- * must be signed by the root certificate (CertificateAuthorityPublicKeyIdentifier)
- * imported into Amazon Web Services Payment Cryptography.
When - * this operation is successful, Amazon Web Services Payment Cryptography returns - * the KEK or IPEK as a TR-34 WrappedKeyBlock.
To export initial keys - * (KEK) or IPEK using RSA Wrap and Unwrap
Using this operation, you
- * can export initial key using asymmetric RSA wrap and unwrap key exchange method.
- * To initiate export, generate an asymmetric key pair on the receiving HSM and
- * obtain the public key certificate in PEM format (base64 encoded) for the purpose
- * of wrapping and the root certifiate chain. Import the root certificate into
- * Amazon Web Services Payment Cryptography by calling ImportKey for
- * RootCertificatePublicKey
.
Next call ExportKey
- * and set the following parameters:
+ *
ExportToken
: Obtained from KDH by calling GetParametersForImport.
WrappingKeyCertificate
: The public key certificate
+ * in PEM format (base64 encoded) of the KRD wrapping key Amazon Web Services
+ * Payment Cryptography uses for encryption of the TR-34 export payload. This
+ * certificate must be signed by the root certificate
+ * (CertificateAuthorityPublicKeyIdentifier) imported into Amazon Web Services
+ * Payment Cryptography.
When this operation is successful, + * Amazon Web Services Payment Cryptography returns the KEK or IPEK as a TR-34 + * WrappedKeyBlock.
To export initial keys (KEK) or IPEK using RSA Wrap + * and Unwrap
Using this operation, you can export initial key using
+ * asymmetric RSA wrap and unwrap key exchange method. To initiate export, generate
+ * an asymmetric key pair on the receiving HSM and obtain the public key
+ * certificate in PEM format (base64 encoded) for the purpose of wrapping and the
+ * root certifiate chain. Import the root certificate into Amazon Web Services
+ * Payment Cryptography by calling ImportKey
+ * for RootCertificatePublicKey
.
Next call
+ * ExportKey
and set the following parameters:
* CertificateAuthorityPublicKeyIdentifier
: The KeyARN
of
* the certificate chain that signed wrapping key certificate.
* KeyMaterial
: Set to KeyCryptogram
.
@@ -358,18 +407,24 @@ namespace PaymentCryptography * WrappedKeyCryptogram.
To export working keys or IPEK using TR-31 *
Using this operation, you can export working keys or IPEK using TR-31 * symmetric key exchange. In TR-31, you must use an initial key such as KEK to - * encrypt or wrap the key under export. To establish a KEK, you can use - * CreateKey or ImportKey.
Set the following parameters:
- * ExportAttributes
: Specify export attributes in case
- * of IPEK export. This parameter is optional for KEK export.
+ * encrypt or wrap the key under export. To establish a KEK, you can use CreateKey + * or ImportKey. + *
Set the following parameters:
+ * ExportAttributes
: Specify export attributes in case of IPEK export.
+ * This parameter is optional for KEK export.
* ExportKeyIdentifier
: The KeyARN
of the KEK or BDK (in
* case of IPEK) under export.
KeyMaterial
: Use
* Tr31KeyBlock
parameters.
When this operation is * successful, Amazon Web Services Payment Cryptography returns the working key or * IPEK as a TR-31 WrappedKeyBlock.
Cross-account use: This * operation can't be used across different Amazon Web Services accounts.
- * Related operations:
ImportKey + *
Gets the Amazon Web Services Payment Cryptography key associated with the * alias.
Cross-account use: This operation can't be used across * different Amazon Web Services accounts.
Related operations:
- *CreateAlias + *
DeleteAlias + *
ListAliases + *
UpdateAlias + *
Cross-account use: This operation can't be used across different * Amazon Web Services accounts.
Related operations:
DeleteKey + *
ListKeys + *
The signing key * certificate signs the wrapped key under export within the TR-34 key payload. The * export token and signing key certificate must be in place and operational before - * calling ExportKey. The export token expires in 7 days. You can use the - * same export token to export multiple keys from your service account.
- * Cross-account use: This operation can't be used across different Amazon - * Web Services accounts.
Related operations:
- * ExportKey
Cross-account use: This + * operation can't be used across different Amazon Web Services accounts.
+ * Related operations:
ExportKey + *
The wrapping key * certificate wraps the key under import. The import token and wrapping key - * certificate must be in place and operational before calling ImportKey. + * certificate must be in place and operational before calling ImportKey. * The import token expires in 7 days. You can use the same import token to import * multiple keys into your service account.
Cross-account use: This * operation can't be used across different Amazon Web Services accounts.
- * Related operations:
ImportKey + *
To - * initiate TR-34 key import, the KDH must obtain an import token by calling - * GetParametersForImport. This operation generates an encryption keypair - * for the purpose of key import, signs the key and returns back the wrapping key - * certificate (also known as KRD wrapping certificate) and the root certificate - * chain. The KDH must trust and install the KRD wrapping certificate on its HSM - * and use it to encrypt (wrap) the KDH key during TR-34 WrappedKeyBlock - * generation. The import token and associated KRD wrapping certificate expires - * after 7 days.
Next the KDH generates a key pair for the purpose of
- * signing the encrypted KDH key and provides the public certificate of the signing
- * key to Amazon Web Services Payment Cryptography. The KDH will also need to
- * import the root certificate chain of the KDH signing certificate by calling
- * ImportKey
for RootCertificatePublicKey
. For more
- * information on TR-34 key import, see section GetParametersForImport.
+ * This operation generates an encryption keypair for the purpose of key import,
+ * signs the key and returns back the wrapping key certificate (also known as KRD
+ * wrapping certificate) and the root certificate chain. The KDH must trust and
+ * install the KRD wrapping certificate on its HSM and use it to encrypt (wrap) the
+ * KDH key during TR-34 WrappedKeyBlock generation. The import token and associated
+ * KRD wrapping certificate expires after 7 days.
Next the KDH generates a
+ * key pair for the purpose of signing the encrypted KDH key and provides the
+ * public certificate of the signing key to Amazon Web Services Payment
+ * Cryptography. The KDH will also need to import the root certificate chain of the
+ * KDH signing certificate by calling ImportKey
for
+ * RootCertificatePublicKey
. For more information on TR-34 key import,
+ * see section Importing
* symmetric keys in the Amazon Web Services Payment Cryptography User
* Guide.
Set the following parameters:
@@ -629,19 +704,22 @@ namespace PaymentCryptography *
CertificateAuthorityPublicKeyIdentifier
: The
* KeyARN
of the certificate chain that signed the KDH signing key
* certificate.
ImportToken
: Obtained from KRD by
- * calling GetParametersForImport.
- * WrappedKeyBlock
: The TR-34 wrapped key material from KDH. It
- * contains the KDH key under import, wrapped with KRD wrapping certificate and
- * signed by KDH signing private key. This TR-34 key block is typically generated
- * by the KDH Hardware Security Module (HSM) outside of Amazon Web Services Payment
- * Cryptography.
SigningKeyCertificate
: The public
- * key certificate in PEM format (base64 encoded) of the KDH signing key generated
- * under the root certificate (CertificateAuthorityPublicKeyIdentifier) imported in
- * Amazon Web Services Payment Cryptography.
To import - * initial keys (KEK or ZMK or similar) using RSA Wrap and Unwrap
Using
- * this operation, you can import initial key using asymmetric RSA wrap and unwrap
- * key exchange method. To initiate import, call GetParametersForImport with
- * KeyMaterial
set to KEY_CRYPTOGRAM
to generate an
+ * calling GetParametersForImport.
WrappedKeyBlock
: The TR-34 wrapped key material from
+ * KDH. It contains the KDH key under import, wrapped with KRD wrapping certificate
+ * and signed by KDH signing private key. This TR-34 key block is typically
+ * generated by the KDH Hardware Security Module (HSM) outside of Amazon Web
+ * Services Payment Cryptography.
+ * SigningKeyCertificate
: The public key certificate in PEM format
+ * (base64 encoded) of the KDH signing key generated under the root certificate
+ * (CertificateAuthorityPublicKeyIdentifier) imported in Amazon Web Services
+ * Payment Cryptography.
To import initial keys (KEK or ZMK + * or similar) using RSA Wrap and Unwrap
Using this operation, you can
+ * import initial key using asymmetric RSA wrap and unwrap key exchange method. To
+ * initiate import, call GetParametersForImport
+ * with KeyMaterial
set to KEY_CRYPTOGRAM
to generate an
* import token. This operation also generates an encryption keypair for the
* purpose of key import, signs the key and returns back the wrapping key
* certificate in PEM format (base64 encoded) and its root certificate chain. The
@@ -654,8 +732,9 @@ namespace PaymentCryptography
* import.
To import working keys using TR-31
Amazon Web * Services Payment Cryptography uses TR-31 symmetric key exchange norm to import * working keys. A KEK must be established within Amazon Web Services Payment - * Cryptography by using TR-34 key import or by using CreateKey. To initiate - * a TR-31 key import, set the following parameters:
+ * Cryptography by using TR-34 key import or by using CreateKey. + * To initiate a TR-31 key import, set the following parameters:
* KeyMaterial
: Use Tr31KeyBlock
parameters.
WrappedKeyBlock
: The TR-31 wrapped key material. It
* contains the key under import, encrypted using KEK. The TR-31 key block is
@@ -664,9 +743,11 @@ namespace PaymentCryptography
* KeyArn
of the KEK that Amazon Web Services Payment Cryptography
* uses to decrypt or unwrap the key under import.
* Cross-account use: This operation can't be used across different Amazon - * Web Services accounts.
Related operations:
- * ExportKey
Related operations:
ExportKey + *
Cross-account use: This * operation can't be used across different Amazon Web Services accounts.
- * Related operations:
- * UpdateAlias
CreateAlias + *
DeleteAlias + *
GetAlias + *
UpdateAlias + *
Cross-account use: This operation can't be used across * different Amazon Web Services accounts.
Related operations:
- *CreateKey + *
DeleteKey + *
GetKey + *
Cross-account use: This operation can't be used * across different Amazon Web Services accounts.
Related - * operations:
TagResource + *
UntagResource + *
CREATE_COMPLETE
, and the value for
* deletePendingTimestamp
is removed. Cross-account * use: This operation can't be used across different Amazon Web Services - * accounts.
Related operations:
DeleteKey - *
StopKeyUsage + * accounts.
Related operations:
DeleteKey + *
StartKeyUsage + *
Cross-account use: This operation can't be used * across different Amazon Web Services accounts.
Related - * operations:
StopKeyUsage + *
Disables an Amazon Web Services Payment Cryptography key, which makes it * inactive within Amazon Web Services Payment Cryptography.
You can use - * this operation instead of DeleteKey to deactivate a key. You can enable - * the key in the future by calling StartKeyUsage.
Cross-account - * use: This operation can't be used across different Amazon Web Services - * accounts.
Related operations:
Cross-account use: This operation can't be used across different + * Amazon Web Services accounts.
Related operations:
DeleteKey + *
StartKeyUsage + *
Cross-account use: This operation can't - * be used across different Amazon Web Services accounts.
Related - * operations:
Cross-account use: This operation can't be used across different + * Amazon Web Services accounts.
Related operations:
UntagResource + *
Tagging or untagging an Amazon Web Services Payment Cryptography key * can allow or deny permission to the key.
Cross-account * use: This operation can't be used across different Amazon Web Services - * accounts.
Related operations:
Related operations:
TagResource + *
* Cross-account use: This operation can't be used across different Amazon - * Web Services accounts.
Related operations:
- * CreateAlias
- * GetAlias
Related operations:
CreateAlias + *
DeleteAlias + *
GetAlias + *
ListAliases + *
Specifies whether to enable the key. If the key is enabled, it is activated - * for use within the service. If the key is not enabled, then it is created but - * not activated. The default value is enabled.
- */ - inline bool GetEnabled() const{ return m_enabled; } - - /** - *Specifies whether to enable the key. If the key is enabled, it is activated - * for use within the service. If the key is not enabled, then it is created but - * not activated. The default value is enabled.
- */ - inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } - - /** - *Specifies whether to enable the key. If the key is enabled, it is activated - * for use within the service. If the key is not enabled, then it is created but - * not activated. The default value is enabled.
- */ - inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } - - /** - *Specifies whether to enable the key. If the key is enabled, it is activated - * for use within the service. If the key is not enabled, then it is created but - * not activated. The default value is enabled.
- */ - inline CreateKeyRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} - - - /** - *Specifies whether the key is exportable from the service.
- */ - inline bool GetExportable() const{ return m_exportable; } - - /** - *Specifies whether the key is exportable from the service.
- */ - inline bool ExportableHasBeenSet() const { return m_exportableHasBeenSet; } - - /** - *Specifies whether the key is exportable from the service.
- */ - inline void SetExportable(bool value) { m_exportableHasBeenSet = true; m_exportable = value; } - - /** - *Specifies whether the key is exportable from the service.
- */ - inline CreateKeyRequest& WithExportable(bool value) { SetExportable(value); return *this;} - - /** *The role of the key, the algorithm it supports, and the cryptographic * operations allowed with the key. This data is immutable after the key is @@ -197,140 +147,198 @@ namespace Model inline CreateKeyRequest& WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { SetKeyCheckValueAlgorithm(std::move(value)); return *this;} + /** + *
Specifies whether the key is exportable from the service.
+ */ + inline bool GetExportable() const{ return m_exportable; } + + /** + *Specifies whether the key is exportable from the service.
+ */ + inline bool ExportableHasBeenSet() const { return m_exportableHasBeenSet; } + + /** + *Specifies whether the key is exportable from the service.
+ */ + inline void SetExportable(bool value) { m_exportableHasBeenSet = true; m_exportable = value; } + + /** + *Specifies whether the key is exportable from the service.
+ */ + inline CreateKeyRequest& WithExportable(bool value) { SetExportable(value); return *this;} + + + /** + *Specifies whether to enable the key. If the key is enabled, it is activated + * for use within the service. If the key is not enabled, then it is created but + * not activated. The default value is enabled.
+ */ + inline bool GetEnabled() const{ return m_enabled; } + + /** + *Specifies whether to enable the key. If the key is enabled, it is activated + * for use within the service. If the key is not enabled, then it is created but + * not activated. The default value is enabled.
+ */ + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + + /** + *Specifies whether to enable the key. If the key is enabled, it is activated + * for use within the service. If the key is not enabled, then it is created but + * not activated. The default value is enabled.
+ */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + + /** + *Specifies whether to enable the key. If the key is enabled, it is activated + * for use within the service. If the key is not enabled, then it is created but + * not activated. The default value is enabled.
+ */ + inline CreateKeyRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} + + /** *Assigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline const Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Assigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline void SetTags(const Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline void SetTags(Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline CreateKeyRequest& WithTags(const Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline CreateKeyRequest& WithTags(Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline CreateKeyRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Assigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is created. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline CreateKeyRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: - bool m_enabled; - bool m_enabledHasBeenSet = false; - - bool m_exportable; - bool m_exportableHasBeenSet = false; - KeyAttributes m_keyAttributes; bool m_keyAttributesHasBeenSet = false; KeyCheckValueAlgorithm m_keyCheckValueAlgorithm; bool m_keyCheckValueAlgorithmHasBeenSet = false; + bool m_exportable; + bool m_exportableHasBeenSet = false; + + bool m_enabled; + bool m_enabledHasBeenSet = false; + Aws::VectorThe waiting period for key deletion. The default value is seven days.
- */ - inline int GetDeleteKeyInDays() const{ return m_deleteKeyInDays; } - - /** - *The waiting period for key deletion. The default value is seven days.
- */ - inline bool DeleteKeyInDaysHasBeenSet() const { return m_deleteKeyInDaysHasBeenSet; } - - /** - *The waiting period for key deletion. The default value is seven days.
- */ - inline void SetDeleteKeyInDays(int value) { m_deleteKeyInDaysHasBeenSet = true; m_deleteKeyInDays = value; } - - /** - *The waiting period for key deletion. The default value is seven days.
- */ - inline DeleteKeyRequest& WithDeleteKeyInDays(int value) { SetDeleteKeyInDays(value); return *this;} - - /** *The KeyARN
of the key that is scheduled for deletion.
The waiting period for key deletion. The default value is seven days.
+ */ + inline int GetDeleteKeyInDays() const{ return m_deleteKeyInDays; } + + /** + *The waiting period for key deletion. The default value is seven days.
+ */ + inline bool DeleteKeyInDaysHasBeenSet() const { return m_deleteKeyInDaysHasBeenSet; } + + /** + *The waiting period for key deletion. The default value is seven days.
+ */ + inline void SetDeleteKeyInDays(int value) { m_deleteKeyInDaysHasBeenSet = true; m_deleteKeyInDays = value; } + + /** + *The waiting period for key deletion. The default value is seven days.
+ */ + inline DeleteKeyRequest& WithDeleteKeyInDays(int value) { SetDeleteKeyInDays(value); return *this;} + + private: Aws::String m_keyIdentifier; bool m_keyIdentifierHasBeenSet = false; + + int m_deleteKeyInDays; + bool m_deleteKeyInDaysHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyMaterial.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyMaterial.h index 1006c777187..3db6da8888a 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyMaterial.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyMaterial.h @@ -5,9 +5,9 @@ #pragma once #includeParameter information for key material export using asymmetric RSA wrap and - * unwrap key exchange method
- */ - inline const ExportKeyCryptogram& GetKeyCryptogram() const{ return m_keyCryptogram; } - - /** - *Parameter information for key material export using asymmetric RSA wrap and - * unwrap key exchange method
- */ - inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; } - - /** - *Parameter information for key material export using asymmetric RSA wrap and - * unwrap key exchange method
- */ - inline void SetKeyCryptogram(const ExportKeyCryptogram& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = value; } - - /** - *Parameter information for key material export using asymmetric RSA wrap and - * unwrap key exchange method
- */ - inline void SetKeyCryptogram(ExportKeyCryptogram&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::move(value); } - - /** - *Parameter information for key material export using asymmetric RSA wrap and - * unwrap key exchange method
- */ - inline ExportKeyMaterial& WithKeyCryptogram(const ExportKeyCryptogram& value) { SetKeyCryptogram(value); return *this;} - - /** - *Parameter information for key material export using asymmetric RSA wrap and - * unwrap key exchange method
- */ - inline ExportKeyMaterial& WithKeyCryptogram(ExportKeyCryptogram&& value) { SetKeyCryptogram(std::move(value)); return *this;} - - /** *Parameter information for key material export using symmetric TR-31 key * exchange method.
@@ -151,16 +114,53 @@ namespace Model */ inline ExportKeyMaterial& WithTr34KeyBlock(ExportTr34KeyBlock&& value) { SetTr34KeyBlock(std::move(value)); return *this;} - private: - ExportKeyCryptogram m_keyCryptogram; - bool m_keyCryptogramHasBeenSet = false; + /** + *Parameter information for key material export using asymmetric RSA wrap and + * unwrap key exchange method
+ */ + inline const ExportKeyCryptogram& GetKeyCryptogram() const{ return m_keyCryptogram; } + + /** + *Parameter information for key material export using asymmetric RSA wrap and + * unwrap key exchange method
+ */ + inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; } + + /** + *Parameter information for key material export using asymmetric RSA wrap and + * unwrap key exchange method
+ */ + inline void SetKeyCryptogram(const ExportKeyCryptogram& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = value; } + + /** + *Parameter information for key material export using asymmetric RSA wrap and + * unwrap key exchange method
+ */ + inline void SetKeyCryptogram(ExportKeyCryptogram&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::move(value); } + + /** + *Parameter information for key material export using asymmetric RSA wrap and + * unwrap key exchange method
+ */ + inline ExportKeyMaterial& WithKeyCryptogram(const ExportKeyCryptogram& value) { SetKeyCryptogram(value); return *this;} + + /** + *Parameter information for key material export using asymmetric RSA wrap and + * unwrap key exchange method
+ */ + inline ExportKeyMaterial& WithKeyCryptogram(ExportKeyCryptogram&& value) { SetKeyCryptogram(std::move(value)); return *this;} + + private: ExportTr31KeyBlock m_tr31KeyBlock; bool m_tr31KeyBlockHasBeenSet = false; ExportTr34KeyBlock m_tr34KeyBlock; bool m_tr34KeyBlockHasBeenSet = false; + + ExportKeyCryptogram m_keyCryptogram; + bool m_keyCryptogramHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyRequest.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyRequest.h index b693523e555..e71f52ad0c8 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyRequest.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportKeyRequest.h @@ -6,9 +6,9 @@ #pragma once #includeThe attributes for IPEK generation during export.
+ *The key block format type, for example, TR-34 or TR-31, to use during key + * material export.
*/ - inline const ExportAttributes& GetExportAttributes() const{ return m_exportAttributes; } + inline const ExportKeyMaterial& GetKeyMaterial() const{ return m_keyMaterial; } /** - *The attributes for IPEK generation during export.
+ *The key block format type, for example, TR-34 or TR-31, to use during key + * material export.
*/ - inline bool ExportAttributesHasBeenSet() const { return m_exportAttributesHasBeenSet; } + inline bool KeyMaterialHasBeenSet() const { return m_keyMaterialHasBeenSet; } /** - *The attributes for IPEK generation during export.
+ *The key block format type, for example, TR-34 or TR-31, to use during key + * material export.
*/ - inline void SetExportAttributes(const ExportAttributes& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = value; } + inline void SetKeyMaterial(const ExportKeyMaterial& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = value; } /** - *The attributes for IPEK generation during export.
+ *The key block format type, for example, TR-34 or TR-31, to use during key + * material export.
*/ - inline void SetExportAttributes(ExportAttributes&& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = std::move(value); } + inline void SetKeyMaterial(ExportKeyMaterial&& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = std::move(value); } /** - *The attributes for IPEK generation during export.
+ *The key block format type, for example, TR-34 or TR-31, to use during key + * material export.
*/ - inline ExportKeyRequest& WithExportAttributes(const ExportAttributes& value) { SetExportAttributes(value); return *this;} + inline ExportKeyRequest& WithKeyMaterial(const ExportKeyMaterial& value) { SetKeyMaterial(value); return *this;} /** - *The attributes for IPEK generation during export.
+ *The key block format type, for example, TR-34 or TR-31, to use during key + * material export.
*/ - inline ExportKeyRequest& WithExportAttributes(ExportAttributes&& value) { SetExportAttributes(std::move(value)); return *this;} + inline ExportKeyRequest& WithKeyMaterial(ExportKeyMaterial&& value) { SetKeyMaterial(std::move(value)); return *this;} /** @@ -117,51 +123,45 @@ namespace Model /** - *The key block format type, for example, TR-34 or TR-31, to use during key - * material export.
+ *The attributes for IPEK generation during export.
*/ - inline const ExportKeyMaterial& GetKeyMaterial() const{ return m_keyMaterial; } + inline const ExportAttributes& GetExportAttributes() const{ return m_exportAttributes; } /** - *The key block format type, for example, TR-34 or TR-31, to use during key - * material export.
+ *The attributes for IPEK generation during export.
*/ - inline bool KeyMaterialHasBeenSet() const { return m_keyMaterialHasBeenSet; } + inline bool ExportAttributesHasBeenSet() const { return m_exportAttributesHasBeenSet; } /** - *The key block format type, for example, TR-34 or TR-31, to use during key - * material export.
+ *The attributes for IPEK generation during export.
*/ - inline void SetKeyMaterial(const ExportKeyMaterial& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = value; } + inline void SetExportAttributes(const ExportAttributes& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = value; } /** - *The key block format type, for example, TR-34 or TR-31, to use during key - * material export.
+ *The attributes for IPEK generation during export.
*/ - inline void SetKeyMaterial(ExportKeyMaterial&& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = std::move(value); } + inline void SetExportAttributes(ExportAttributes&& value) { m_exportAttributesHasBeenSet = true; m_exportAttributes = std::move(value); } /** - *The key block format type, for example, TR-34 or TR-31, to use during key - * material export.
+ *The attributes for IPEK generation during export.
*/ - inline ExportKeyRequest& WithKeyMaterial(const ExportKeyMaterial& value) { SetKeyMaterial(value); return *this;} + inline ExportKeyRequest& WithExportAttributes(const ExportAttributes& value) { SetExportAttributes(value); return *this;} /** - *The key block format type, for example, TR-34 or TR-31, to use during key - * material export.
+ *The attributes for IPEK generation during export.
*/ - inline ExportKeyRequest& WithKeyMaterial(ExportKeyMaterial&& value) { SetKeyMaterial(std::move(value)); return *this;} + inline ExportKeyRequest& WithExportAttributes(ExportAttributes&& value) { SetExportAttributes(std::move(value)); return *this;} private: - ExportAttributes m_exportAttributes; - bool m_exportAttributesHasBeenSet = false; + ExportKeyMaterial m_keyMaterial; + bool m_keyMaterialHasBeenSet = false; Aws::String m_exportKeyIdentifier; bool m_exportKeyIdentifierHasBeenSet = false; - ExportKeyMaterial m_keyMaterial; - bool m_keyMaterialHasBeenSet = false; + ExportAttributes m_exportAttributes; + bool m_exportAttributesHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr31KeyBlock.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr31KeyBlock.h index e9abd7c0d05..e1b59ed59e8 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr31KeyBlock.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr31KeyBlock.h @@ -6,6 +6,7 @@ #pragma once #includeOptional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
+ */ + inline const KeyBlockHeaders& GetKeyBlockHeaders() const{ return m_keyBlockHeaders; } + + /** + *Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
+ */ + inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; } + + /** + *Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
+ */ + inline void SetKeyBlockHeaders(const KeyBlockHeaders& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = value; } + + /** + *Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
+ */ + inline void SetKeyBlockHeaders(KeyBlockHeaders&& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = std::move(value); } + + /** + *Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
+ */ + inline ExportTr31KeyBlock& WithKeyBlockHeaders(const KeyBlockHeaders& value) { SetKeyBlockHeaders(value); return *this;} + + /** + *Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
+ */ + inline ExportTr31KeyBlock& WithKeyBlockHeaders(KeyBlockHeaders&& value) { SetKeyBlockHeaders(std::move(value)); return *this;} + private: Aws::String m_wrappingKeyIdentifier; bool m_wrappingKeyIdentifierHasBeenSet = false; + + KeyBlockHeaders m_keyBlockHeaders; + bool m_keyBlockHeadersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr34KeyBlock.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr34KeyBlock.h index 49b111781af..7ffc76d2f03 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr34KeyBlock.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ExportTr34KeyBlock.h @@ -7,6 +7,7 @@ #includeThe KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
+ * Payment Cryptography uses this certificate to wrap the key under export.
The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline const Aws::String& GetExportToken() const{ return m_exportToken; } /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline bool ExportTokenHasBeenSet() const { return m_exportTokenHasBeenSet; } /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline void SetExportToken(const Aws::String& value) { m_exportTokenHasBeenSet = true; m_exportToken = value; } /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline void SetExportToken(Aws::String&& value) { m_exportTokenHasBeenSet = true; m_exportToken = std::move(value); } /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline void SetExportToken(const char* value) { m_exportTokenHasBeenSet = true; m_exportToken.assign(value); } /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline ExportTr34KeyBlock& WithExportToken(const Aws::String& value) { SetExportToken(value); return *this;} /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline ExportTr34KeyBlock& WithExportToken(Aws::String&& value) { SetExportToken(std::move(value)); return *this;} /** *The export token to initiate key export from Amazon Web Services Payment * Cryptography. It also contains the signing key certificate that will sign the - * wrapped key during TR-34 key block generation. Call - * GetParametersForExport to receive an export token. It expires after 7 - * days. You can use the same export token to export multiple keys from the same - * service account.
+ * wrapped key during TR-34 key block generation. Call GetParametersForExport + * to receive an export token. It expires after 7 days. You can use the same export + * token to export multiple keys from the same service account. */ inline ExportTr34KeyBlock& WithExportToken(const char* value) { SetExportToken(value); return *this;} @@ -264,58 +314,49 @@ namespace Model /** - *The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
*/ - inline void SetWrappingKeyCertificate(const Aws::String& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = value; } + inline const KeyBlockHeaders& GetKeyBlockHeaders() const{ return m_keyBlockHeaders; } /** - *The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
*/ - inline void SetWrappingKeyCertificate(Aws::String&& value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate = std::move(value); } + inline bool KeyBlockHeadersHasBeenSet() const { return m_keyBlockHeadersHasBeenSet; } /** - *The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
*/ - inline void SetWrappingKeyCertificate(const char* value) { m_wrappingKeyCertificateHasBeenSet = true; m_wrappingKeyCertificate.assign(value); } + inline void SetKeyBlockHeaders(const KeyBlockHeaders& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = value; } /** - *The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
*/ - inline ExportTr34KeyBlock& WithWrappingKeyCertificate(const Aws::String& value) { SetWrappingKeyCertificate(value); return *this;} + inline void SetKeyBlockHeaders(KeyBlockHeaders&& value) { m_keyBlockHeadersHasBeenSet = true; m_keyBlockHeaders = std::move(value); } /** - *The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
*/ - inline ExportTr34KeyBlock& WithWrappingKeyCertificate(Aws::String&& value) { SetWrappingKeyCertificate(std::move(value)); return *this;} + inline ExportTr34KeyBlock& WithKeyBlockHeaders(const KeyBlockHeaders& value) { SetKeyBlockHeaders(value); return *this;} /** - *The KeyARN
of the wrapping key certificate. Amazon Web Services
- * Payment Cryptography uses this certificate to wrap the key under export.
Optional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
*/ - inline ExportTr34KeyBlock& WithWrappingKeyCertificate(const char* value) { SetWrappingKeyCertificate(value); return *this;} + inline ExportTr34KeyBlock& WithKeyBlockHeaders(KeyBlockHeaders&& value) { SetKeyBlockHeaders(std::move(value)); return *this;} private: Aws::String m_certificateAuthorityPublicKeyIdentifier; bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false; + Aws::String m_wrappingKeyCertificate; + bool m_wrappingKeyCertificateHasBeenSet = false; + Aws::String m_exportToken; bool m_exportTokenHasBeenSet = false; @@ -325,8 +366,8 @@ namespace Model Aws::String m_randomNonce; bool m_randomNonceHasBeenSet = false; - Aws::String m_wrappingKeyCertificate; - bool m_wrappingKeyCertificateHasBeenSet = false; + KeyBlockHeaders m_keyBlockHeaders; + bool m_keyBlockHeadersHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForExportResult.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForExportResult.h index 3df23c43541..8cd09a72fad 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForExportResult.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForExportResult.h @@ -6,8 +6,8 @@ #pragma once #includeThe export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline const Aws::String& GetExportToken() const{ return m_exportToken; } + inline const Aws::String& GetSigningKeyCertificate() const{ return m_signingKeyCertificate; } /** - *The export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline void SetExportToken(const Aws::String& value) { m_exportToken = value; } + inline void SetSigningKeyCertificate(const Aws::String& value) { m_signingKeyCertificate = value; } /** - *The export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline void SetExportToken(Aws::String&& value) { m_exportToken = std::move(value); } + inline void SetSigningKeyCertificate(Aws::String&& value) { m_signingKeyCertificate = std::move(value); } /** - *The export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline void SetExportToken(const char* value) { m_exportToken.assign(value); } + inline void SetSigningKeyCertificate(const char* value) { m_signingKeyCertificate.assign(value); } /** - *The export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline GetParametersForExportResult& WithExportToken(const Aws::String& value) { SetExportToken(value); return *this;} + inline GetParametersForExportResult& WithSigningKeyCertificate(const Aws::String& value) { SetSigningKeyCertificate(value); return *this;} /** - *The export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline GetParametersForExportResult& WithExportToken(Aws::String&& value) { SetExportToken(std::move(value)); return *this;} + inline GetParametersForExportResult& WithSigningKeyCertificate(Aws::String&& value) { SetSigningKeyCertificate(std::move(value)); return *this;} /** - *The export token to initiate key export from Amazon Web Services Payment - * Cryptography. The export token expires after 7 days. You can use the same export - * token to export multiple keys from the same service account.
+ *The signing key certificate in PEM format (base64 encoded) of the public key + * for signature within the TR-34 key block. The certificate expires after 7 + * days.
*/ - inline GetParametersForExportResult& WithExportToken(const char* value) { SetExportToken(value); return *this;} + inline GetParametersForExportResult& WithSigningKeyCertificate(const char* value) { SetSigningKeyCertificate(value); return *this;} /** - *The validity period of the export token.
+ *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
*/ - inline const Aws::Utils::DateTime& GetParametersValidUntilTimestamp() const{ return m_parametersValidUntilTimestamp; } + inline const Aws::String& GetSigningKeyCertificateChain() const{ return m_signingKeyCertificateChain; } /** - *The validity period of the export token.
+ *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
*/ - inline void SetParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { m_parametersValidUntilTimestamp = value; } + inline void SetSigningKeyCertificateChain(const Aws::String& value) { m_signingKeyCertificateChain = value; } /** - *The validity period of the export token.
+ *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
*/ - inline void SetParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { m_parametersValidUntilTimestamp = std::move(value); } + inline void SetSigningKeyCertificateChain(Aws::String&& value) { m_signingKeyCertificateChain = std::move(value); } /** - *The validity period of the export token.
+ *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
*/ - inline GetParametersForExportResult& WithParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { SetParametersValidUntilTimestamp(value); return *this;} + inline void SetSigningKeyCertificateChain(const char* value) { m_signingKeyCertificateChain.assign(value); } /** - *The validity period of the export token.
+ *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
*/ - inline GetParametersForExportResult& WithParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { SetParametersValidUntilTimestamp(std::move(value)); return *this;} + inline GetParametersForExportResult& WithSigningKeyCertificateChain(const Aws::String& value) { SetSigningKeyCertificateChain(value); return *this;} + + /** + *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
+ */ + inline GetParametersForExportResult& WithSigningKeyCertificateChain(Aws::String&& value) { SetSigningKeyCertificateChain(std::move(value)); return *this;} + + /** + *The root certificate authority (CA) that signed the signing key certificate + * in PEM format (base64 encoded).
+ */ + inline GetParametersForExportResult& WithSigningKeyCertificateChain(const char* value) { SetSigningKeyCertificateChain(value); return *this;} /** @@ -142,96 +159,79 @@ namespace Model /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
- */ - inline const Aws::String& GetSigningKeyCertificate() const{ return m_signingKeyCertificate; } - - /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline void SetSigningKeyCertificate(const Aws::String& value) { m_signingKeyCertificate = value; } + inline const Aws::String& GetExportToken() const{ return m_exportToken; } /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline void SetSigningKeyCertificate(Aws::String&& value) { m_signingKeyCertificate = std::move(value); } + inline void SetExportToken(const Aws::String& value) { m_exportToken = value; } /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline void SetSigningKeyCertificate(const char* value) { m_signingKeyCertificate.assign(value); } + inline void SetExportToken(Aws::String&& value) { m_exportToken = std::move(value); } /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline GetParametersForExportResult& WithSigningKeyCertificate(const Aws::String& value) { SetSigningKeyCertificate(value); return *this;} + inline void SetExportToken(const char* value) { m_exportToken.assign(value); } /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline GetParametersForExportResult& WithSigningKeyCertificate(Aws::String&& value) { SetSigningKeyCertificate(std::move(value)); return *this;} + inline GetParametersForExportResult& WithExportToken(const Aws::String& value) { SetExportToken(value); return *this;} /** - *The signing key certificate in PEM format (base64 encoded) of the public key - * for signature within the TR-34 key block. The certificate expires after 7 - * days.
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline GetParametersForExportResult& WithSigningKeyCertificate(const char* value) { SetSigningKeyCertificate(value); return *this;} - + inline GetParametersForExportResult& WithExportToken(Aws::String&& value) { SetExportToken(std::move(value)); return *this;} /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
+ *The export token to initiate key export from Amazon Web Services Payment + * Cryptography. The export token expires after 7 days. You can use the same export + * token to export multiple keys from the same service account.
*/ - inline const Aws::String& GetSigningKeyCertificateChain() const{ return m_signingKeyCertificateChain; } + inline GetParametersForExportResult& WithExportToken(const char* value) { SetExportToken(value); return *this;} - /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
- */ - inline void SetSigningKeyCertificateChain(const Aws::String& value) { m_signingKeyCertificateChain = value; } /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
+ *The validity period of the export token.
*/ - inline void SetSigningKeyCertificateChain(Aws::String&& value) { m_signingKeyCertificateChain = std::move(value); } + inline const Aws::Utils::DateTime& GetParametersValidUntilTimestamp() const{ return m_parametersValidUntilTimestamp; } /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
+ *The validity period of the export token.
*/ - inline void SetSigningKeyCertificateChain(const char* value) { m_signingKeyCertificateChain.assign(value); } + inline void SetParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { m_parametersValidUntilTimestamp = value; } /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
+ *The validity period of the export token.
*/ - inline GetParametersForExportResult& WithSigningKeyCertificateChain(const Aws::String& value) { SetSigningKeyCertificateChain(value); return *this;} + inline void SetParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { m_parametersValidUntilTimestamp = std::move(value); } /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
+ *The validity period of the export token.
*/ - inline GetParametersForExportResult& WithSigningKeyCertificateChain(Aws::String&& value) { SetSigningKeyCertificateChain(std::move(value)); return *this;} + inline GetParametersForExportResult& WithParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { SetParametersValidUntilTimestamp(value); return *this;} /** - *The root certificate authority (CA) that signed the signing key certificate - * in PEM format (base64 encoded).
+ *The validity period of the export token.
*/ - inline GetParametersForExportResult& WithSigningKeyCertificateChain(const char* value) { SetSigningKeyCertificateChain(value); return *this;} + inline GetParametersForExportResult& WithParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { SetParametersValidUntilTimestamp(std::move(value)); return *this;} @@ -257,15 +257,15 @@ namespace Model private: - Aws::String m_exportToken; + Aws::String m_signingKeyCertificate; - Aws::Utils::DateTime m_parametersValidUntilTimestamp; + Aws::String m_signingKeyCertificateChain; KeyAlgorithm m_signingKeyAlgorithm; - Aws::String m_signingKeyCertificate; + Aws::String m_exportToken; - Aws::String m_signingKeyCertificateChain; + Aws::Utils::DateTime m_parametersValidUntilTimestamp; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForImportResult.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForImportResult.h index ee2617f8f83..664a4d41bf9 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForImportResult.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/GetParametersForImportResult.h @@ -6,8 +6,8 @@ #pragma once #includeThe import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline const Aws::String& GetImportToken() const{ return m_importToken; } + inline const Aws::String& GetWrappingKeyCertificate() const{ return m_wrappingKeyCertificate; } /** - *The import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline void SetImportToken(const Aws::String& value) { m_importToken = value; } + inline void SetWrappingKeyCertificate(const Aws::String& value) { m_wrappingKeyCertificate = value; } /** - *The import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline void SetImportToken(Aws::String&& value) { m_importToken = std::move(value); } + inline void SetWrappingKeyCertificate(Aws::String&& value) { m_wrappingKeyCertificate = std::move(value); } /** - *The import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline void SetImportToken(const char* value) { m_importToken.assign(value); } + inline void SetWrappingKeyCertificate(const char* value) { m_wrappingKeyCertificate.assign(value); } /** - *The import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline GetParametersForImportResult& WithImportToken(const Aws::String& value) { SetImportToken(value); return *this;} + inline GetParametersForImportResult& WithWrappingKeyCertificate(const Aws::String& value) { SetWrappingKeyCertificate(value); return *this;} /** - *The import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline GetParametersForImportResult& WithImportToken(Aws::String&& value) { SetImportToken(std::move(value)); return *this;} + inline GetParametersForImportResult& WithWrappingKeyCertificate(Aws::String&& value) { SetWrappingKeyCertificate(std::move(value)); return *this;} /** - *The import token to initiate key import into Amazon Web Services Payment - * Cryptography. The import token expires after 7 days. You can use the same import - * token to import multiple keys to the same service account.
+ *The wrapping key certificate in PEM format (base64 encoded) of the wrapping + * key for use within the TR-34 key block. The certificate expires in 7 days.
*/ - inline GetParametersForImportResult& WithImportToken(const char* value) { SetImportToken(value); return *this;} + inline GetParametersForImportResult& WithWrappingKeyCertificate(const char* value) { SetWrappingKeyCertificate(value); return *this;} /** - *The validity period of the import token.
+ *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
*/ - inline const Aws::Utils::DateTime& GetParametersValidUntilTimestamp() const{ return m_parametersValidUntilTimestamp; } + inline const Aws::String& GetWrappingKeyCertificateChain() const{ return m_wrappingKeyCertificateChain; } /** - *The validity period of the import token.
+ *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
*/ - inline void SetParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { m_parametersValidUntilTimestamp = value; } + inline void SetWrappingKeyCertificateChain(const Aws::String& value) { m_wrappingKeyCertificateChain = value; } /** - *The validity period of the import token.
+ *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
*/ - inline void SetParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { m_parametersValidUntilTimestamp = std::move(value); } + inline void SetWrappingKeyCertificateChain(Aws::String&& value) { m_wrappingKeyCertificateChain = std::move(value); } /** - *The validity period of the import token.
+ *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
*/ - inline GetParametersForImportResult& WithParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { SetParametersValidUntilTimestamp(value); return *this;} + inline void SetWrappingKeyCertificateChain(const char* value) { m_wrappingKeyCertificateChain.assign(value); } /** - *The validity period of the import token.
+ *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
*/ - inline GetParametersForImportResult& WithParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { SetParametersValidUntilTimestamp(std::move(value)); return *this;} + inline GetParametersForImportResult& WithWrappingKeyCertificateChain(const Aws::String& value) { SetWrappingKeyCertificateChain(value); return *this;} + + /** + *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
+ */ + inline GetParametersForImportResult& WithWrappingKeyCertificateChain(Aws::String&& value) { SetWrappingKeyCertificateChain(std::move(value)); return *this;} + + /** + *The Amazon Web Services Payment Cryptography root certificate authority (CA) + * that signed the wrapping key certificate in PEM format (base64 encoded).
+ */ + inline GetParametersForImportResult& WithWrappingKeyCertificateChain(const char* value) { SetWrappingKeyCertificateChain(value); return *this;} /** @@ -142,89 +152,79 @@ namespace Model /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
- */ - inline const Aws::String& GetWrappingKeyCertificate() const{ return m_wrappingKeyCertificate; } - - /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline void SetWrappingKeyCertificate(const Aws::String& value) { m_wrappingKeyCertificate = value; } + inline const Aws::String& GetImportToken() const{ return m_importToken; } /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline void SetWrappingKeyCertificate(Aws::String&& value) { m_wrappingKeyCertificate = std::move(value); } + inline void SetImportToken(const Aws::String& value) { m_importToken = value; } /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline void SetWrappingKeyCertificate(const char* value) { m_wrappingKeyCertificate.assign(value); } + inline void SetImportToken(Aws::String&& value) { m_importToken = std::move(value); } /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline GetParametersForImportResult& WithWrappingKeyCertificate(const Aws::String& value) { SetWrappingKeyCertificate(value); return *this;} + inline void SetImportToken(const char* value) { m_importToken.assign(value); } /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline GetParametersForImportResult& WithWrappingKeyCertificate(Aws::String&& value) { SetWrappingKeyCertificate(std::move(value)); return *this;} + inline GetParametersForImportResult& WithImportToken(const Aws::String& value) { SetImportToken(value); return *this;} /** - *The wrapping key certificate in PEM format (base64 encoded) of the wrapping - * key for use within the TR-34 key block. The certificate expires in 7 days.
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline GetParametersForImportResult& WithWrappingKeyCertificate(const char* value) { SetWrappingKeyCertificate(value); return *this;} - + inline GetParametersForImportResult& WithImportToken(Aws::String&& value) { SetImportToken(std::move(value)); return *this;} /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
+ *The import token to initiate key import into Amazon Web Services Payment + * Cryptography. The import token expires after 7 days. You can use the same import + * token to import multiple keys to the same service account.
*/ - inline const Aws::String& GetWrappingKeyCertificateChain() const{ return m_wrappingKeyCertificateChain; } + inline GetParametersForImportResult& WithImportToken(const char* value) { SetImportToken(value); return *this;} - /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
- */ - inline void SetWrappingKeyCertificateChain(const Aws::String& value) { m_wrappingKeyCertificateChain = value; } /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
+ *The validity period of the import token.
*/ - inline void SetWrappingKeyCertificateChain(Aws::String&& value) { m_wrappingKeyCertificateChain = std::move(value); } + inline const Aws::Utils::DateTime& GetParametersValidUntilTimestamp() const{ return m_parametersValidUntilTimestamp; } /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
+ *The validity period of the import token.
*/ - inline void SetWrappingKeyCertificateChain(const char* value) { m_wrappingKeyCertificateChain.assign(value); } + inline void SetParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { m_parametersValidUntilTimestamp = value; } /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
+ *The validity period of the import token.
*/ - inline GetParametersForImportResult& WithWrappingKeyCertificateChain(const Aws::String& value) { SetWrappingKeyCertificateChain(value); return *this;} + inline void SetParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { m_parametersValidUntilTimestamp = std::move(value); } /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
+ *The validity period of the import token.
*/ - inline GetParametersForImportResult& WithWrappingKeyCertificateChain(Aws::String&& value) { SetWrappingKeyCertificateChain(std::move(value)); return *this;} + inline GetParametersForImportResult& WithParametersValidUntilTimestamp(const Aws::Utils::DateTime& value) { SetParametersValidUntilTimestamp(value); return *this;} /** - *The Amazon Web Services Payment Cryptography root certificate authority (CA) - * that signed the wrapping key certificate in PEM format (base64 encoded).
+ *The validity period of the import token.
*/ - inline GetParametersForImportResult& WithWrappingKeyCertificateChain(const char* value) { SetWrappingKeyCertificateChain(value); return *this;} + inline GetParametersForImportResult& WithParametersValidUntilTimestamp(Aws::Utils::DateTime&& value) { SetParametersValidUntilTimestamp(std::move(value)); return *this;} @@ -250,15 +250,15 @@ namespace Model private: - Aws::String m_importToken; + Aws::String m_wrappingKeyCertificate; - Aws::Utils::DateTime m_parametersValidUntilTimestamp; + Aws::String m_wrappingKeyCertificateChain; KeyAlgorithm m_wrappingKeyAlgorithm; - Aws::String m_wrappingKeyCertificate; + Aws::String m_importToken; - Aws::String m_wrappingKeyCertificateChain; + Aws::Utils::DateTime m_parametersValidUntilTimestamp; Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyCryptogram.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyCryptogram.h index 9c78fb65b32..871c3b9955c 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyCryptogram.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyCryptogram.h @@ -5,8 +5,8 @@ #pragma once #includeSpecifies whether the key is exportable from the service.
*/ @@ -61,6 +80,47 @@ namespace Model inline ImportKeyCryptogram& WithExportable(bool value) { SetExportable(value); return *this;} + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline const Aws::String& GetWrappedKeyCryptogram() const{ return m_wrappedKeyCryptogram; } + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline bool WrappedKeyCryptogramHasBeenSet() const { return m_wrappedKeyCryptogramHasBeenSet; } + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline void SetWrappedKeyCryptogram(const Aws::String& value) { m_wrappedKeyCryptogramHasBeenSet = true; m_wrappedKeyCryptogram = value; } + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline void SetWrappedKeyCryptogram(Aws::String&& value) { m_wrappedKeyCryptogramHasBeenSet = true; m_wrappedKeyCryptogram = std::move(value); } + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline void SetWrappedKeyCryptogram(const char* value) { m_wrappedKeyCryptogramHasBeenSet = true; m_wrappedKeyCryptogram.assign(value); } + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline ImportKeyCryptogram& WithWrappedKeyCryptogram(const Aws::String& value) { SetWrappedKeyCryptogram(value); return *this;} + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline ImportKeyCryptogram& WithWrappedKeyCryptogram(Aws::String&& value) { SetWrappedKeyCryptogram(std::move(value)); return *this;} + + /** + *The RSA wrapped key cryptogram under import.
+ */ + inline ImportKeyCryptogram& WithWrappedKeyCryptogram(const char* value) { SetWrappedKeyCryptogram(value); return *this;} + + /** *The import token that initiates key import using the asymmetric RSA wrap and * unwrap key exchange method into AWS Payment Cryptography. It expires after 7 @@ -126,66 +186,6 @@ namespace Model inline ImportKeyCryptogram& WithImportToken(const char* value) { SetImportToken(value); return *this;} - - inline const KeyAttributes& GetKeyAttributes() const{ return m_keyAttributes; } - - - inline bool KeyAttributesHasBeenSet() const { return m_keyAttributesHasBeenSet; } - - - inline void SetKeyAttributes(const KeyAttributes& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = value; } - - - inline void SetKeyAttributes(KeyAttributes&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = std::move(value); } - - - inline ImportKeyCryptogram& WithKeyAttributes(const KeyAttributes& value) { SetKeyAttributes(value); return *this;} - - - inline ImportKeyCryptogram& WithKeyAttributes(KeyAttributes&& value) { SetKeyAttributes(std::move(value)); return *this;} - - - /** - *
The RSA wrapped key cryptogram under import.
- */ - inline const Aws::String& GetWrappedKeyCryptogram() const{ return m_wrappedKeyCryptogram; } - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline bool WrappedKeyCryptogramHasBeenSet() const { return m_wrappedKeyCryptogramHasBeenSet; } - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline void SetWrappedKeyCryptogram(const Aws::String& value) { m_wrappedKeyCryptogramHasBeenSet = true; m_wrappedKeyCryptogram = value; } - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline void SetWrappedKeyCryptogram(Aws::String&& value) { m_wrappedKeyCryptogramHasBeenSet = true; m_wrappedKeyCryptogram = std::move(value); } - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline void SetWrappedKeyCryptogram(const char* value) { m_wrappedKeyCryptogramHasBeenSet = true; m_wrappedKeyCryptogram.assign(value); } - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline ImportKeyCryptogram& WithWrappedKeyCryptogram(const Aws::String& value) { SetWrappedKeyCryptogram(value); return *this;} - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline ImportKeyCryptogram& WithWrappedKeyCryptogram(Aws::String&& value) { SetWrappedKeyCryptogram(std::move(value)); return *this;} - - /** - *The RSA wrapped key cryptogram under import.
- */ - inline ImportKeyCryptogram& WithWrappedKeyCryptogram(const char* value) { SetWrappedKeyCryptogram(value); return *this;} - - /** *The wrapping spec for the wrapped key cryptogram.
*/ @@ -218,18 +218,18 @@ namespace Model private: - bool m_exportable; - bool m_exportableHasBeenSet = false; - - Aws::String m_importToken; - bool m_importTokenHasBeenSet = false; - KeyAttributes m_keyAttributes; bool m_keyAttributesHasBeenSet = false; + bool m_exportable; + bool m_exportableHasBeenSet = false; + Aws::String m_wrappedKeyCryptogram; bool m_wrappedKeyCryptogramHasBeenSet = false; + Aws::String m_importToken; + bool m_importTokenHasBeenSet = false; + WrappingKeySpec m_wrappingSpec; bool m_wrappingSpecHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyMaterial.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyMaterial.h index 2c7cd80f454..dd17a561aec 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyMaterial.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyMaterial.h @@ -5,11 +5,11 @@ #pragma once #includeParameter information for key material import using asymmetric RSA wrap and - * unwrap key exchange method.
+ *Parameter information for root public key certificate import.
*/ - inline const ImportKeyCryptogram& GetKeyCryptogram() const{ return m_keyCryptogram; } + inline const RootCertificatePublicKey& GetRootCertificatePublicKey() const{ return m_rootCertificatePublicKey; } /** - *Parameter information for key material import using asymmetric RSA wrap and - * unwrap key exchange method.
+ *Parameter information for root public key certificate import.
*/ - inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; } + inline bool RootCertificatePublicKeyHasBeenSet() const { return m_rootCertificatePublicKeyHasBeenSet; } /** - *Parameter information for key material import using asymmetric RSA wrap and - * unwrap key exchange method.
+ *Parameter information for root public key certificate import.
*/ - inline void SetKeyCryptogram(const ImportKeyCryptogram& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = value; } + inline void SetRootCertificatePublicKey(const RootCertificatePublicKey& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = value; } /** - *Parameter information for key material import using asymmetric RSA wrap and - * unwrap key exchange method.
+ *Parameter information for root public key certificate import.
*/ - inline void SetKeyCryptogram(ImportKeyCryptogram&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::move(value); } + inline void SetRootCertificatePublicKey(RootCertificatePublicKey&& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = std::move(value); } /** - *Parameter information for key material import using asymmetric RSA wrap and - * unwrap key exchange method.
+ *Parameter information for root public key certificate import.
*/ - inline ImportKeyMaterial& WithKeyCryptogram(const ImportKeyCryptogram& value) { SetKeyCryptogram(value); return *this;} + inline ImportKeyMaterial& WithRootCertificatePublicKey(const RootCertificatePublicKey& value) { SetRootCertificatePublicKey(value); return *this;} /** - *Parameter information for key material import using asymmetric RSA wrap and - * unwrap key exchange method.
+ *Parameter information for root public key certificate import.
*/ - inline ImportKeyMaterial& WithKeyCryptogram(ImportKeyCryptogram&& value) { SetKeyCryptogram(std::move(value)); return *this;} + inline ImportKeyMaterial& WithRootCertificatePublicKey(RootCertificatePublicKey&& value) { SetRootCertificatePublicKey(std::move(value)); return *this;} /** - *Parameter information for root public key certificate import.
+ *Parameter information for trusted public key certificate import.
*/ - inline const RootCertificatePublicKey& GetRootCertificatePublicKey() const{ return m_rootCertificatePublicKey; } + inline const TrustedCertificatePublicKey& GetTrustedCertificatePublicKey() const{ return m_trustedCertificatePublicKey; } /** - *Parameter information for root public key certificate import.
+ *Parameter information for trusted public key certificate import.
*/ - inline bool RootCertificatePublicKeyHasBeenSet() const { return m_rootCertificatePublicKeyHasBeenSet; } + inline bool TrustedCertificatePublicKeyHasBeenSet() const { return m_trustedCertificatePublicKeyHasBeenSet; } /** - *Parameter information for root public key certificate import.
+ *Parameter information for trusted public key certificate import.
*/ - inline void SetRootCertificatePublicKey(const RootCertificatePublicKey& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = value; } + inline void SetTrustedCertificatePublicKey(const TrustedCertificatePublicKey& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = value; } /** - *Parameter information for root public key certificate import.
+ *Parameter information for trusted public key certificate import.
*/ - inline void SetRootCertificatePublicKey(RootCertificatePublicKey&& value) { m_rootCertificatePublicKeyHasBeenSet = true; m_rootCertificatePublicKey = std::move(value); } + inline void SetTrustedCertificatePublicKey(TrustedCertificatePublicKey&& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = std::move(value); } /** - *Parameter information for root public key certificate import.
+ *Parameter information for trusted public key certificate import.
*/ - inline ImportKeyMaterial& WithRootCertificatePublicKey(const RootCertificatePublicKey& value) { SetRootCertificatePublicKey(value); return *this;} + inline ImportKeyMaterial& WithTrustedCertificatePublicKey(const TrustedCertificatePublicKey& value) { SetTrustedCertificatePublicKey(value); return *this;} /** - *Parameter information for root public key certificate import.
+ *Parameter information for trusted public key certificate import.
*/ - inline ImportKeyMaterial& WithRootCertificatePublicKey(RootCertificatePublicKey&& value) { SetRootCertificatePublicKey(std::move(value)); return *this;} + inline ImportKeyMaterial& WithTrustedCertificatePublicKey(TrustedCertificatePublicKey&& value) { SetTrustedCertificatePublicKey(std::move(value)); return *this;} /** @@ -186,51 +180,57 @@ namespace Model /** - *Parameter information for trusted public key certificate import.
+ *Parameter information for key material import using asymmetric RSA wrap and + * unwrap key exchange method.
*/ - inline const TrustedCertificatePublicKey& GetTrustedCertificatePublicKey() const{ return m_trustedCertificatePublicKey; } + inline const ImportKeyCryptogram& GetKeyCryptogram() const{ return m_keyCryptogram; } /** - *Parameter information for trusted public key certificate import.
+ *Parameter information for key material import using asymmetric RSA wrap and + * unwrap key exchange method.
*/ - inline bool TrustedCertificatePublicKeyHasBeenSet() const { return m_trustedCertificatePublicKeyHasBeenSet; } + inline bool KeyCryptogramHasBeenSet() const { return m_keyCryptogramHasBeenSet; } /** - *Parameter information for trusted public key certificate import.
+ *Parameter information for key material import using asymmetric RSA wrap and + * unwrap key exchange method.
*/ - inline void SetTrustedCertificatePublicKey(const TrustedCertificatePublicKey& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = value; } + inline void SetKeyCryptogram(const ImportKeyCryptogram& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = value; } /** - *Parameter information for trusted public key certificate import.
+ *Parameter information for key material import using asymmetric RSA wrap and + * unwrap key exchange method.
*/ - inline void SetTrustedCertificatePublicKey(TrustedCertificatePublicKey&& value) { m_trustedCertificatePublicKeyHasBeenSet = true; m_trustedCertificatePublicKey = std::move(value); } + inline void SetKeyCryptogram(ImportKeyCryptogram&& value) { m_keyCryptogramHasBeenSet = true; m_keyCryptogram = std::move(value); } /** - *Parameter information for trusted public key certificate import.
+ *Parameter information for key material import using asymmetric RSA wrap and + * unwrap key exchange method.
*/ - inline ImportKeyMaterial& WithTrustedCertificatePublicKey(const TrustedCertificatePublicKey& value) { SetTrustedCertificatePublicKey(value); return *this;} + inline ImportKeyMaterial& WithKeyCryptogram(const ImportKeyCryptogram& value) { SetKeyCryptogram(value); return *this;} /** - *Parameter information for trusted public key certificate import.
+ *Parameter information for key material import using asymmetric RSA wrap and + * unwrap key exchange method.
*/ - inline ImportKeyMaterial& WithTrustedCertificatePublicKey(TrustedCertificatePublicKey&& value) { SetTrustedCertificatePublicKey(std::move(value)); return *this;} + inline ImportKeyMaterial& WithKeyCryptogram(ImportKeyCryptogram&& value) { SetKeyCryptogram(std::move(value)); return *this;} private: - ImportKeyCryptogram m_keyCryptogram; - bool m_keyCryptogramHasBeenSet = false; - RootCertificatePublicKey m_rootCertificatePublicKey; bool m_rootCertificatePublicKeyHasBeenSet = false; + TrustedCertificatePublicKey m_trustedCertificatePublicKey; + bool m_trustedCertificatePublicKeyHasBeenSet = false; + ImportTr31KeyBlock m_tr31KeyBlock; bool m_tr31KeyBlockHasBeenSet = false; ImportTr34KeyBlock m_tr34KeyBlock; bool m_tr34KeyBlockHasBeenSet = false; - TrustedCertificatePublicKey m_trustedCertificatePublicKey; - bool m_trustedCertificatePublicKeyHasBeenSet = false; + ImportKeyCryptogram m_keyCryptogram; + bool m_keyCryptogramHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyRequest.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyRequest.h index d24fc7f178e..2d09c76dd1e 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyRequest.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportKeyRequest.h @@ -6,8 +6,8 @@ #pragma once #includeSpecifies whether import key is enabled.
+ *The key or public key certificate type to use during key material import, for + * example TR-34 or RootCertificatePublicKey.
*/ - inline bool GetEnabled() const{ return m_enabled; } + inline const ImportKeyMaterial& GetKeyMaterial() const{ return m_keyMaterial; } /** - *Specifies whether import key is enabled.
+ *The key or public key certificate type to use during key material import, for + * example TR-34 or RootCertificatePublicKey.
*/ - inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + inline bool KeyMaterialHasBeenSet() const { return m_keyMaterialHasBeenSet; } /** - *Specifies whether import key is enabled.
+ *The key or public key certificate type to use during key material import, for + * example TR-34 or RootCertificatePublicKey.
*/ - inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + inline void SetKeyMaterial(const ImportKeyMaterial& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = value; } /** - *Specifies whether import key is enabled.
+ *The key or public key certificate type to use during key material import, for + * example TR-34 or RootCertificatePublicKey.
*/ - inline ImportKeyRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} + inline void SetKeyMaterial(ImportKeyMaterial&& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = std::move(value); } + + /** + *The key or public key certificate type to use during key material import, for + * example TR-34 or RootCertificatePublicKey.
+ */ + inline ImportKeyRequest& WithKeyMaterial(const ImportKeyMaterial& value) { SetKeyMaterial(value); return *this;} + + /** + *The key or public key certificate type to use during key material import, for + * example TR-34 or RootCertificatePublicKey.
+ */ + inline ImportKeyRequest& WithKeyMaterial(ImportKeyMaterial&& value) { SetKeyMaterial(std::move(value)); return *this;} /** @@ -126,188 +142,180 @@ namespace Model /** - *The key or public key certificate type to use during key material import, for - * example TR-34 or RootCertificatePublicKey.
- */ - inline const ImportKeyMaterial& GetKeyMaterial() const{ return m_keyMaterial; } - - /** - *The key or public key certificate type to use during key material import, for - * example TR-34 or RootCertificatePublicKey.
- */ - inline bool KeyMaterialHasBeenSet() const { return m_keyMaterialHasBeenSet; } - - /** - *The key or public key certificate type to use during key material import, for - * example TR-34 or RootCertificatePublicKey.
+ *Specifies whether import key is enabled.
*/ - inline void SetKeyMaterial(const ImportKeyMaterial& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = value; } + inline bool GetEnabled() const{ return m_enabled; } /** - *The key or public key certificate type to use during key material import, for - * example TR-34 or RootCertificatePublicKey.
+ *Specifies whether import key is enabled.
*/ - inline void SetKeyMaterial(ImportKeyMaterial&& value) { m_keyMaterialHasBeenSet = true; m_keyMaterial = std::move(value); } + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } /** - *The key or public key certificate type to use during key material import, for - * example TR-34 or RootCertificatePublicKey.
+ *Specifies whether import key is enabled.
*/ - inline ImportKeyRequest& WithKeyMaterial(const ImportKeyMaterial& value) { SetKeyMaterial(value); return *this;} + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } /** - *The key or public key certificate type to use during key material import, for - * example TR-34 or RootCertificatePublicKey.
+ *Specifies whether import key is enabled.
*/ - inline ImportKeyRequest& WithKeyMaterial(ImportKeyMaterial&& value) { SetKeyMaterial(std::move(value)); return *this;} + inline ImportKeyRequest& WithEnabled(bool value) { SetEnabled(value); return *this;} /** *Assigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline const Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Assigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline void SetTags(const Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline void SetTags(Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline ImportKeyRequest& WithTags(const Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline ImportKeyRequest& WithTags(Aws::VectorAssigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline ImportKeyRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Assigns one or more tags to the Amazon Web Services Payment Cryptography key. * Use this parameter to tag a key when it is imported. To tag an existing Amazon - * Web Services Payment Cryptography key, use the TagResource operation.
- *Each tag consists of a tag key and a tag value. Both the tag key and the tag - * value are required, but the tag value can be an empty (null) string. You can't - * have more than one tag on an Amazon Web Services Payment Cryptography key with - * the same tag key. If you specify an existing tag key with a different tag value, - * Amazon Web Services Payment Cryptography replaces the current tag value with the - * specified one.
Don't include personal, confidential or - * sensitive information in this field. This field may be displayed in plaintext in - * CloudTrail logs and other output.
Tagging or - * untagging an Amazon Web Services Payment Cryptography key can allow or deny - * permission to the key.
+ * Web Services Payment Cryptography key, use the TagResource + * operation.Each tag consists of a tag key and a tag value. Both the tag + * key and the tag value are required, but the tag value can be an empty (null) + * string. You can't have more than one tag on an Amazon Web Services Payment + * Cryptography key with the same tag key. If you specify an existing tag key with + * a different tag value, Amazon Web Services Payment Cryptography replaces the + * current tag value with the specified one.
Don't include + * personal, confidential or sensitive information in this field. This field may be + * displayed in plaintext in CloudTrail logs and other output.
+ *Tagging or untagging an Amazon Web Services Payment Cryptography key + * can allow or deny permission to the key.
*/ inline ImportKeyRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: - bool m_enabled; - bool m_enabledHasBeenSet = false; + ImportKeyMaterial m_keyMaterial; + bool m_keyMaterialHasBeenSet = false; KeyCheckValueAlgorithm m_keyCheckValueAlgorithm; bool m_keyCheckValueAlgorithmHasBeenSet = false; - ImportKeyMaterial m_keyMaterial; - bool m_keyMaterialHasBeenSet = false; + bool m_enabled; + bool m_enabledHasBeenSet = false; Aws::VectorThe TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The TR-31 wrapped key block to import.
+ *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
+ * block during import.
The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline const Aws::String& GetWrappingKeyIdentifier() const{ return m_wrappingKeyIdentifier; } + inline const Aws::String& GetWrappedKeyBlock() const{ return m_wrappedKeyBlock; } /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline bool WrappingKeyIdentifierHasBeenSet() const { return m_wrappingKeyIdentifierHasBeenSet; } + inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; } /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline void SetWrappingKeyIdentifier(const Aws::String& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = value; } + inline void SetWrappedKeyBlock(const Aws::String& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = value; } /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline void SetWrappingKeyIdentifier(Aws::String&& value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier = std::move(value); } + inline void SetWrappedKeyBlock(Aws::String&& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = std::move(value); } /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline void SetWrappingKeyIdentifier(const char* value) { m_wrappingKeyIdentifierHasBeenSet = true; m_wrappingKeyIdentifier.assign(value); } + inline void SetWrappedKeyBlock(const char* value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock.assign(value); } /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline ImportTr31KeyBlock& WithWrappingKeyIdentifier(const Aws::String& value) { SetWrappingKeyIdentifier(value); return *this;} + inline ImportTr31KeyBlock& WithWrappedKeyBlock(const Aws::String& value) { SetWrappedKeyBlock(value); return *this;} /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline ImportTr31KeyBlock& WithWrappingKeyIdentifier(Aws::String&& value) { SetWrappingKeyIdentifier(std::move(value)); return *this;} + inline ImportTr31KeyBlock& WithWrappedKeyBlock(Aws::String&& value) { SetWrappedKeyBlock(std::move(value)); return *this;} /** - *The KeyARN
of the key that will decrypt or unwrap a TR-31 key
- * block during import.
The TR-31 wrapped key block to import.
*/ - inline ImportTr31KeyBlock& WithWrappingKeyIdentifier(const char* value) { SetWrappingKeyIdentifier(value); return *this;} + inline ImportTr31KeyBlock& WithWrappedKeyBlock(const char* value) { SetWrappedKeyBlock(value); return *this;} private: - Aws::String m_wrappedKeyBlock; - bool m_wrappedKeyBlockHasBeenSet = false; - Aws::String m_wrappingKeyIdentifier; bool m_wrappingKeyIdentifierHasBeenSet = false; + + Aws::String m_wrappedKeyBlock; + bool m_wrappedKeyBlockHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportTr34KeyBlock.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportTr34KeyBlock.h index 6df8e4e8742..e743c19bb02 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportTr34KeyBlock.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ImportTr34KeyBlock.h @@ -88,6 +88,55 @@ namespace Model inline ImportTr34KeyBlock& WithCertificateAuthorityPublicKeyIdentifier(const char* value) { SetCertificateAuthorityPublicKeyIdentifier(value); return *this;} + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline const Aws::String& GetSigningKeyCertificate() const{ return m_signingKeyCertificate; } + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline bool SigningKeyCertificateHasBeenSet() const { return m_signingKeyCertificateHasBeenSet; } + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline void SetSigningKeyCertificate(const Aws::String& value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = value; } + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline void SetSigningKeyCertificate(Aws::String&& value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = std::move(value); } + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline void SetSigningKeyCertificate(const char* value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate.assign(value); } + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline ImportTr34KeyBlock& WithSigningKeyCertificate(const Aws::String& value) { SetSigningKeyCertificate(value); return *this;} + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline ImportTr34KeyBlock& WithSigningKeyCertificate(Aws::String&& value) { SetSigningKeyCertificate(std::move(value)); return *this;} + + /** + *The public key component in PEM certificate format of the private key that + * signs the KDH TR-34 WrappedKeyBlock.
+ */ + inline ImportTr34KeyBlock& WithSigningKeyCertificate(const char* value) { SetSigningKeyCertificate(value); return *this;} + + /** *The import token that initiates key import using the asymmetric TR-34 key * exchange method into Amazon Web Services Payment Cryptography. It expires after @@ -153,6 +202,47 @@ namespace Model inline ImportTr34KeyBlock& WithImportToken(const char* value) { SetImportToken(value); return *this;} + /** + *
The TR-34 wrapped key block to import.
+ */ + inline const Aws::String& GetWrappedKeyBlock() const{ return m_wrappedKeyBlock; } + + /** + *The TR-34 wrapped key block to import.
+ */ + inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; } + + /** + *The TR-34 wrapped key block to import.
+ */ + inline void SetWrappedKeyBlock(const Aws::String& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = value; } + + /** + *The TR-34 wrapped key block to import.
+ */ + inline void SetWrappedKeyBlock(Aws::String&& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = std::move(value); } + + /** + *The TR-34 wrapped key block to import.
+ */ + inline void SetWrappedKeyBlock(const char* value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock.assign(value); } + + /** + *The TR-34 wrapped key block to import.
+ */ + inline ImportTr34KeyBlock& WithWrappedKeyBlock(const Aws::String& value) { SetWrappedKeyBlock(value); return *this;} + + /** + *The TR-34 wrapped key block to import.
+ */ + inline ImportTr34KeyBlock& WithWrappedKeyBlock(Aws::String&& value) { SetWrappedKeyBlock(std::move(value)); return *this;} + + /** + *The TR-34 wrapped key block to import.
+ */ + inline ImportTr34KeyBlock& WithWrappedKeyBlock(const char* value) { SetWrappedKeyBlock(value); return *this;} + + /** *The key block format to use during key import. The only value allowed is
* X9_TR34_2012
.
The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline const Aws::String& GetSigningKeyCertificate() const{ return m_signingKeyCertificate; } - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline bool SigningKeyCertificateHasBeenSet() const { return m_signingKeyCertificateHasBeenSet; } - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline void SetSigningKeyCertificate(const Aws::String& value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = value; } - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline void SetSigningKeyCertificate(Aws::String&& value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate = std::move(value); } - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline void SetSigningKeyCertificate(const char* value) { m_signingKeyCertificateHasBeenSet = true; m_signingKeyCertificate.assign(value); } - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline ImportTr34KeyBlock& WithSigningKeyCertificate(const Aws::String& value) { SetSigningKeyCertificate(value); return *this;} - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline ImportTr34KeyBlock& WithSigningKeyCertificate(Aws::String&& value) { SetSigningKeyCertificate(std::move(value)); return *this;} - - /** - *The public key component in PEM certificate format of the private key that - * signs the KDH TR-34 WrappedKeyBlock.
- */ - inline ImportTr34KeyBlock& WithSigningKeyCertificate(const char* value) { SetSigningKeyCertificate(value); return *this;} - - - /** - *The TR-34 wrapped key block to import.
- */ - inline const Aws::String& GetWrappedKeyBlock() const{ return m_wrappedKeyBlock; } - - /** - *The TR-34 wrapped key block to import.
- */ - inline bool WrappedKeyBlockHasBeenSet() const { return m_wrappedKeyBlockHasBeenSet; } - - /** - *The TR-34 wrapped key block to import.
- */ - inline void SetWrappedKeyBlock(const Aws::String& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = value; } - - /** - *The TR-34 wrapped key block to import.
- */ - inline void SetWrappedKeyBlock(Aws::String&& value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock = std::move(value); } - - /** - *The TR-34 wrapped key block to import.
- */ - inline void SetWrappedKeyBlock(const char* value) { m_wrappedKeyBlockHasBeenSet = true; m_wrappedKeyBlock.assign(value); } - - /** - *The TR-34 wrapped key block to import.
- */ - inline ImportTr34KeyBlock& WithWrappedKeyBlock(const Aws::String& value) { SetWrappedKeyBlock(value); return *this;} - - /** - *The TR-34 wrapped key block to import.
- */ - inline ImportTr34KeyBlock& WithWrappedKeyBlock(Aws::String&& value) { SetWrappedKeyBlock(std::move(value)); return *this;} - - /** - *The TR-34 wrapped key block to import.
- */ - inline ImportTr34KeyBlock& WithWrappedKeyBlock(const char* value) { SetWrappedKeyBlock(value); return *this;} - private: Aws::String m_certificateAuthorityPublicKeyIdentifier; bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false; + Aws::String m_signingKeyCertificate; + bool m_signingKeyCertificateHasBeenSet = false; + Aws::String m_importToken; bool m_importTokenHasBeenSet = false; + Aws::String m_wrappedKeyBlock; + bool m_wrappedKeyBlockHasBeenSet = false; + Tr34KeyBlockFormat m_keyBlockFormat; bool m_keyBlockFormatHasBeenSet = false; Aws::String m_randomNonce; bool m_randomNonceHasBeenSet = false; - - Aws::String m_signingKeyCertificate; - bool m_signingKeyCertificateHasBeenSet = false; - - Aws::String m_wrappedKeyBlock; - bool m_wrappedKeyBlockHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/Key.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/Key.h index 340396cec3e..82eb11c5659 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/Key.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/Key.h @@ -5,12 +5,12 @@ #pragma once #includeThe date and time when the key was created.
- */ - inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; } - - /** - *The date and time when the key was created.
- */ - inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; } - - /** - *The date and time when the key was created.
- */ - inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; } - - /** - *The date and time when the key was created.
- */ - inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); } - - /** - *The date and time when the key was created.
- */ - inline Key& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;} - - /** - *The date and time when the key was created.
- */ - inline Key& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;} - - - /** - *The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when KeyState
is
- * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when KeyState
is
- * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when KeyState
is
- * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when KeyState
is
- * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when KeyState
is
- * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when KeyState
is
- * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when when the KeyState
- * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
- * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when when the KeyState
- * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
- * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when when the KeyState
- * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
- * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when when the KeyState
- * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
- * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when when the KeyState
- * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
- * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
- * delete the key. This value is present only when when the KeyState
- * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
- * key is deleted.
Specifies whether the key is enabled.
- */ - inline bool GetEnabled() const{ return m_enabled; } - - /** - *Specifies whether the key is enabled.
- */ - inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } - - /** - *Specifies whether the key is enabled.
- */ - inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } - - /** - *Specifies whether the key is enabled.
- */ - inline Key& WithEnabled(bool value) { SetEnabled(value); return *this;} - - - /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
- */ - inline bool GetExportable() const{ return m_exportable; } - - /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
- */ - inline bool ExportableHasBeenSet() const { return m_exportableHasBeenSet; } - - /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
- */ - inline void SetExportable(bool value) { m_exportableHasBeenSet = true; m_exportable = value; } - - /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
- */ - inline Key& WithExportable(bool value) { SetExportable(value); return *this;} - - /** *The Amazon Resource Name (ARN) of the key.
*/ @@ -412,6 +243,83 @@ namespace Model inline Key& WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { SetKeyCheckValueAlgorithm(std::move(value)); return *this;} + /** + *Specifies whether the key is enabled.
+ */ + inline bool GetEnabled() const{ return m_enabled; } + + /** + *Specifies whether the key is enabled.
+ */ + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } + + /** + *Specifies whether the key is enabled.
+ */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + + /** + *Specifies whether the key is enabled.
+ */ + inline Key& WithEnabled(bool value) { SetEnabled(value); return *this;} + + + /** + *Specifies whether the key is exportable. This data is immutable after the key + * is created.
+ */ + inline bool GetExportable() const{ return m_exportable; } + + /** + *Specifies whether the key is exportable. This data is immutable after the key + * is created.
+ */ + inline bool ExportableHasBeenSet() const { return m_exportableHasBeenSet; } + + /** + *Specifies whether the key is exportable. This data is immutable after the key + * is created.
+ */ + inline void SetExportable(bool value) { m_exportableHasBeenSet = true; m_exportable = value; } + + /** + *Specifies whether the key is exportable. This data is immutable after the key + * is created.
+ */ + inline Key& WithExportable(bool value) { SetExportable(value); return *this;} + + + /** + *The state of key that is being created or deleted.
+ */ + inline const KeyState& GetKeyState() const{ return m_keyState; } + + /** + *The state of key that is being created or deleted.
+ */ + inline bool KeyStateHasBeenSet() const { return m_keyStateHasBeenSet; } + + /** + *The state of key that is being created or deleted.
+ */ + inline void SetKeyState(const KeyState& value) { m_keyStateHasBeenSet = true; m_keyState = value; } + + /** + *The state of key that is being created or deleted.
+ */ + inline void SetKeyState(KeyState&& value) { m_keyStateHasBeenSet = true; m_keyState = std::move(value); } + + /** + *The state of key that is being created or deleted.
+ */ + inline Key& WithKeyState(const KeyState& value) { SetKeyState(value); return *this;} + + /** + *The state of key that is being created or deleted.
+ */ + inline Key& WithKeyState(KeyState&& value) { SetKeyState(std::move(value)); return *this;} + + /** *The source of the key material. For keys created within Amazon Web Services
* Payment Cryptography, the value is AWS_PAYMENT_CRYPTOGRAPHY
. For
@@ -462,34 +370,34 @@ namespace Model
/**
- *
The state of key that is being created or deleted.
+ *The date and time when the key was created.
*/ - inline const KeyState& GetKeyState() const{ return m_keyState; } + inline const Aws::Utils::DateTime& GetCreateTimestamp() const{ return m_createTimestamp; } /** - *The state of key that is being created or deleted.
+ *The date and time when the key was created.
*/ - inline bool KeyStateHasBeenSet() const { return m_keyStateHasBeenSet; } + inline bool CreateTimestampHasBeenSet() const { return m_createTimestampHasBeenSet; } /** - *The state of key that is being created or deleted.
+ *The date and time when the key was created.
*/ - inline void SetKeyState(const KeyState& value) { m_keyStateHasBeenSet = true; m_keyState = value; } + inline void SetCreateTimestamp(const Aws::Utils::DateTime& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = value; } /** - *The state of key that is being created or deleted.
+ *The date and time when the key was created.
*/ - inline void SetKeyState(KeyState&& value) { m_keyStateHasBeenSet = true; m_keyState = std::move(value); } + inline void SetCreateTimestamp(Aws::Utils::DateTime&& value) { m_createTimestampHasBeenSet = true; m_createTimestamp = std::move(value); } /** - *The state of key that is being created or deleted.
+ *The date and time when the key was created.
*/ - inline Key& WithKeyState(const KeyState& value) { SetKeyState(value); return *this;} + inline Key& WithCreateTimestamp(const Aws::Utils::DateTime& value) { SetCreateTimestamp(value); return *this;} /** - *The state of key that is being created or deleted.
+ *The date and time when the key was created.
*/ - inline Key& WithKeyState(KeyState&& value) { SetKeyState(std::move(value)); return *this;} + inline Key& WithCreateTimestamp(Aws::Utils::DateTime&& value) { SetCreateTimestamp(std::move(value)); return *this;} /** @@ -565,22 +473,99 @@ namespace Model */ inline Key& WithUsageStopTimestamp(Aws::Utils::DateTime&& value) { SetUsageStopTimestamp(std::move(value)); return *this;} - private: - Aws::Utils::DateTime m_createTimestamp; - bool m_createTimestampHasBeenSet = false; + /** + *The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when KeyState
is
+ * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when KeyState
is
+ * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when KeyState
is
+ * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when KeyState
is
+ * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when KeyState
is
+ * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when KeyState
is
+ * DELETE_PENDING
and the key is scheduled for deletion.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when when the KeyState
+ * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
+ * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when when the KeyState
+ * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
+ * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when when the KeyState
+ * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
+ * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when when the KeyState
+ * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
+ * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when when the KeyState
+ * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
+ * key is deleted.
The date and time after which Amazon Web Services Payment Cryptography will
+ * delete the key. This value is present only when when the KeyState
+ * is DELETE_COMPLETE
and the Amazon Web Services Payment Cryptography
+ * key is deleted.
The key algorithm to be use during creation of an Amazon Web Services Payment - * Cryptography key.
For symmetric keys, Amazon Web Services Payment
- * Cryptography supports AES
and TDES
algorithms. For
- * asymmetric keys, Amazon Web Services Payment Cryptography supports
- * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as + * defined in section A.5.2 of the TR-31 spec.
*/ - inline const KeyAlgorithm& GetKeyAlgorithm() const{ return m_keyAlgorithm; } + inline const KeyUsage& GetKeyUsage() const{ return m_keyUsage; } /** - *The key algorithm to be use during creation of an Amazon Web Services Payment - * Cryptography key.
For symmetric keys, Amazon Web Services Payment
- * Cryptography supports AES
and TDES
algorithms. For
- * asymmetric keys, Amazon Web Services Payment Cryptography supports
- * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as + * defined in section A.5.2 of the TR-31 spec.
*/ - inline bool KeyAlgorithmHasBeenSet() const { return m_keyAlgorithmHasBeenSet; } + inline bool KeyUsageHasBeenSet() const { return m_keyUsageHasBeenSet; } /** - *The key algorithm to be use during creation of an Amazon Web Services Payment - * Cryptography key.
For symmetric keys, Amazon Web Services Payment
- * Cryptography supports AES
and TDES
algorithms. For
- * asymmetric keys, Amazon Web Services Payment Cryptography supports
- * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as + * defined in section A.5.2 of the TR-31 spec.
*/ - inline void SetKeyAlgorithm(const KeyAlgorithm& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = value; } + inline void SetKeyUsage(const KeyUsage& value) { m_keyUsageHasBeenSet = true; m_keyUsage = value; } /** - *The key algorithm to be use during creation of an Amazon Web Services Payment - * Cryptography key.
For symmetric keys, Amazon Web Services Payment
- * Cryptography supports AES
and TDES
algorithms. For
- * asymmetric keys, Amazon Web Services Payment Cryptography supports
- * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as + * defined in section A.5.2 of the TR-31 spec.
*/ - inline void SetKeyAlgorithm(KeyAlgorithm&& value) { m_keyAlgorithmHasBeenSet = true; m_keyAlgorithm = std::move(value); } + inline void SetKeyUsage(KeyUsage&& value) { m_keyUsageHasBeenSet = true; m_keyUsage = std::move(value); } /** - *The key algorithm to be use during creation of an Amazon Web Services Payment - * Cryptography key.
For symmetric keys, Amazon Web Services Payment
- * Cryptography supports AES
and TDES
algorithms. For
- * asymmetric keys, Amazon Web Services Payment Cryptography supports
- * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as + * defined in section A.5.2 of the TR-31 spec.
*/ - inline KeyAttributes& WithKeyAlgorithm(const KeyAlgorithm& value) { SetKeyAlgorithm(value); return *this;} + inline KeyAttributes& WithKeyUsage(const KeyUsage& value) { SetKeyUsage(value); return *this;} /** - *The key algorithm to be use during creation of an Amazon Web Services Payment - * Cryptography key.
For symmetric keys, Amazon Web Services Payment
- * Cryptography supports AES
and TDES
algorithms. For
- * asymmetric keys, Amazon Web Services Payment Cryptography supports
- * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as + * defined in section A.5.2 of the TR-31 spec.
*/ - inline KeyAttributes& WithKeyAlgorithm(KeyAlgorithm&& value) { SetKeyAlgorithm(std::move(value)); return *this;} + inline KeyAttributes& WithKeyUsage(KeyUsage&& value) { SetKeyUsage(std::move(value)); return *this;} /** @@ -147,85 +129,103 @@ namespace Model /** - *The list of cryptographic operations that you can perform using the key.
+ *The key algorithm to be use during creation of an Amazon Web Services Payment + * Cryptography key.
For symmetric keys, Amazon Web Services Payment
+ * Cryptography supports AES
and TDES
algorithms. For
+ * asymmetric keys, Amazon Web Services Payment Cryptography supports
+ * RSA
and ECC_NIST
algorithms.
The list of cryptographic operations that you can perform using the key.
+ *The key algorithm to be use during creation of an Amazon Web Services Payment + * Cryptography key.
For symmetric keys, Amazon Web Services Payment
+ * Cryptography supports AES
and TDES
algorithms. For
+ * asymmetric keys, Amazon Web Services Payment Cryptography supports
+ * RSA
and ECC_NIST
algorithms.
The list of cryptographic operations that you can perform using the key.
+ *The key algorithm to be use during creation of an Amazon Web Services Payment + * Cryptography key.
For symmetric keys, Amazon Web Services Payment
+ * Cryptography supports AES
and TDES
algorithms. For
+ * asymmetric keys, Amazon Web Services Payment Cryptography supports
+ * RSA
and ECC_NIST
algorithms.
The list of cryptographic operations that you can perform using the key.
+ *The key algorithm to be use during creation of an Amazon Web Services Payment + * Cryptography key.
For symmetric keys, Amazon Web Services Payment
+ * Cryptography supports AES
and TDES
algorithms. For
+ * asymmetric keys, Amazon Web Services Payment Cryptography supports
+ * RSA
and ECC_NIST
algorithms.
The list of cryptographic operations that you can perform using the key.
+ *The key algorithm to be use during creation of an Amazon Web Services Payment + * Cryptography key.
For symmetric keys, Amazon Web Services Payment
+ * Cryptography supports AES
and TDES
algorithms. For
+ * asymmetric keys, Amazon Web Services Payment Cryptography supports
+ * RSA
and ECC_NIST
algorithms.
The list of cryptographic operations that you can perform using the key.
+ *The key algorithm to be use during creation of an Amazon Web Services Payment + * Cryptography key.
For symmetric keys, Amazon Web Services Payment
+ * Cryptography supports AES
and TDES
algorithms. For
+ * asymmetric keys, Amazon Web Services Payment Cryptography supports
+ * RSA
and ECC_NIST
algorithms.
The cryptographic usage of an Amazon Web Services Payment Cryptography key as - * defined in section A.5.2 of the TR-31 spec.
+ *The list of cryptographic operations that you can perform using the key.
*/ - inline const KeyUsage& GetKeyUsage() const{ return m_keyUsage; } + inline const KeyModesOfUse& GetKeyModesOfUse() const{ return m_keyModesOfUse; } /** - *The cryptographic usage of an Amazon Web Services Payment Cryptography key as - * defined in section A.5.2 of the TR-31 spec.
+ *The list of cryptographic operations that you can perform using the key.
*/ - inline bool KeyUsageHasBeenSet() const { return m_keyUsageHasBeenSet; } + inline bool KeyModesOfUseHasBeenSet() const { return m_keyModesOfUseHasBeenSet; } /** - *The cryptographic usage of an Amazon Web Services Payment Cryptography key as - * defined in section A.5.2 of the TR-31 spec.
+ *The list of cryptographic operations that you can perform using the key.
*/ - inline void SetKeyUsage(const KeyUsage& value) { m_keyUsageHasBeenSet = true; m_keyUsage = value; } + inline void SetKeyModesOfUse(const KeyModesOfUse& value) { m_keyModesOfUseHasBeenSet = true; m_keyModesOfUse = value; } /** - *The cryptographic usage of an Amazon Web Services Payment Cryptography key as - * defined in section A.5.2 of the TR-31 spec.
+ *The list of cryptographic operations that you can perform using the key.
*/ - inline void SetKeyUsage(KeyUsage&& value) { m_keyUsageHasBeenSet = true; m_keyUsage = std::move(value); } + inline void SetKeyModesOfUse(KeyModesOfUse&& value) { m_keyModesOfUseHasBeenSet = true; m_keyModesOfUse = std::move(value); } /** - *The cryptographic usage of an Amazon Web Services Payment Cryptography key as - * defined in section A.5.2 of the TR-31 spec.
+ *The list of cryptographic operations that you can perform using the key.
*/ - inline KeyAttributes& WithKeyUsage(const KeyUsage& value) { SetKeyUsage(value); return *this;} + inline KeyAttributes& WithKeyModesOfUse(const KeyModesOfUse& value) { SetKeyModesOfUse(value); return *this;} /** - *The cryptographic usage of an Amazon Web Services Payment Cryptography key as - * defined in section A.5.2 of the TR-31 spec.
+ *The list of cryptographic operations that you can perform using the key.
*/ - inline KeyAttributes& WithKeyUsage(KeyUsage&& value) { SetKeyUsage(std::move(value)); return *this;} + inline KeyAttributes& WithKeyModesOfUse(KeyModesOfUse&& value) { SetKeyModesOfUse(std::move(value)); return *this;} private: - KeyAlgorithm m_keyAlgorithm; - bool m_keyAlgorithmHasBeenSet = false; + KeyUsage m_keyUsage; + bool m_keyUsageHasBeenSet = false; KeyClass m_keyClass; bool m_keyClassHasBeenSet = false; + KeyAlgorithm m_keyAlgorithm; + bool m_keyAlgorithmHasBeenSet = false; + KeyModesOfUse m_keyModesOfUse; bool m_keyModesOfUseHasBeenSet = false; - - KeyUsage m_keyUsage; - bool m_keyUsageHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/KeyBlockHeaders.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/KeyBlockHeaders.h new file mode 100644 index 00000000000..850a2cefc1f --- /dev/null +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/KeyBlockHeaders.h @@ -0,0 +1,369 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeOptional metadata for export associated with the key material. This data is + * signed but transmitted in clear text.
Specifies subsequent exportability of the key within the key block after it + * is received by the receiving party. It can be used to further restrict + * exportability of the key after export from Amazon Web Services Payment + * Cryptography.
When set to EXPORTABLE
, the key can be
+ * subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block
+ * export only. When set to NON_EXPORTABLE
, the key cannot be
+ * subsequently exported by the receiver. When set to SENSITIVE
, the
+ * key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and
+ * unwrap cryptogram or using a symmetric cryptogram key export method. For further
+ * information refer to ANSI
+ * X9.143-2022.
Specifies subsequent exportability of the key within the key block after it + * is received by the receiving party. It can be used to further restrict + * exportability of the key after export from Amazon Web Services Payment + * Cryptography.
When set to EXPORTABLE
, the key can be
+ * subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block
+ * export only. When set to NON_EXPORTABLE
, the key cannot be
+ * subsequently exported by the receiver. When set to SENSITIVE
, the
+ * key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and
+ * unwrap cryptogram or using a symmetric cryptogram key export method. For further
+ * information refer to ANSI
+ * X9.143-2022.
Specifies subsequent exportability of the key within the key block after it + * is received by the receiving party. It can be used to further restrict + * exportability of the key after export from Amazon Web Services Payment + * Cryptography.
When set to EXPORTABLE
, the key can be
+ * subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block
+ * export only. When set to NON_EXPORTABLE
, the key cannot be
+ * subsequently exported by the receiver. When set to SENSITIVE
, the
+ * key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and
+ * unwrap cryptogram or using a symmetric cryptogram key export method. For further
+ * information refer to ANSI
+ * X9.143-2022.
Specifies subsequent exportability of the key within the key block after it + * is received by the receiving party. It can be used to further restrict + * exportability of the key after export from Amazon Web Services Payment + * Cryptography.
When set to EXPORTABLE
, the key can be
+ * subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block
+ * export only. When set to NON_EXPORTABLE
, the key cannot be
+ * subsequently exported by the receiver. When set to SENSITIVE
, the
+ * key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and
+ * unwrap cryptogram or using a symmetric cryptogram key export method. For further
+ * information refer to ANSI
+ * X9.143-2022.
Specifies subsequent exportability of the key within the key block after it + * is received by the receiving party. It can be used to further restrict + * exportability of the key after export from Amazon Web Services Payment + * Cryptography.
When set to EXPORTABLE
, the key can be
+ * subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block
+ * export only. When set to NON_EXPORTABLE
, the key cannot be
+ * subsequently exported by the receiver. When set to SENSITIVE
, the
+ * key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and
+ * unwrap cryptogram or using a symmetric cryptogram key export method. For further
+ * information refer to ANSI
+ * X9.143-2022.
Specifies subsequent exportability of the key within the key block after it + * is received by the receiving party. It can be used to further restrict + * exportability of the key after export from Amazon Web Services Payment + * Cryptography.
When set to EXPORTABLE
, the key can be
+ * subsequently exported by the receiver under a KEK using TR-31 or TR-34 key block
+ * export only. When set to NON_EXPORTABLE
, the key cannot be
+ * subsequently exported by the receiver. When set to SENSITIVE
, the
+ * key can be exported by the receiver under a KEK using TR-31, TR-34, RSA wrap and
+ * unwrap cryptogram or using a symmetric cryptogram key export method. For further
+ * information refer to ANSI
+ * X9.143-2022.
Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline const Aws::String& GetKeyVersion() const{ return m_keyVersion; } + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline bool KeyVersionHasBeenSet() const { return m_keyVersionHasBeenSet; } + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline void SetKeyVersion(const Aws::String& value) { m_keyVersionHasBeenSet = true; m_keyVersion = value; } + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline void SetKeyVersion(Aws::String&& value) { m_keyVersionHasBeenSet = true; m_keyVersion = std::move(value); } + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline void SetKeyVersion(const char* value) { m_keyVersionHasBeenSet = true; m_keyVersion.assign(value); } + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline KeyBlockHeaders& WithKeyVersion(const Aws::String& value) { SetKeyVersion(value); return *this;} + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline KeyBlockHeaders& WithKeyVersion(Aws::String&& value) { SetKeyVersion(std::move(value)); return *this;} + + /** + *Parameter used to indicate the version of the key carried in the key block or + * indicate the value carried in the key block is a component of a key.
+ */ + inline KeyBlockHeaders& WithKeyVersion(const char* value) { SetKeyVersion(value); return *this;} + + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline const Aws::MapParameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline bool OptionalBlocksHasBeenSet() const { return m_optionalBlocksHasBeenSet; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline void SetOptionalBlocks(const Aws::MapParameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline void SetOptionalBlocks(Aws::MapParameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& WithOptionalBlocks(const Aws::MapParameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& WithOptionalBlocks(Aws::MapParameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(const Aws::String& key, const Aws::String& value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(key, value); return *this; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(Aws::String&& key, const Aws::String& value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(std::move(key), value); return *this; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(const Aws::String& key, Aws::String&& value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(key, std::move(value)); return *this; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(Aws::String&& key, Aws::String&& value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(std::move(key), std::move(value)); return *this; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(const char* key, Aws::String&& value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(key, std::move(value)); return *this; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(Aws::String&& key, const char* value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(std::move(key), value); return *this; } + + /** + *Parameter used to indicate the type of optional data in key block headers. + * Refer to ANSI + * X9.143-2022 for information on allowed data type for optional blocks.
+ *Optional block character limit is 112 characters. For each optional block, 2 + * characters are reserved for optional block ID and 2 characters reserved for + * optional block length. More than one optional blocks can be included as long as + * the combined length does not increase 112 characters.
+ */ + inline KeyBlockHeaders& AddOptionalBlocks(const char* key, const char* value) { m_optionalBlocksHasBeenSet = true; m_optionalBlocks.emplace(key, value); return *this; } + + private: + + KeyModesOfUse m_keyModesOfUse; + bool m_keyModesOfUseHasBeenSet = false; + + KeyExportability m_keyExportability; + bool m_keyExportabilityHasBeenSet = false; + + Aws::String m_keyVersion; + bool m_keyVersionHasBeenSet = false; + + Aws::MapSpecifies whether an Amazon Web Services Payment Cryptography key can be used + * to encrypt data.
+ */ + inline bool GetEncrypt() const{ return m_encrypt; } + + /** + *Specifies whether an Amazon Web Services Payment Cryptography key can be used + * to encrypt data.
+ */ + inline bool EncryptHasBeenSet() const { return m_encryptHasBeenSet; } + + /** + *Specifies whether an Amazon Web Services Payment Cryptography key can be used + * to encrypt data.
+ */ + inline void SetEncrypt(bool value) { m_encryptHasBeenSet = true; m_encrypt = value; } + + /** + *Specifies whether an Amazon Web Services Payment Cryptography key can be used + * to encrypt data.
+ */ + inline KeyModesOfUse& WithEncrypt(bool value) { SetEncrypt(value); return *this;} + + /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used * to decrypt data.
@@ -64,52 +89,52 @@ namespace Model /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to derive new keys.
+ * to wrap other keys. */ - inline bool GetDeriveKey() const{ return m_deriveKey; } + inline bool GetWrap() const{ return m_wrap; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to derive new keys.
+ * to wrap other keys. */ - inline bool DeriveKeyHasBeenSet() const { return m_deriveKeyHasBeenSet; } + inline bool WrapHasBeenSet() const { return m_wrapHasBeenSet; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to derive new keys.
+ * to wrap other keys. */ - inline void SetDeriveKey(bool value) { m_deriveKeyHasBeenSet = true; m_deriveKey = value; } + inline void SetWrap(bool value) { m_wrapHasBeenSet = true; m_wrap = value; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to derive new keys.
+ * to wrap other keys. */ - inline KeyModesOfUse& WithDeriveKey(bool value) { SetDeriveKey(value); return *this;} + inline KeyModesOfUse& WithWrap(bool value) { SetWrap(value); return *this;} /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to encrypt data.
+ * to unwrap other keys. */ - inline bool GetEncrypt() const{ return m_encrypt; } + inline bool GetUnwrap() const{ return m_unwrap; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to encrypt data.
+ * to unwrap other keys. */ - inline bool EncryptHasBeenSet() const { return m_encryptHasBeenSet; } + inline bool UnwrapHasBeenSet() const { return m_unwrapHasBeenSet; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to encrypt data.
+ * to unwrap other keys. */ - inline void SetEncrypt(bool value) { m_encryptHasBeenSet = true; m_encrypt = value; } + inline void SetUnwrap(bool value) { m_unwrapHasBeenSet = true; m_unwrap = value; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to encrypt data.
+ * to unwrap other keys. */ - inline KeyModesOfUse& WithEncrypt(bool value) { SetEncrypt(value); return *this;} + inline KeyModesOfUse& WithUnwrap(bool value) { SetUnwrap(value); return *this;} /** @@ -137,35 +162,6 @@ namespace Model inline KeyModesOfUse& WithGenerate(bool value) { SetGenerate(value); return *this;} - /** - *Specifies whether an Amazon Web Services Payment Cryptography key has no
- * special restrictions other than the restrictions implied by
- * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key has no
- * special restrictions other than the restrictions implied by
- * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key has no
- * special restrictions other than the restrictions implied by
- * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key has no
- * special restrictions other than the restrictions implied by
- * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key can be used * for signing.
@@ -193,106 +189,110 @@ namespace Model /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to unwrap other keys.
+ * to verify signatures. */ - inline bool GetUnwrap() const{ return m_unwrap; } + inline bool GetVerify() const{ return m_verify; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to unwrap other keys.
+ * to verify signatures. */ - inline bool UnwrapHasBeenSet() const { return m_unwrapHasBeenSet; } + inline bool VerifyHasBeenSet() const { return m_verifyHasBeenSet; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to unwrap other keys.
+ * to verify signatures. */ - inline void SetUnwrap(bool value) { m_unwrapHasBeenSet = true; m_unwrap = value; } + inline void SetVerify(bool value) { m_verifyHasBeenSet = true; m_verify = value; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to unwrap other keys.
+ * to verify signatures. */ - inline KeyModesOfUse& WithUnwrap(bool value) { SetUnwrap(value); return *this;} + inline KeyModesOfUse& WithVerify(bool value) { SetVerify(value); return *this;} /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to verify signatures.
+ * to derive new keys. */ - inline bool GetVerify() const{ return m_verify; } + inline bool GetDeriveKey() const{ return m_deriveKey; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to verify signatures.
+ * to derive new keys. */ - inline bool VerifyHasBeenSet() const { return m_verifyHasBeenSet; } + inline bool DeriveKeyHasBeenSet() const { return m_deriveKeyHasBeenSet; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to verify signatures.
+ * to derive new keys. */ - inline void SetVerify(bool value) { m_verifyHasBeenSet = true; m_verify = value; } + inline void SetDeriveKey(bool value) { m_deriveKeyHasBeenSet = true; m_deriveKey = value; } /** *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to verify signatures.
+ * to derive new keys. */ - inline KeyModesOfUse& WithVerify(bool value) { SetVerify(value); return *this;} + inline KeyModesOfUse& WithDeriveKey(bool value) { SetDeriveKey(value); return *this;} /** - *Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to wrap other keys.
+ *Specifies whether an Amazon Web Services Payment Cryptography key has no
+ * special restrictions other than the restrictions implied by
+ * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to wrap other keys.
+ *Specifies whether an Amazon Web Services Payment Cryptography key has no
+ * special restrictions other than the restrictions implied by
+ * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to wrap other keys.
+ *Specifies whether an Amazon Web Services Payment Cryptography key has no
+ * special restrictions other than the restrictions implied by
+ * KeyUsage
.
Specifies whether an Amazon Web Services Payment Cryptography key can be used - * to wrap other keys.
+ *Specifies whether an Amazon Web Services Payment Cryptography key has no
+ * special restrictions other than the restrictions implied by
+ * KeyUsage
.
Specifies whether the key is enabled.
- */ - inline bool GetEnabled() const{ return m_enabled; } - - /** - *Specifies whether the key is enabled.
- */ - inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } - - /** - *Specifies whether the key is enabled.
+ *The Amazon Resource Name (ARN) of the key.
*/ - inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } + inline const Aws::String& GetKeyArn() const{ return m_keyArn; } /** - *Specifies whether the key is enabled.
+ *The Amazon Resource Name (ARN) of the key.
*/ - inline KeySummary& WithEnabled(bool value) { SetEnabled(value); return *this;} - + inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; } /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
+ *The Amazon Resource Name (ARN) of the key.
*/ - inline bool GetExportable() const{ return m_exportable; } + inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; } /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
+ *The Amazon Resource Name (ARN) of the key.
*/ - inline bool ExportableHasBeenSet() const { return m_exportableHasBeenSet; } + inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); } /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
+ *The Amazon Resource Name (ARN) of the key.
*/ - inline void SetExportable(bool value) { m_exportableHasBeenSet = true; m_exportable = value; } + inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); } /** - *Specifies whether the key is exportable. This data is immutable after the key - * is created.
+ *The Amazon Resource Name (ARN) of the key.
*/ - inline KeySummary& WithExportable(bool value) { SetExportable(value); return *this;} - + inline KeySummary& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the key.
*/ - inline const Aws::String& GetKeyArn() const{ return m_keyArn; } + inline KeySummary& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the key.
*/ - inline bool KeyArnHasBeenSet() const { return m_keyArnHasBeenSet; } + inline KeySummary& WithKeyArn(const char* value) { SetKeyArn(value); return *this;} + /** - *The Amazon Resource Name (ARN) of the key.
+ *The state of an Amazon Web Services Payment Cryptography that is being + * created or deleted.
*/ - inline void SetKeyArn(const Aws::String& value) { m_keyArnHasBeenSet = true; m_keyArn = value; } + inline const KeyState& GetKeyState() const{ return m_keyState; } /** - *The Amazon Resource Name (ARN) of the key.
+ *The state of an Amazon Web Services Payment Cryptography that is being + * created or deleted.
*/ - inline void SetKeyArn(Aws::String&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::move(value); } + inline bool KeyStateHasBeenSet() const { return m_keyStateHasBeenSet; } /** - *The Amazon Resource Name (ARN) of the key.
+ *The state of an Amazon Web Services Payment Cryptography that is being + * created or deleted.
*/ - inline void SetKeyArn(const char* value) { m_keyArnHasBeenSet = true; m_keyArn.assign(value); } + inline void SetKeyState(const KeyState& value) { m_keyStateHasBeenSet = true; m_keyState = value; } /** - *The Amazon Resource Name (ARN) of the key.
+ *The state of an Amazon Web Services Payment Cryptography that is being + * created or deleted.
*/ - inline KeySummary& WithKeyArn(const Aws::String& value) { SetKeyArn(value); return *this;} + inline void SetKeyState(KeyState&& value) { m_keyStateHasBeenSet = true; m_keyState = std::move(value); } /** - *The Amazon Resource Name (ARN) of the key.
+ *The state of an Amazon Web Services Payment Cryptography that is being + * created or deleted.
*/ - inline KeySummary& WithKeyArn(Aws::String&& value) { SetKeyArn(std::move(value)); return *this;} + inline KeySummary& WithKeyState(const KeyState& value) { SetKeyState(value); return *this;} /** - *The Amazon Resource Name (ARN) of the key.
+ *The state of an Amazon Web Services Payment Cryptography that is being + * created or deleted.
*/ - inline KeySummary& WithKeyArn(const char* value) { SetKeyArn(value); return *this;} + inline KeySummary& WithKeyState(KeyState&& value) { SetKeyState(std::move(value)); return *this;} /** @@ -220,60 +211,69 @@ namespace Model /** - *The state of an Amazon Web Services Payment Cryptography that is being - * created or deleted.
+ *Specifies whether the key is exportable. This data is immutable after the key + * is created.
*/ - inline const KeyState& GetKeyState() const{ return m_keyState; } + inline bool GetExportable() const{ return m_exportable; } /** - *The state of an Amazon Web Services Payment Cryptography that is being - * created or deleted.
+ *Specifies whether the key is exportable. This data is immutable after the key + * is created.
*/ - inline bool KeyStateHasBeenSet() const { return m_keyStateHasBeenSet; } + inline bool ExportableHasBeenSet() const { return m_exportableHasBeenSet; } /** - *The state of an Amazon Web Services Payment Cryptography that is being - * created or deleted.
+ *Specifies whether the key is exportable. This data is immutable after the key + * is created.
*/ - inline void SetKeyState(const KeyState& value) { m_keyStateHasBeenSet = true; m_keyState = value; } + inline void SetExportable(bool value) { m_exportableHasBeenSet = true; m_exportable = value; } /** - *The state of an Amazon Web Services Payment Cryptography that is being - * created or deleted.
+ *Specifies whether the key is exportable. This data is immutable after the key + * is created.
*/ - inline void SetKeyState(KeyState&& value) { m_keyStateHasBeenSet = true; m_keyState = std::move(value); } + inline KeySummary& WithExportable(bool value) { SetExportable(value); return *this;} + /** - *The state of an Amazon Web Services Payment Cryptography that is being - * created or deleted.
+ *Specifies whether the key is enabled.
*/ - inline KeySummary& WithKeyState(const KeyState& value) { SetKeyState(value); return *this;} + inline bool GetEnabled() const{ return m_enabled; } /** - *The state of an Amazon Web Services Payment Cryptography that is being - * created or deleted.
+ *Specifies whether the key is enabled.
*/ - inline KeySummary& WithKeyState(KeyState&& value) { SetKeyState(std::move(value)); return *this;} + inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; } - private: + /** + *Specifies whether the key is enabled.
+ */ + inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; } - bool m_enabled; - bool m_enabledHasBeenSet = false; + /** + *Specifies whether the key is enabled.
+ */ + inline KeySummary& WithEnabled(bool value) { SetEnabled(value); return *this;} - bool m_exportable; - bool m_exportableHasBeenSet = false; + private: Aws::String m_keyArn; bool m_keyArnHasBeenSet = false; + KeyState m_keyState; + bool m_keyStateHasBeenSet = false; + KeyAttributes m_keyAttributes; bool m_keyAttributesHasBeenSet = false; Aws::String m_keyCheckValue; bool m_keyCheckValueHasBeenSet = false; - KeyState m_keyState; - bool m_keyStateHasBeenSet = false; + bool m_exportable; + bool m_exportableHasBeenSet = false; + + bool m_enabled; + bool m_enabledHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListAliasesRequest.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListAliasesRequest.h index 37086cb57f1..8324c8e7773 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListAliasesRequest.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListAliasesRequest.h @@ -34,43 +34,6 @@ namespace Model AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline ListAliasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - - /** *Use this parameter in a subsequent request after you receive a response with
* truncated results. Set it to the value of NextToken
from the
@@ -127,13 +90,50 @@ namespace Model
*/
inline ListAliasesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
- private:
- int m_maxResults;
- bool m_maxResultsHasBeenSet = false;
+ /**
+ *
Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline ListAliasesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + + private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListKeysRequest.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListKeysRequest.h index c84dcecc375..12e23df662a 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListKeysRequest.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListKeysRequest.h @@ -66,43 +66,6 @@ namespace Model inline ListKeysRequest& WithKeyState(KeyState&& value) { SetKeyState(std::move(value)); return *this;} - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline int GetMaxResults() const{ return m_maxResults; } - - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } - - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } - - /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
- */ - inline ListKeysRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} - - /** *Use this parameter in a subsequent request after you receive a response with
* truncated results. Set it to the value of NextToken
from the
@@ -159,16 +122,53 @@ namespace Model
*/
inline ListKeysRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
+
+ /**
+ *
Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline int GetMaxResults() const{ return m_maxResults; } + + /** + *Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + + /** + *Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + + /** + *Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
+ */ + inline ListKeysRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + private: KeyState m_keyState; bool m_keyStateHasBeenSet = false; - int m_maxResults; - bool m_maxResultsHasBeenSet = false; - Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceRequest.h index 5f2b1124dfe..788cad5d54f 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceRequest.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceRequest.h @@ -35,40 +35,44 @@ namespace Model /** - *Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
+ *The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
+ *The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
+ *The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When - * this value is present, Amazon Web Services Payment Cryptography does not return - * more than the specified number of items, but it might return fewer.
This - * value is optional. If you include a value, it must be between 1 and 100, - * inclusive. If you do not include a value, it defaults to 50.
+ *The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
*/ - inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline int GetMaxResults() const{ return m_maxResults; } /** - *The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
*/ - inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** - *The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
*/ - inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** - *The KeyARN
of the key whose tags you are getting.
Use this parameter to specify the maximum number of items to return. When + * this value is present, Amazon Web Services Payment Cryptography does not return + * more than the specified number of items, but it might return fewer.
This + * value is optional. If you include a value, it must be between 1 and 100, + * inclusive. If you do not include a value, it defaults to 50.
*/ - inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + inline ListTagsForResourceRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: - int m_maxResults; - bool m_maxResultsHasBeenSet = false; + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; - Aws::String m_resourceArn; - bool m_resourceArnHasBeenSet = false; + int m_maxResults; + bool m_maxResultsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceResult.h index 6bf7ae7fb4c..2333988085c 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceResult.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/ListTagsForResourceResult.h @@ -5,8 +5,8 @@ #pragma once #includeThe token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are - * no more results.
+ *The list of tags associated with a ResourceArn
. Each tag will
+ * list the key-value pair contained within that tag.
The list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline const Aws::VectorThe list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline void SetTags(const Aws::VectorThe list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline void SetTags(Aws::VectorThe list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline ListTagsForResourceResult& WithTags(const Aws::VectorThe list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline ListTagsForResourceResult& WithTags(Aws::VectorThe list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline ListTagsForResourceResult& AddTags(const Tag& value) { m_tags.push_back(value); return *this; } + inline ListTagsForResourceResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** - *The list of tags associated with a ResourceArn
. Each tag will
- * list the key-value pair contained within that tag.
The token for the next set of results, or an empty or null value if there are + * no more results.
*/ - inline ListTagsForResourceResult& AddTags(Tag&& value) { m_tags.push_back(std::move(value)); return *this; } + inline ListTagsForResourceResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} @@ -143,10 +143,10 @@ namespace Model private: - Aws::String m_nextToken; - Aws::VectorDon't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline const Aws::VectorDon't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } @@ -115,10 +117,11 @@ namespace Model * Payment Cryptography replaces the current tag value with the new one. *Don't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline void SetTags(const Aws::VectorDon't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline void SetTags(Aws::VectorDon't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline TagResourceRequest& WithTags(const Aws::VectorDon't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline TagResourceRequest& WithTags(Aws::VectorDon't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline TagResourceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } @@ -190,10 +197,11 @@ namespace Model * Payment Cryptography replaces the current tag value with the new one. *Don't include personal, confidential or sensitive information in * this field. This field may be displayed in plaintext in CloudTrail logs and - * other output.
To use this parameter, you must have - * TagResource permission in an IAM policy.
Don't include - * personal, confidential or sensitive information in this field. This field may be - * displayed in plaintext in CloudTrail logs and other output.
+ * other output.To use this parameter, you must have TagResource + * permission in an IAM policy.
Don't include personal, + * confidential or sensitive information in this field. This field may be displayed + * in plaintext in CloudTrail logs and other output.
*/ inline TagResourceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/TrustedCertificatePublicKey.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/TrustedCertificatePublicKey.h index 425f63ded4b..ff3710058d5 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/TrustedCertificatePublicKey.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/TrustedCertificatePublicKey.h @@ -5,8 +5,8 @@ #pragma once #includeThe KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
- * chain that signs the trusted public key certificate import.
The role of the key, the algorithm it supports, and the cryptographic * operations allowed with the key. This data is immutable after a trusted public @@ -171,16 +122,65 @@ namespace Model */ inline TrustedCertificatePublicKey& WithPublicKeyCertificate(const char* value) { SetPublicKeyCertificate(value); return *this;} - private: - Aws::String m_certificateAuthorityPublicKeyIdentifier; - bool m_certificateAuthorityPublicKeyIdentifierHasBeenSet = false; + /** + *
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
The KeyARN
of the root public key certificate or certificate
+ * chain that signs the trusted public key certificate import.
One or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline const Aws::VectorOne or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } @@ -98,7 +100,8 @@ namespace Model *One or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline void SetTagKeys(const Aws::VectorOne or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline void SetTagKeys(Aws::VectorOne or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline UntagResourceRequest& WithTagKeys(const Aws::VectorOne or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline UntagResourceRequest& WithTagKeys(Aws::VectorOne or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } @@ -143,7 +150,8 @@ namespace Model *One or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } @@ -152,7 +160,8 @@ namespace Model *One or more tag keys. Don't include the tag values.
If the Amazon Web * Services Payment Cryptography key doesn't have the specified tag key, Amazon Web * Services Payment Cryptography doesn't throw an exception or return a response. - * To confirm that the operation succeeded, use the ListTagsForResource + * To confirm that the operation succeeded, use the ListTagsForResource * operation.
*/ inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/WrappedKey.h b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/WrappedKey.h index debf7e07954..af94562d032 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/WrappedKey.h +++ b/generated/src/aws-cpp-sdk-payment-cryptography/include/aws/payment-cryptography/model/WrappedKey.h @@ -6,8 +6,8 @@ #pragma once #includeThe key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key - * have the same key or to detect that a key has changed.
+ *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate - * the key check value (KCV). It is used to validate the key integrity.
For - * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, - * with the key to be checked and retaining the 3 highest order bytes of the - * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where - * the input data is 16 bytes of zero and retaining the 3 highest order bytes of - * the encrypted result.
+ *The key block format of a wrapped key.
*/ - inline const KeyCheckValueAlgorithm& GetKeyCheckValueAlgorithm() const{ return m_keyCheckValueAlgorithm; } + inline const WrappedKeyMaterialFormat& GetWrappedKeyMaterialFormat() const{ return m_wrappedKeyMaterialFormat; } /** - *The algorithm that Amazon Web Services Payment Cryptography uses to calculate - * the key check value (KCV). It is used to validate the key integrity.
For - * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, - * with the key to be checked and retaining the 3 highest order bytes of the - * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where - * the input data is 16 bytes of zero and retaining the 3 highest order bytes of - * the encrypted result.
+ *The key block format of a wrapped key.
*/ - inline bool KeyCheckValueAlgorithmHasBeenSet() const { return m_keyCheckValueAlgorithmHasBeenSet; } + inline bool WrappedKeyMaterialFormatHasBeenSet() const { return m_wrappedKeyMaterialFormatHasBeenSet; } /** - *The algorithm that Amazon Web Services Payment Cryptography uses to calculate - * the key check value (KCV). It is used to validate the key integrity.
For - * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, - * with the key to be checked and retaining the 3 highest order bytes of the - * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where - * the input data is 16 bytes of zero and retaining the 3 highest order bytes of - * the encrypted result.
+ *The key block format of a wrapped key.
*/ - inline void SetKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm& value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = value; } + inline void SetWrappedKeyMaterialFormat(const WrappedKeyMaterialFormat& value) { m_wrappedKeyMaterialFormatHasBeenSet = true; m_wrappedKeyMaterialFormat = value; } /** - *The algorithm that Amazon Web Services Payment Cryptography uses to calculate - * the key check value (KCV). It is used to validate the key integrity.
For - * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, - * with the key to be checked and retaining the 3 highest order bytes of the - * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where - * the input data is 16 bytes of zero and retaining the 3 highest order bytes of - * the encrypted result.
+ *The key block format of a wrapped key.
*/ - inline void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = std::move(value); } + inline void SetWrappedKeyMaterialFormat(WrappedKeyMaterialFormat&& value) { m_wrappedKeyMaterialFormatHasBeenSet = true; m_wrappedKeyMaterialFormat = std::move(value); } /** - *The algorithm that Amazon Web Services Payment Cryptography uses to calculate - * the key check value (KCV). It is used to validate the key integrity.
For - * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, - * with the key to be checked and retaining the 3 highest order bytes of the - * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where - * the input data is 16 bytes of zero and retaining the 3 highest order bytes of - * the encrypted result.
+ *The key block format of a wrapped key.
*/ - inline WrappedKey& WithKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm& value) { SetKeyCheckValueAlgorithm(value); return *this;} + inline WrappedKey& WithWrappedKeyMaterialFormat(const WrappedKeyMaterialFormat& value) { SetWrappedKeyMaterialFormat(value); return *this;} /** - *The algorithm that Amazon Web Services Payment Cryptography uses to calculate - * the key check value (KCV). It is used to validate the key integrity.
For - * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, - * with the key to be checked and retaining the 3 highest order bytes of the - * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where - * the input data is 16 bytes of zero and retaining the 3 highest order bytes of - * the encrypted result.
+ *The key block format of a wrapped key.
*/ - inline WrappedKey& WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { SetKeyCheckValueAlgorithm(std::move(value)); return *this;} + inline WrappedKey& WithWrappedKeyMaterialFormat(WrappedKeyMaterialFormat&& value) { SetWrappedKeyMaterialFormat(std::move(value)); return *this;} /** @@ -206,92 +162,136 @@ namespace Model /** - *The key block format of a wrapped key.
+ *The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline const WrappedKeyMaterialFormat& GetWrappedKeyMaterialFormat() const{ return m_wrappedKeyMaterialFormat; } + inline const Aws::String& GetKeyCheckValue() const{ return m_keyCheckValue; } /** - *The key block format of a wrapped key.
+ *The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline bool WrappedKeyMaterialFormatHasBeenSet() const { return m_wrappedKeyMaterialFormatHasBeenSet; } + inline bool KeyCheckValueHasBeenSet() const { return m_keyCheckValueHasBeenSet; } /** - *The key block format of a wrapped key.
+ *The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline void SetWrappedKeyMaterialFormat(const WrappedKeyMaterialFormat& value) { m_wrappedKeyMaterialFormatHasBeenSet = true; m_wrappedKeyMaterialFormat = value; } + inline void SetKeyCheckValue(const Aws::String& value) { m_keyCheckValueHasBeenSet = true; m_keyCheckValue = value; } /** - *The key block format of a wrapped key.
+ *The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline void SetWrappedKeyMaterialFormat(WrappedKeyMaterialFormat&& value) { m_wrappedKeyMaterialFormatHasBeenSet = true; m_wrappedKeyMaterialFormat = std::move(value); } + inline void SetKeyCheckValue(Aws::String&& value) { m_keyCheckValueHasBeenSet = true; m_keyCheckValue = std::move(value); } /** - *The key block format of a wrapped key.
+ *The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline WrappedKey& WithWrappedKeyMaterialFormat(const WrappedKeyMaterialFormat& value) { SetWrappedKeyMaterialFormat(value); return *this;} + inline void SetKeyCheckValue(const char* value) { m_keyCheckValueHasBeenSet = true; m_keyCheckValue.assign(value); } /** - *The key block format of a wrapped key.
+ *The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline WrappedKey& WithWrappedKeyMaterialFormat(WrappedKeyMaterialFormat&& value) { SetWrappedKeyMaterialFormat(std::move(value)); return *this;} - + inline WrappedKey& WithKeyCheckValue(const Aws::String& value) { SetKeyCheckValue(value); return *this;} /** - *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline const Aws::String& GetWrappingKeyArn() const{ return m_wrappingKeyArn; } + inline WrappedKey& WithKeyCheckValue(Aws::String&& value) { SetKeyCheckValue(std::move(value)); return *this;} /** - *The KeyARN
of the wrapped key.
The key check value (KCV) is used to check if all parties holding a given key + * have the same key or to detect that a key has changed.
*/ - inline bool WrappingKeyArnHasBeenSet() const { return m_wrappingKeyArnHasBeenSet; } + inline WrappedKey& WithKeyCheckValue(const char* value) { SetKeyCheckValue(value); return *this;} + /** - *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate + * the key check value (KCV). It is used to validate the key integrity.
For + * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, + * with the key to be checked and retaining the 3 highest order bytes of the + * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where + * the input data is 16 bytes of zero and retaining the 3 highest order bytes of + * the encrypted result.
*/ - inline void SetWrappingKeyArn(const Aws::String& value) { m_wrappingKeyArnHasBeenSet = true; m_wrappingKeyArn = value; } + inline const KeyCheckValueAlgorithm& GetKeyCheckValueAlgorithm() const{ return m_keyCheckValueAlgorithm; } /** - *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate + * the key check value (KCV). It is used to validate the key integrity.
For + * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, + * with the key to be checked and retaining the 3 highest order bytes of the + * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where + * the input data is 16 bytes of zero and retaining the 3 highest order bytes of + * the encrypted result.
*/ - inline void SetWrappingKeyArn(Aws::String&& value) { m_wrappingKeyArnHasBeenSet = true; m_wrappingKeyArn = std::move(value); } + inline bool KeyCheckValueAlgorithmHasBeenSet() const { return m_keyCheckValueAlgorithmHasBeenSet; } /** - *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate + * the key check value (KCV). It is used to validate the key integrity.
For + * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, + * with the key to be checked and retaining the 3 highest order bytes of the + * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where + * the input data is 16 bytes of zero and retaining the 3 highest order bytes of + * the encrypted result.
*/ - inline void SetWrappingKeyArn(const char* value) { m_wrappingKeyArnHasBeenSet = true; m_wrappingKeyArn.assign(value); } + inline void SetKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm& value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = value; } /** - *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate + * the key check value (KCV). It is used to validate the key integrity.
For + * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, + * with the key to be checked and retaining the 3 highest order bytes of the + * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where + * the input data is 16 bytes of zero and retaining the 3 highest order bytes of + * the encrypted result.
*/ - inline WrappedKey& WithWrappingKeyArn(const Aws::String& value) { SetWrappingKeyArn(value); return *this;} + inline void SetKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { m_keyCheckValueAlgorithmHasBeenSet = true; m_keyCheckValueAlgorithm = std::move(value); } /** - *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate + * the key check value (KCV). It is used to validate the key integrity.
For + * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, + * with the key to be checked and retaining the 3 highest order bytes of the + * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where + * the input data is 16 bytes of zero and retaining the 3 highest order bytes of + * the encrypted result.
*/ - inline WrappedKey& WithWrappingKeyArn(Aws::String&& value) { SetWrappingKeyArn(std::move(value)); return *this;} + inline WrappedKey& WithKeyCheckValueAlgorithm(const KeyCheckValueAlgorithm& value) { SetKeyCheckValueAlgorithm(value); return *this;} /** - *The KeyARN
of the wrapped key.
The algorithm that Amazon Web Services Payment Cryptography uses to calculate + * the key check value (KCV). It is used to validate the key integrity.
For + * TDES keys, the KCV is computed by encrypting 8 bytes, each with value of zero, + * with the key to be checked and retaining the 3 highest order bytes of the + * encrypted result. For AES keys, the KCV is computed using a CMAC algorithm where + * the input data is 16 bytes of zero and retaining the 3 highest order bytes of + * the encrypted result.
*/ - inline WrappedKey& WithWrappingKeyArn(const char* value) { SetWrappingKeyArn(value); return *this;} + inline WrappedKey& WithKeyCheckValueAlgorithm(KeyCheckValueAlgorithm&& value) { SetKeyCheckValueAlgorithm(std::move(value)); return *this;} private: - Aws::String m_keyCheckValue; - bool m_keyCheckValueHasBeenSet = false; + Aws::String m_wrappingKeyArn; + bool m_wrappingKeyArnHasBeenSet = false; - KeyCheckValueAlgorithm m_keyCheckValueAlgorithm; - bool m_keyCheckValueAlgorithmHasBeenSet = false; + WrappedKeyMaterialFormat m_wrappedKeyMaterialFormat; + bool m_wrappedKeyMaterialFormatHasBeenSet = false; Aws::String m_keyMaterial; bool m_keyMaterialHasBeenSet = false; - WrappedKeyMaterialFormat m_wrappedKeyMaterialFormat; - bool m_wrappedKeyMaterialFormatHasBeenSet = false; + Aws::String m_keyCheckValue; + bool m_keyCheckValueHasBeenSet = false; - Aws::String m_wrappingKeyArn; - bool m_wrappingKeyArnHasBeenSet = false; + KeyCheckValueAlgorithm m_keyCheckValueAlgorithm; + bool m_keyCheckValueAlgorithmHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/CreateKeyRequest.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/CreateKeyRequest.cpp index 357e07bd4bd..1948d4b4ee2 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/CreateKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/CreateKeyRequest.cpp @@ -13,13 +13,13 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; CreateKeyRequest::CreateKeyRequest() : - m_enabled(false), - m_enabledHasBeenSet(false), - m_exportable(false), - m_exportableHasBeenSet(false), m_keyAttributesHasBeenSet(false), m_keyCheckValueAlgorithm(KeyCheckValueAlgorithm::NOT_SET), m_keyCheckValueAlgorithmHasBeenSet(false), + m_exportable(false), + m_exportableHasBeenSet(false), + m_enabled(false), + m_enabledHasBeenSet(false), m_tagsHasBeenSet(false) { } @@ -28,27 +28,27 @@ Aws::String CreateKeyRequest::SerializePayload() const { JsonValue payload; - if(m_enabledHasBeenSet) + if(m_keyAttributesHasBeenSet) { - payload.WithBool("Enabled", m_enabled); + payload.WithObject("KeyAttributes", m_keyAttributes.Jsonize()); } - if(m_exportableHasBeenSet) + if(m_keyCheckValueAlgorithmHasBeenSet) { - payload.WithBool("Exportable", m_exportable); - + payload.WithString("KeyCheckValueAlgorithm", KeyCheckValueAlgorithmMapper::GetNameForKeyCheckValueAlgorithm(m_keyCheckValueAlgorithm)); } - if(m_keyAttributesHasBeenSet) + if(m_exportableHasBeenSet) { - payload.WithObject("KeyAttributes", m_keyAttributes.Jsonize()); + payload.WithBool("Exportable", m_exportable); } - if(m_keyCheckValueAlgorithmHasBeenSet) + if(m_enabledHasBeenSet) { - payload.WithString("KeyCheckValueAlgorithm", KeyCheckValueAlgorithmMapper::GetNameForKeyCheckValueAlgorithm(m_keyCheckValueAlgorithm)); + payload.WithBool("Enabled", m_enabled); + } if(m_tagsHasBeenSet) diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/DeleteKeyRequest.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/DeleteKeyRequest.cpp index d1ec81f311f..b374dbd86ec 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/DeleteKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/DeleteKeyRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; DeleteKeyRequest::DeleteKeyRequest() : + m_keyIdentifierHasBeenSet(false), m_deleteKeyInDays(0), - m_deleteKeyInDaysHasBeenSet(false), - m_keyIdentifierHasBeenSet(false) + m_deleteKeyInDaysHasBeenSet(false) { } @@ -23,15 +23,15 @@ Aws::String DeleteKeyRequest::SerializePayload() const { JsonValue payload; - if(m_deleteKeyInDaysHasBeenSet) + if(m_keyIdentifierHasBeenSet) { - payload.WithInteger("DeleteKeyInDays", m_deleteKeyInDays); + payload.WithString("KeyIdentifier", m_keyIdentifier); } - if(m_keyIdentifierHasBeenSet) + if(m_deleteKeyInDaysHasBeenSet) { - payload.WithString("KeyIdentifier", m_keyIdentifier); + payload.WithInteger("DeleteKeyInDays", m_deleteKeyInDays); } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyMaterial.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyMaterial.cpp index 31a1ce45a7a..c2262d0e4c3 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyMaterial.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyMaterial.cpp @@ -19,29 +19,22 @@ namespace Model { ExportKeyMaterial::ExportKeyMaterial() : - m_keyCryptogramHasBeenSet(false), m_tr31KeyBlockHasBeenSet(false), - m_tr34KeyBlockHasBeenSet(false) + m_tr34KeyBlockHasBeenSet(false), + m_keyCryptogramHasBeenSet(false) { } ExportKeyMaterial::ExportKeyMaterial(JsonView jsonValue) : - m_keyCryptogramHasBeenSet(false), m_tr31KeyBlockHasBeenSet(false), - m_tr34KeyBlockHasBeenSet(false) + m_tr34KeyBlockHasBeenSet(false), + m_keyCryptogramHasBeenSet(false) { *this = jsonValue; } ExportKeyMaterial& ExportKeyMaterial::operator =(JsonView jsonValue) { - if(jsonValue.ValueExists("KeyCryptogram")) - { - m_keyCryptogram = jsonValue.GetObject("KeyCryptogram"); - - m_keyCryptogramHasBeenSet = true; - } - if(jsonValue.ValueExists("Tr31KeyBlock")) { m_tr31KeyBlock = jsonValue.GetObject("Tr31KeyBlock"); @@ -56,6 +49,13 @@ ExportKeyMaterial& ExportKeyMaterial::operator =(JsonView jsonValue) m_tr34KeyBlockHasBeenSet = true; } + if(jsonValue.ValueExists("KeyCryptogram")) + { + m_keyCryptogram = jsonValue.GetObject("KeyCryptogram"); + + m_keyCryptogramHasBeenSet = true; + } + return *this; } @@ -63,12 +63,6 @@ JsonValue ExportKeyMaterial::Jsonize() const { JsonValue payload; - if(m_keyCryptogramHasBeenSet) - { - payload.WithObject("KeyCryptogram", m_keyCryptogram.Jsonize()); - - } - if(m_tr31KeyBlockHasBeenSet) { payload.WithObject("Tr31KeyBlock", m_tr31KeyBlock.Jsonize()); @@ -81,6 +75,12 @@ JsonValue ExportKeyMaterial::Jsonize() const } + if(m_keyCryptogramHasBeenSet) + { + payload.WithObject("KeyCryptogram", m_keyCryptogram.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyRequest.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyRequest.cpp index 0e43e910521..dd576e43d2e 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyRequest.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportKeyRequest.cpp @@ -13,9 +13,9 @@ using namespace Aws::Utils::Json; using namespace Aws::Utils; ExportKeyRequest::ExportKeyRequest() : - m_exportAttributesHasBeenSet(false), + m_keyMaterialHasBeenSet(false), m_exportKeyIdentifierHasBeenSet(false), - m_keyMaterialHasBeenSet(false) + m_exportAttributesHasBeenSet(false) { } @@ -23,9 +23,9 @@ Aws::String ExportKeyRequest::SerializePayload() const { JsonValue payload; - if(m_exportAttributesHasBeenSet) + if(m_keyMaterialHasBeenSet) { - payload.WithObject("ExportAttributes", m_exportAttributes.Jsonize()); + payload.WithObject("KeyMaterial", m_keyMaterial.Jsonize()); } @@ -35,9 +35,9 @@ Aws::String ExportKeyRequest::SerializePayload() const } - if(m_keyMaterialHasBeenSet) + if(m_exportAttributesHasBeenSet) { - payload.WithObject("KeyMaterial", m_keyMaterial.Jsonize()); + payload.WithObject("ExportAttributes", m_exportAttributes.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr31KeyBlock.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr31KeyBlock.cpp index 29f71a3a594..68fffde0d43 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr31KeyBlock.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr31KeyBlock.cpp @@ -19,12 +19,14 @@ namespace Model { ExportTr31KeyBlock::ExportTr31KeyBlock() : - m_wrappingKeyIdentifierHasBeenSet(false) + m_wrappingKeyIdentifierHasBeenSet(false), + m_keyBlockHeadersHasBeenSet(false) { } ExportTr31KeyBlock::ExportTr31KeyBlock(JsonView jsonValue) : - m_wrappingKeyIdentifierHasBeenSet(false) + m_wrappingKeyIdentifierHasBeenSet(false), + m_keyBlockHeadersHasBeenSet(false) { *this = jsonValue; } @@ -38,6 +40,13 @@ ExportTr31KeyBlock& ExportTr31KeyBlock::operator =(JsonView jsonValue) m_wrappingKeyIdentifierHasBeenSet = true; } + if(jsonValue.ValueExists("KeyBlockHeaders")) + { + m_keyBlockHeaders = jsonValue.GetObject("KeyBlockHeaders"); + + m_keyBlockHeadersHasBeenSet = true; + } + return *this; } @@ -51,6 +60,12 @@ JsonValue ExportTr31KeyBlock::Jsonize() const } + if(m_keyBlockHeadersHasBeenSet) + { + payload.WithObject("KeyBlockHeaders", m_keyBlockHeaders.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr34KeyBlock.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr34KeyBlock.cpp index f417fe576bb..2cc5acb0844 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr34KeyBlock.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/ExportTr34KeyBlock.cpp @@ -20,21 +20,23 @@ namespace Model ExportTr34KeyBlock::ExportTr34KeyBlock() : m_certificateAuthorityPublicKeyIdentifierHasBeenSet(false), + m_wrappingKeyCertificateHasBeenSet(false), m_exportTokenHasBeenSet(false), m_keyBlockFormat(Tr34KeyBlockFormat::NOT_SET), m_keyBlockFormatHasBeenSet(false), m_randomNonceHasBeenSet(false), - m_wrappingKeyCertificateHasBeenSet(false) + m_keyBlockHeadersHasBeenSet(false) { } ExportTr34KeyBlock::ExportTr34KeyBlock(JsonView jsonValue) : m_certificateAuthorityPublicKeyIdentifierHasBeenSet(false), + m_wrappingKeyCertificateHasBeenSet(false), m_exportTokenHasBeenSet(false), m_keyBlockFormat(Tr34KeyBlockFormat::NOT_SET), m_keyBlockFormatHasBeenSet(false), m_randomNonceHasBeenSet(false), - m_wrappingKeyCertificateHasBeenSet(false) + m_keyBlockHeadersHasBeenSet(false) { *this = jsonValue; } @@ -48,6 +50,13 @@ ExportTr34KeyBlock& ExportTr34KeyBlock::operator =(JsonView jsonValue) m_certificateAuthorityPublicKeyIdentifierHasBeenSet = true; } + if(jsonValue.ValueExists("WrappingKeyCertificate")) + { + m_wrappingKeyCertificate = jsonValue.GetString("WrappingKeyCertificate"); + + m_wrappingKeyCertificateHasBeenSet = true; + } + if(jsonValue.ValueExists("ExportToken")) { m_exportToken = jsonValue.GetString("ExportToken"); @@ -69,11 +78,11 @@ ExportTr34KeyBlock& ExportTr34KeyBlock::operator =(JsonView jsonValue) m_randomNonceHasBeenSet = true; } - if(jsonValue.ValueExists("WrappingKeyCertificate")) + if(jsonValue.ValueExists("KeyBlockHeaders")) { - m_wrappingKeyCertificate = jsonValue.GetString("WrappingKeyCertificate"); + m_keyBlockHeaders = jsonValue.GetObject("KeyBlockHeaders"); - m_wrappingKeyCertificateHasBeenSet = true; + m_keyBlockHeadersHasBeenSet = true; } return *this; @@ -89,6 +98,12 @@ JsonValue ExportTr34KeyBlock::Jsonize() const } + if(m_wrappingKeyCertificateHasBeenSet) + { + payload.WithString("WrappingKeyCertificate", m_wrappingKeyCertificate); + + } + if(m_exportTokenHasBeenSet) { payload.WithString("ExportToken", m_exportToken); @@ -106,9 +121,9 @@ JsonValue ExportTr34KeyBlock::Jsonize() const } - if(m_wrappingKeyCertificateHasBeenSet) + if(m_keyBlockHeadersHasBeenSet) { - payload.WithString("WrappingKeyCertificate", m_wrappingKeyCertificate); + payload.WithObject("KeyBlockHeaders", m_keyBlockHeaders.Jsonize()); } diff --git a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/GetParametersForExportResult.cpp b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/GetParametersForExportResult.cpp index 63893bbd2f0..ed0ab4174eb 100644 --- a/generated/src/aws-cpp-sdk-payment-cryptography/source/model/GetParametersForExportResult.cpp +++ b/generated/src/aws-cpp-sdk-payment-cryptography/source/model/GetParametersForExportResult.cpp @@ -31,15 +31,15 @@ GetParametersForExportResult::GetParametersForExportResult(const Aws::AmazonWebS GetParametersForExportResult& GetParametersForExportResult::operator =(const Aws::AmazonWebServiceResultThe schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The timestamp of when Amazon Redshift Serverless should run the scheduled
- * action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
*/
inline const Aws::Utils::DateTime& GetAt() const{ return m_at; }
/**
* The timestamp of when Amazon Redshift Serverless should run the scheduled
- * action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
*/
inline bool AtHasBeenSet() const { return m_atHasBeenSet; }
/**
* The timestamp of when Amazon Redshift Serverless should run the scheduled
- * action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
*/
inline void SetAt(const Aws::Utils::DateTime& value) { m_atHasBeenSet = true; m_at = value; }
/**
* The timestamp of when Amazon Redshift Serverless should run the scheduled
- * action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
*/
inline void SetAt(Aws::Utils::DateTime&& value) { m_atHasBeenSet = true; m_at = std::move(value); }
/**
* The timestamp of when Amazon Redshift Serverless should run the scheduled
- * action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
*/
inline Schedule& WithAt(const Aws::Utils::DateTime& value) { SetAt(value); return *this;}
/**
* The timestamp of when Amazon Redshift Serverless should run the scheduled
- * action. Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
*/
inline Schedule& WithAt(Aws::Utils::DateTime&& value) { SetAt(std::move(value)); return *this;}
/**
* The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The cron expression to use to schedule a recurring scheduled action. Schedule - * invocations must be separated by at least one hour.
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
+ * invocations must be separated by at least one hour. Times are in UTC.
Format of cron expressions is (Minutes Hours Day-of-month Month
+ * Day-of-week Year)
. For example, "(0 10 ? * MON *)"
. For more
* information, see Cron
* Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
The schedule for a one-time (at format) or recurring (cron format) scheduled - * action. Schedule invocations must be separated by at least one hour.
- *Format of at expressions is "at(yyyy-mm-ddThh:mm:ss)
". For
- * example, "at(2016-03-04T17:27:00)
".
Format of cron
- * expressions is "cron(Minutes Hours Day-of-month Month Day-of-week
- * Year)
". For example, "cron(0 10 ? * MON *)
". For more
- * information, see The schedule for a one-time (at timestamp format) or recurring (cron format)
+ * scheduled action. Schedule invocations must be separated by at least one hour.
+ * Times are in UTC.
Format of at timestamp is
+ * yyyy-mm-ddThh:mm:ss
. For example,
+ * 2016-03-04T17:27:00
.
Format of cron expression is
+ * (Minutes Hours Day-of-month Month Day-of-week Year)
. For example,
+ * "(0 10 ? * MON *)"
. For more information, see Cron
- * Expressions in the Amazon CloudWatch Events User Guide.
With Amazon Route 53 Profiles you can share Route 53 configurations with + * VPCs and AWS accounts
+ */ + class AWS_ROUTE53PROFILES_API Route53ProfilesClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethodsAssociates a Route 53 Profiles profile with a VPC. A VPC can have only one + * Profile associated with it, but a Profile can be associated with up to 5000 + * VPCs.
Associates a DNS reource configuration to a Route 53 Profile.
Creates an empty Route 53 Profile.
Deletes the specified Route 53 Profile. Before you can delete a profile, you + * must first disassociate it from all VPCs.
Dissociates a specified Route 53 Profile from the specified VPC. + *
Dissoaciated a specified resource, from the Route 53 Profile.
Returns information about a specified Route 53 Profile, such as whether + * whether the Profile is shared, and the current status of the Profile. + *
Retrieves a Route 53 Profile association for a VPC. A VPC can have only one + * Profile association, but a Profile can be associated with up to 5000 VPCs. + *
Returns information about a specified Route 53 Profile resource association. + *
Lists all the VPCs that the specified Route 53 Profile is associated with. + *
Lists all the resource associations for the specified Route 53 Profile. + *
Lists all the Route 53 Profiles associated with your Amazon Web Services + * account.
Lists the tags that you associated with the specified resource. + *
Adds one or more tags to a specified resource.
Removes one or more tags from a specified resource.
Updates the specified Route 53 Profile resourse association.