AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGuardrailVersionRequest.h
1
6#pragma once
7#include <aws/bedrock/Bedrock_EXPORTS.h>
8#include <aws/bedrock/BedrockRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Bedrock
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateGuardrailVersion"; }
32
33 AWS_BEDROCK_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetGuardrailIdentifier() const{ return m_guardrailIdentifier; }
41 inline bool GuardrailIdentifierHasBeenSet() const { return m_guardrailIdentifierHasBeenSet; }
42 inline void SetGuardrailIdentifier(const Aws::String& value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier = value; }
43 inline void SetGuardrailIdentifier(Aws::String&& value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier = std::move(value); }
44 inline void SetGuardrailIdentifier(const char* value) { m_guardrailIdentifierHasBeenSet = true; m_guardrailIdentifier.assign(value); }
47 inline CreateGuardrailVersionRequest& WithGuardrailIdentifier(const char* value) { SetGuardrailIdentifier(value); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
57 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
58 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
59 inline CreateGuardrailVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
60 inline CreateGuardrailVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
61 inline CreateGuardrailVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
63
65
72 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
73 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
74 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
75 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
76 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
79 inline CreateGuardrailVersionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
81 private:
82
83 Aws::String m_guardrailIdentifier;
84 bool m_guardrailIdentifierHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88
89 Aws::String m_clientRequestToken;
90 bool m_clientRequestTokenHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Bedrock
95} // namespace Aws
CreateGuardrailVersionRequest & WithClientRequestToken(const Aws::String &value)
CreateGuardrailVersionRequest & WithGuardrailIdentifier(Aws::String &&value)
CreateGuardrailVersionRequest & WithDescription(const char *value)
CreateGuardrailVersionRequest & WithDescription(Aws::String &&value)
CreateGuardrailVersionRequest & WithClientRequestToken(Aws::String &&value)
CreateGuardrailVersionRequest & WithGuardrailIdentifier(const char *value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
CreateGuardrailVersionRequest & WithGuardrailIdentifier(const Aws::String &value)
CreateGuardrailVersionRequest & WithClientRequestToken(const char *value)
CreateGuardrailVersionRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String