diff --git a/VERSION b/VERSION index e8cf023c279..8aabde74500 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.397 \ No newline at end of file +1.11.398 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/FieldLogLevel.h b/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/FieldLogLevel.h index 99af5dcdb60..35a946699ba 100644 --- a/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/FieldLogLevel.h +++ b/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/FieldLogLevel.h @@ -18,7 +18,9 @@ namespace Model NOT_SET, NONE, ERROR_, - ALL + ALL, + INFO, + DEBUG_ }; namespace FieldLogLevelMapper diff --git a/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/LogConfig.h b/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/LogConfig.h index 38798f58205..58ac36ffa98 100644 --- a/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/LogConfig.h +++ b/generated/src/aws-cpp-sdk-appsync/include/aws/appsync/model/LogConfig.h @@ -40,16 +40,27 @@ namespace Model ///@{ /** - *
The field logging level. Values can be NONE, ERROR, or ALL.
- * NONE: No field-level logs are captured.
ERROR: - * Logs the following information only for the fields that are in error:
The error section in the server response.
Field-level - * errors.
The generated request/response functions that got - * resolved for error fields.
ALL: The - * following information is logged for all fields in the query:
Field-level tracing information.
The generated - * request/response functions that got resolved for each field.
The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL.
+ *NONE: No field-level logs are captured.
+ * ERROR: Logs the following information only for the fields that are + * in the error category:
The error section in the server + * response.
Field-level errors.
The generated + * request/response functions that got resolved for error fields.
INFO: Logs the following information only for the + * fields that are in the info and error categories:
Info-level + * messages.
The user messages sent through
+ * $util.log.info
and console.log
.
Field-level tracing and mapping logs are not shown.
DEBUG: Logs the following information only for the fields + * that are in the debug, info, and error categories:
Debug-level + * messages.
The user messages sent through
+ * $util.log.info
, $util.log.debug
,
+ * console.log
, and console.debug
.
Field-level tracing and mapping logs are not shown.
ALL: The following information is logged for all fields in the + * query:
Field-level tracing information.
The + * generated request/response functions that were resolved for each field.
+ *promptOverrideConfiguration
object. For more information, see Advanced
- * prompts. If you agent fails to be created, the response + * prompts.
If your agent fails to be created, the response
* returns a list of failureReasons
alongside a list of
- * recommendedActions
for you to troubleshoot.
The + * agent instructions will not be honored if your agent has only one knowledge + * base, uses default prompts, has no action group, and user input is disabled.
+ *anthropic.claude-3-sonnet-20240229-v1:0
Anthropic Claude 3 Haiku -
* anthropic.claude-3-haiku-20240307-v1:0
You can - * get the ARN of a model with the action. Standard model usage charges apply for - * the foundation model parsing strategy.
Contains a key-value pair that defines a metadata tag and value to attach to + * a prompt variant. For more information, see Create + * a prompt using Prompt management.
The key of a metadata tag for a prompt variant.
+ */ + inline const Aws::String& GetKey() const{ return m_key; } + inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } + inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } + inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } + inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } + inline PromptMetadataEntry& WithKey(const Aws::String& value) { SetKey(value); return *this;} + inline PromptMetadataEntry& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} + inline PromptMetadataEntry& WithKey(const char* value) { SetKey(value); return *this;} + ///@} + + ///@{ + /** + *The value of a metadata tag for a prompt variant.
+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline PromptMetadataEntry& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline PromptMetadataEntry& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline PromptMetadataEntry& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + private: + + Aws::String m_key; + bool m_keyHasBeenSet = false; + + Aws::String m_value; + bool m_valueHasBeenSet = false; + }; + +} // namespace Model +} // namespace BedrockAgent +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptVariant.h b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptVariant.h index e93a117e485..c8c989e69a4 100644 --- a/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptVariant.h +++ b/generated/src/aws-cpp-sdk-bedrock-agent/include/aws/bedrock-agent/model/PromptVariant.h @@ -6,9 +6,11 @@ #pragma once #includeAn array of objects, each containing a key-value pair that defines a metadata + * tag and value to attach to a prompt variant. For more information, see Create + * a prompt using Prompt management.
+ */ + inline const Aws::VectorThe unique identifier of the model with which to run inference on the
@@ -109,6 +128,9 @@ namespace Model
PromptInferenceConfiguration m_inferenceConfiguration;
bool m_inferenceConfigurationHasBeenSet = false;
+ Aws::Vector The memory and CPU capabilities of the scaling group host on which FinSpace
* Managed kdb clusters will be placed. You can add one of the following
- * values:
- *
- *
- *
+ * values:kx.sg.4xlarge
– The host type with a
- * configuration of 108 GiB memory and 16 vCPUs.kx.sg.8xlarge
– The host type with a configuration of 216 GiB
- * memory and 32 vCPUs.kx.sg.16xlarge
– The host
- * type with a configuration of 432 GiB memory and 64 vCPUs.kx.sg.32xlarge
– The host type with a configuration of 864 GiB
- * memory and 128 vCPUs.kx.sg1.16xlarge
– The host
- * type with a configuration of 1949 GiB memory and 64 vCPUs.kx.sg1.24xlarge
– The host type with a configuration of 2948 GiB
- * memory and 96 vCPUs.
kx.sg.large
– The host type with a
+ * configuration of 16 GiB memory and 2 vCPUs.
+ * kx.sg.xlarge
– The host type with a configuration of 32 GiB memory
+ * and 4 vCPUs.
kx.sg.2xlarge
– The host type with
+ * a configuration of 64 GiB memory and 8 vCPUs.
+ * kx.sg.4xlarge
– The host type with a configuration of 108 GiB
+ * memory and 16 vCPUs.
kx.sg.8xlarge
– The host
+ * type with a configuration of 216 GiB memory and 32 vCPUs.
+ * kx.sg.16xlarge
– The host type with a configuration of 432 GiB
+ * memory and 64 vCPUs.
kx.sg.32xlarge
– The host
+ * type with a configuration of 864 GiB memory and 128 vCPUs.
+ * kx.sg1.16xlarge
– The host type with a configuration of 1949 GiB
+ * memory and 64 vCPUs.
kx.sg1.24xlarge
– The host
+ * type with a configuration of 2948 GiB memory and 96 vCPUs.
The memory and CPU capabilities of the scaling group host on which FinSpace * Managed kdb clusters will be placed.
It can have one of the following - * values:
kx.sg.4xlarge
– The host type with a
- * configuration of 108 GiB memory and 16 vCPUs.
- * kx.sg.8xlarge
– The host type with a configuration of 216 GiB
- * memory and 32 vCPUs.
kx.sg.16xlarge
– The host
- * type with a configuration of 432 GiB memory and 64 vCPUs.
- * kx.sg.32xlarge
– The host type with a configuration of 864 GiB
- * memory and 128 vCPUs.
kx.sg1.16xlarge
– The host
- * type with a configuration of 1949 GiB memory and 64 vCPUs.
- * kx.sg1.24xlarge
– The host type with a configuration of 2948 GiB
- * memory and 96 vCPUs.
kx.sg.large
– The host type with a
+ * configuration of 16 GiB memory and 2 vCPUs.
+ * kx.sg.xlarge
– The host type with a configuration of 32 GiB memory
+ * and 4 vCPUs.
kx.sg.2xlarge
– The host type with
+ * a configuration of 64 GiB memory and 8 vCPUs.
+ * kx.sg.4xlarge
– The host type with a configuration of 108 GiB
+ * memory and 16 vCPUs.
kx.sg.8xlarge
– The host
+ * type with a configuration of 216 GiB memory and 32 vCPUs.
+ * kx.sg.16xlarge
– The host type with a configuration of 432 GiB
+ * memory and 64 vCPUs.
kx.sg.32xlarge
– The host
+ * type with a configuration of 864 GiB memory and 128 vCPUs.
+ * kx.sg1.16xlarge
– The host type with a configuration of 1949 GiB
+ * memory and 64 vCPUs.
kx.sg1.24xlarge
– The host
+ * type with a configuration of 2948 GiB memory and 96 vCPUs.
The memory and CPU capabilities of the scaling group host on which FinSpace * Managed kdb clusters will be placed.
You can add one of the following - * values:
kx.sg.4xlarge
– The host type with a
- * configuration of 108 GiB memory and 16 vCPUs.
- * kx.sg.8xlarge
– The host type with a configuration of 216 GiB
- * memory and 32 vCPUs.
kx.sg.16xlarge
– The host
- * type with a configuration of 432 GiB memory and 64 vCPUs.
- * kx.sg.32xlarge
– The host type with a configuration of 864 GiB
- * memory and 128 vCPUs.
kx.sg1.16xlarge
– The host
- * type with a configuration of 1949 GiB memory and 64 vCPUs.
- * kx.sg1.24xlarge
– The host type with a configuration of 2948 GiB
- * memory and 96 vCPUs.
kx.sg.large
– The host type with a
+ * configuration of 16 GiB memory and 2 vCPUs.
+ * kx.sg.xlarge
– The host type with a configuration of 32 GiB memory
+ * and 4 vCPUs.
kx.sg.2xlarge
– The host type with
+ * a configuration of 64 GiB memory and 8 vCPUs.
+ * kx.sg.4xlarge
– The host type with a configuration of 108 GiB
+ * memory and 16 vCPUs.
kx.sg.8xlarge
– The host
+ * type with a configuration of 216 GiB memory and 32 vCPUs.
+ * kx.sg.16xlarge
– The host type with a configuration of 432 GiB
+ * memory and 64 vCPUs.
kx.sg.32xlarge
– The host
+ * type with a configuration of 864 GiB memory and 128 vCPUs.
+ * kx.sg1.16xlarge
– The host type with a configuration of 1949 GiB
+ * memory and 64 vCPUs.
kx.sg1.24xlarge
– The host
+ * type with a configuration of 2948 GiB memory and 96 vCPUs.
Gets information about the specified safety lever.
Gets information about the specified target account configuration of the * experiment template.
Updates the target account configuration for the specified experiment * template.
The ID of the safety lever.
+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline GetSafetyLeverRequest& WithId(const Aws::String& value) { SetId(value); return *this;} + inline GetSafetyLeverRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline GetSafetyLeverRequest& WithId(const char* value) { SetId(value); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/GetSafetyLeverResult.h b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/GetSafetyLeverResult.h new file mode 100644 index 00000000000..4e33e266fdd --- /dev/null +++ b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/GetSafetyLeverResult.h @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeInformation about the safety lever.
+ */ + inline const SafetyLever& GetSafetyLever() const{ return m_safetyLever; } + inline void SetSafetyLever(const SafetyLever& value) { m_safetyLever = value; } + inline void SetSafetyLever(SafetyLever&& value) { m_safetyLever = std::move(value); } + inline GetSafetyLeverResult& WithSafetyLever(const SafetyLever& value) { SetSafetyLever(value); return *this;} + inline GetSafetyLeverResult& WithSafetyLever(SafetyLever&& value) { SetSafetyLever(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetSafetyLeverResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetSafetyLeverResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetSafetyLeverResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + SafetyLever m_safetyLever; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLever.h b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLever.h new file mode 100644 index 00000000000..d8c09403aab --- /dev/null +++ b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLever.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeDescribes a safety lever.
The ID of the safety lever.
+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline SafetyLever& WithId(const Aws::String& value) { SetId(value); return *this;} + inline SafetyLever& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline SafetyLever& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *The Amazon Resource Name (ARN) of the safety lever.
+ */ + inline const Aws::String& GetArn() const{ return m_arn; } + inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } + inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } + inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } + inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } + inline SafetyLever& WithArn(const Aws::String& value) { SetArn(value); return *this;} + inline SafetyLever& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} + inline SafetyLever& WithArn(const char* value) { SetArn(value); return *this;} + ///@} + + ///@{ + /** + *The state of the safety lever.
+ */ + inline const SafetyLeverState& GetState() const{ return m_state; } + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + inline void SetState(const SafetyLeverState& value) { m_stateHasBeenSet = true; m_state = value; } + inline void SetState(SafetyLeverState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + inline SafetyLever& WithState(const SafetyLeverState& value) { SetState(value); return *this;} + inline SafetyLever& WithState(SafetyLeverState&& value) { SetState(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + + Aws::String m_arn; + bool m_arnHasBeenSet = false; + + SafetyLeverState m_state; + bool m_stateHasBeenSet = false; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLeverState.h b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLeverState.h new file mode 100644 index 00000000000..694b0710b31 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLeverState.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeDescribes the state of the safety lever.
The state of the safety lever.
+ */ + inline const SafetyLeverStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const SafetyLeverStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(SafetyLeverStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline SafetyLeverState& WithStatus(const SafetyLeverStatus& value) { SetStatus(value); return *this;} + inline SafetyLeverState& WithStatus(SafetyLeverStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The reason for the state of the safety lever.
+ */ + inline const Aws::String& GetReason() const{ return m_reason; } + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } + inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } + inline SafetyLeverState& WithReason(const Aws::String& value) { SetReason(value); return *this;} + inline SafetyLeverState& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} + inline SafetyLeverState& WithReason(const char* value) { SetReason(value); return *this;} + ///@} + private: + + SafetyLeverStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_reason; + bool m_reasonHasBeenSet = false; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLeverStatus.h b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLeverStatus.h new file mode 100644 index 00000000000..a1816bfd365 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/SafetyLeverStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeSpecifies a state for a safety lever.
The updated state of the safety lever.
+ */ + inline const SafetyLeverStatusInput& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const SafetyLeverStatusInput& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(SafetyLeverStatusInput&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline UpdateSafetyLeverStateInput& WithStatus(const SafetyLeverStatusInput& value) { SetStatus(value); return *this;} + inline UpdateSafetyLeverStateInput& WithStatus(SafetyLeverStatusInput&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The reason for updating the state of the safety lever.
+ */ + inline const Aws::String& GetReason() const{ return m_reason; } + inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; } + inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; } + inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); } + inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); } + inline UpdateSafetyLeverStateInput& WithReason(const Aws::String& value) { SetReason(value); return *this;} + inline UpdateSafetyLeverStateInput& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;} + inline UpdateSafetyLeverStateInput& WithReason(const char* value) { SetReason(value); return *this;} + ///@} + private: + + SafetyLeverStatusInput m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_reason; + bool m_reasonHasBeenSet = false; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/UpdateSafetyLeverStateRequest.h b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/UpdateSafetyLeverStateRequest.h new file mode 100644 index 00000000000..65f60471711 --- /dev/null +++ b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/UpdateSafetyLeverStateRequest.h @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeThe ID of the safety lever.
+ */ + inline const Aws::String& GetId() const{ return m_id; } + inline bool IdHasBeenSet() const { return m_idHasBeenSet; } + inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } + inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } + inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } + inline UpdateSafetyLeverStateRequest& WithId(const Aws::String& value) { SetId(value); return *this;} + inline UpdateSafetyLeverStateRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} + inline UpdateSafetyLeverStateRequest& WithId(const char* value) { SetId(value); return *this;} + ///@} + + ///@{ + /** + *The state of the safety lever.
+ */ + inline const UpdateSafetyLeverStateInput& GetState() const{ return m_state; } + inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } + inline void SetState(const UpdateSafetyLeverStateInput& value) { m_stateHasBeenSet = true; m_state = value; } + inline void SetState(UpdateSafetyLeverStateInput&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } + inline UpdateSafetyLeverStateRequest& WithState(const UpdateSafetyLeverStateInput& value) { SetState(value); return *this;} + inline UpdateSafetyLeverStateRequest& WithState(UpdateSafetyLeverStateInput&& value) { SetState(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_id; + bool m_idHasBeenSet = false; + + UpdateSafetyLeverStateInput m_state; + bool m_stateHasBeenSet = false; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/UpdateSafetyLeverStateResult.h b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/UpdateSafetyLeverStateResult.h new file mode 100644 index 00000000000..2675f3aaffc --- /dev/null +++ b/generated/src/aws-cpp-sdk-fis/include/aws/fis/model/UpdateSafetyLeverStateResult.h @@ -0,0 +1,66 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#includeInformation about the safety lever.
+ */ + inline const SafetyLever& GetSafetyLever() const{ return m_safetyLever; } + inline void SetSafetyLever(const SafetyLever& value) { m_safetyLever = value; } + inline void SetSafetyLever(SafetyLever&& value) { m_safetyLever = std::move(value); } + inline UpdateSafetyLeverStateResult& WithSafetyLever(const SafetyLever& value) { SetSafetyLever(value); return *this;} + inline UpdateSafetyLeverStateResult& WithSafetyLever(SafetyLever&& value) { SetSafetyLever(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateSafetyLeverStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateSafetyLeverStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateSafetyLeverStateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + SafetyLever m_safetyLever; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace FIS +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-fis/source/FISClient.cpp b/generated/src/aws-cpp-sdk-fis/source/FISClient.cpp index 0db5f1e4f46..62affacaa50 100644 --- a/generated/src/aws-cpp-sdk-fis/source/FISClient.cpp +++ b/generated/src/aws-cpp-sdk-fis/source/FISClient.cpp @@ -29,6 +29,7 @@ #includeUse this operation to return the valid and default values that are used when + * creating delivery sources, delivery destinations, and deliveries. For more + * information about deliveries, see CreateDelivery.
Retrieves a list of the deliveries that have been created in the account.
*A delivery is a connection between a Use this operation to update the configuration of a delivery + * to change either the S3 path pattern or the format of the delivered logs. You + * can't use this operation to change the source or destination of the + * delivery.
Updates an existing log anomaly detector.
A structure containing information about the deafult settings and available + * settings that you can use to configure a delivery + * or a delivery + * destination.
A string specifying which service this configuration template applies to. For + * more information about supported services see Enable + * logging from Amazon Web Services services..
+ */ + inline const Aws::String& GetService() const{ return m_service; } + inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; } + inline void SetService(const Aws::String& value) { m_serviceHasBeenSet = true; m_service = value; } + inline void SetService(Aws::String&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); } + inline void SetService(const char* value) { m_serviceHasBeenSet = true; m_service.assign(value); } + inline ConfigurationTemplate& WithService(const Aws::String& value) { SetService(value); return *this;} + inline ConfigurationTemplate& WithService(Aws::String&& value) { SetService(std::move(value)); return *this;} + inline ConfigurationTemplate& WithService(const char* value) { SetService(value); return *this;} + ///@} + + ///@{ + /** + *A string specifying which log type this configuration template applies + * to.
+ */ + inline const Aws::String& GetLogType() const{ return m_logType; } + inline bool LogTypeHasBeenSet() const { return m_logTypeHasBeenSet; } + inline void SetLogType(const Aws::String& value) { m_logTypeHasBeenSet = true; m_logType = value; } + inline void SetLogType(Aws::String&& value) { m_logTypeHasBeenSet = true; m_logType = std::move(value); } + inline void SetLogType(const char* value) { m_logTypeHasBeenSet = true; m_logType.assign(value); } + inline ConfigurationTemplate& WithLogType(const Aws::String& value) { SetLogType(value); return *this;} + inline ConfigurationTemplate& WithLogType(Aws::String&& value) { SetLogType(std::move(value)); return *this;} + inline ConfigurationTemplate& WithLogType(const char* value) { SetLogType(value); return *this;} + ///@} + + ///@{ + /** + *A string specifying which resource type this configuration template applies + * to.
+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + inline ConfigurationTemplate& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + inline ConfigurationTemplate& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + inline ConfigurationTemplate& WithResourceType(const char* value) { SetResourceType(value); return *this;} + ///@} + + ///@{ + /** + *A string specifying which destination type this configuration template + * applies to.
+ */ + inline const DeliveryDestinationType& GetDeliveryDestinationType() const{ return m_deliveryDestinationType; } + inline bool DeliveryDestinationTypeHasBeenSet() const { return m_deliveryDestinationTypeHasBeenSet; } + inline void SetDeliveryDestinationType(const DeliveryDestinationType& value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = value; } + inline void SetDeliveryDestinationType(DeliveryDestinationType&& value) { m_deliveryDestinationTypeHasBeenSet = true; m_deliveryDestinationType = std::move(value); } + inline ConfigurationTemplate& WithDeliveryDestinationType(const DeliveryDestinationType& value) { SetDeliveryDestinationType(value); return *this;} + inline ConfigurationTemplate& WithDeliveryDestinationType(DeliveryDestinationType&& value) { SetDeliveryDestinationType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *A mapping that displays the default value of each property within a + * delivery’s configuration, if it is not specified in the request.
+ */ + inline const ConfigurationTemplateDeliveryConfigValues& GetDefaultDeliveryConfigValues() const{ return m_defaultDeliveryConfigValues; } + inline bool DefaultDeliveryConfigValuesHasBeenSet() const { return m_defaultDeliveryConfigValuesHasBeenSet; } + inline void SetDefaultDeliveryConfigValues(const ConfigurationTemplateDeliveryConfigValues& value) { m_defaultDeliveryConfigValuesHasBeenSet = true; m_defaultDeliveryConfigValues = value; } + inline void SetDefaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues&& value) { m_defaultDeliveryConfigValuesHasBeenSet = true; m_defaultDeliveryConfigValues = std::move(value); } + inline ConfigurationTemplate& WithDefaultDeliveryConfigValues(const ConfigurationTemplateDeliveryConfigValues& value) { SetDefaultDeliveryConfigValues(value); return *this;} + inline ConfigurationTemplate& WithDefaultDeliveryConfigValues(ConfigurationTemplateDeliveryConfigValues&& value) { SetDefaultDeliveryConfigValues(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *The allowed fields that a caller can use in the recordFields
+ * parameter of a CreateDelivery
+ * or UpdateDeliveryConfiguration
+ * operation.
The list of delivery destination output formats that are supported by this + * log source.
+ */ + inline const Aws::Vector