AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
GetTrustedAccessProgramRequest.h
1
6#pragma once
7#include <aws/bedrock/BedrockRequest.h>
8#include <aws/bedrock/Bedrock_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Bedrock {
18namespace Model {
19
27 public:
28 AWS_BEDROCK_API GetTrustedAccessProgramRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetTrustedAccessProgram"; }
35
36 AWS_BEDROCK_API Aws::String SerializePayload() const override;
37
38 AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetProgramIdentifier() const { return m_programIdentifier; }
45 inline bool ProgramIdentifierHasBeenSet() const { return m_programIdentifierHasBeenSet; }
46 template <typename ProgramIdentifierT = Aws::String>
47 void SetProgramIdentifier(ProgramIdentifierT&& value) {
48 m_programIdentifierHasBeenSet = true;
49 m_programIdentifier = std::forward<ProgramIdentifierT>(value);
50 }
51 template <typename ProgramIdentifierT = Aws::String>
53 SetProgramIdentifier(std::forward<ProgramIdentifierT>(value));
54 return *this;
55 }
57
59
69 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
70 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
71 template <typename ProjectIdentifierT = Aws::String>
72 void SetProjectIdentifier(ProjectIdentifierT&& value) {
73 m_projectIdentifierHasBeenSet = true;
74 m_projectIdentifier = std::forward<ProjectIdentifierT>(value);
75 }
76 template <typename ProjectIdentifierT = Aws::String>
78 SetProjectIdentifier(std::forward<ProjectIdentifierT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_programIdentifier;
84
85 Aws::String m_projectIdentifier;
86 bool m_programIdentifierHasBeenSet = false;
87 bool m_projectIdentifierHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Bedrock
92} // namespace Aws
AWS_BEDROCK_API GetTrustedAccessProgramRequest()=default
GetTrustedAccessProgramRequest & WithProgramIdentifier(ProgramIdentifierT &&value)
AWS_BEDROCK_API Aws::String SerializePayload() const override
GetTrustedAccessProgramRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
AWS_BEDROCK_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String